Class DeprecationStatus (1.1.0)

public sealed class DeprecationStatus : IMessage<DeprecationStatus>, IEquatable<DeprecationStatus>, IDeepCloneable<DeprecationStatus>, IBufferMessage, IMessage

Deprecation status for a public resource.

Inheritance

Object > DeprecationStatus

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

DeprecationStatus()

public DeprecationStatus()

DeprecationStatus(DeprecationStatus)

public DeprecationStatus(DeprecationStatus other)
Parameter
NameDescription
otherDeprecationStatus

Properties

Deleted

public string Deleted { get; set; }

An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DELETED. This is only informational and the status will not change unless the client explicitly changes it.

Property Value
TypeDescription
String

Deprecated

public string Deprecated { get; set; }

An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DEPRECATED. This is only informational and the status will not change unless the client explicitly changes it.

Property Value
TypeDescription
String

HasDeleted

public bool HasDeleted { get; }

Gets whether the "deleted" field is set

Property Value
TypeDescription
Boolean

HasDeprecated

public bool HasDeprecated { get; }

Gets whether the "deprecated" field is set

Property Value
TypeDescription
Boolean

HasObsolete

public bool HasObsolete { get; }

Gets whether the "obsolete" field is set

Property Value
TypeDescription
Boolean

HasReplacement

public bool HasReplacement { get; }

Gets whether the "replacement" field is set

Property Value
TypeDescription
Boolean

HasState

public bool HasState { get; }

Gets whether the "state" field is set

Property Value
TypeDescription
Boolean

Obsolete

public string Obsolete { get; set; }

An optional RFC3339 timestamp on or after which the state of this resource is intended to change to OBSOLETE. This is only informational and the status will not change unless the client explicitly changes it.

Property Value
TypeDescription
String

Replacement

public string Replacement { get; set; }

The URL of the suggested replacement for a deprecated resource. The suggested replacement resource must be the same kind of resource as the deprecated resource.

Property Value
TypeDescription
String

State

public string State { get; set; }

The deprecation state of this resource. This can be ACTIVE, DEPRECATED, OBSOLETE, or DELETED. Operations which communicate the end of life date for an image, can use ACTIVE. Operations which create a new resource using a DEPRECATED resource will return successfully, but with a warning indicating the deprecated resource and recommending its replacement. Operations which use OBSOLETE or DELETED resources will be rejected and result in an error. Check the State enum for the list of possible values.

Property Value
TypeDescription
String