Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class Type.
The type of the task.
This enum type Type is prone to change, and new values may be added
in the future.
Protobuf type google.cloud.sql.v1.BlueGreenDeployment.SourceTargetPairedNode.DeploymentTask.Type
Namespace
Google \ Cloud \ Sql \ V1 \ BlueGreenDeployment \ SourceTargetPairedNode \ DeploymentTaskMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
TYPE_UNSPECIFIED
Value: 0The default value. This value is used if the type is omitted.
Generated from protobuf enum TYPE_UNSPECIFIED = 0;
PROVISION
Value: 1Provisions the green environment, which includes creating the target instance.
Generated from protobuf enum PROVISION = 1;
UPGRADE
Value: 2Upgrades the green environment, for example, performing a major version upgrade on the target instance.
Generated from protobuf enum UPGRADE = 2;
SWITCHOVER
Value: 3Promotes the target instance and then demotes the source instance for this pair.
Generated from protobuf enum SWITCHOVER = 3;
DELETE
Value: 4Deletes the blue-green deployment, including underlying resources.
Generated from protobuf enum DELETE = 4;
POST_SWITCHOVER_OPERATIONS
Value: 5Post-switchover operations, including cleaning up resources of the old instance, taking final backups, and updating metadata.
Generated from protobuf enum POST_SWITCHOVER_OPERATIONS = 5;