Reference documentation and code samples for the Compute V1 Client class State.
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.
Protobuf type google.cloud.compute.v1.DeprecationStatus.State
Namespace
Google \ Cloud \ Compute \ V1 \ DeprecationStatusMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
UNDEFINED_STATE
Value: 0
A value indicating that the enum field is not set.
Generated from protobuf enum UNDEFINED_STATE = 0;
ACTIVE
Value: 314733318
Generated from protobuf enum ACTIVE = 314733318;
DELETED
Value: 120962041
Generated from protobuf enum DELETED = 120962041;
DEPRECATED
Value: 463360435
Generated from protobuf enum DEPRECATED = 463360435;
OBSOLETE
Value: 66532761
Generated from protobuf enum OBSOLETE = 66532761;