Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class DeleteBlueGreenDeploymentRequest.
Request message for deleting a BlueGreenDeployment.
Generated from protobuf message google.cloud.sql.v1.DeleteBlueGreenDeploymentRequest
Namespace
Google \ Cloud \ Sql \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. The name of the blue-green deployment to delete. Format: projects/{project}/locations/{location}/blueGreenDeployments/{blue_green_deployment} |
↳ delete_old_source |
bool
Optional. If set to true, and the switchover is complete, this deletes the old source instance along with the deployment. |
getName
Required. The name of the blue-green deployment to delete.
Format: projects/{project}/locations/{location}/blueGreenDeployments/{blue_green_deployment}
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Required. The name of the blue-green deployment to delete.
Format: projects/{project}/locations/{location}/blueGreenDeployments/{blue_green_deployment}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDeleteOldSource
Optional. If set to true, and the switchover is complete, this deletes the old source instance along with the deployment.
| Returns | |
|---|---|
| Type | Description |
bool |
|
setDeleteOldSource
Optional. If set to true, and the switchover is complete, this deletes the old source instance along with the deployment.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameter | |
|---|---|
| Name | Description |
name |
string
Required. The name of the blue-green deployment to delete. Format: projects/{project}/locations/{location}/blueGreenDeployments/{blue_green_deployment} Please see BlueGreenDeploymentsServiceClient::blueGreenDeploymentName() for help formatting this field. |
| Returns | |
|---|---|
| Type | Description |
DeleteBlueGreenDeploymentRequest |
|