Google Cloud Sql Admin V1 Client - Class SwitchoverBlueGreenDeploymentRequest (1.13.0)

Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class SwitchoverBlueGreenDeploymentRequest.

Request message for switching over a BlueGreenDeployment resource.

Generated from protobuf message google.cloud.sql.v1.SwitchoverBlueGreenDeploymentRequest

Namespace

Google \ Cloud \ Sql \ V1

Methods

__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 switch over. Format: projects/{project}/locations/{location}/blueGreenDeployments/{blue_green_deployment}

getName

Required. The name of the blue-green deployment to switch over.

Format: projects/{project}/locations/{location}/blueGreenDeployments/{blue_green_deployment}

Returns
Type Description
string

setName

Required. The name of the blue-green deployment to switch over.

Format: projects/{project}/locations/{location}/blueGreenDeployments/{blue_green_deployment}

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The name of the blue-green deployment to switch over. Format: projects/{project}/locations/{location}/blueGreenDeployments/{blue_green_deployment} Please see BlueGreenDeploymentsServiceClient::blueGreenDeploymentName() for help formatting this field.

Returns
Type Description
SwitchoverBlueGreenDeploymentRequest