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

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

The request message for creating a BlueGreenDeployment resource.

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

Namespace

Google \ Cloud \ Sql \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent resource where this blue-green deployment will be created. Format: projects/{project}/locations/{location}

↳ blue_green_deployment_id string

Required. The ID to use for the blue-green deployment, which will become the final component of the deployment's resource name. The ID must be unique within the given project and location and between 2-63 characters.

↳ blue_green_deployment BlueGreenDeployment

Required. The BlueGreenDeployment resource to create.

getParent

Required. The parent resource where this blue-green deployment will be created. Format: projects/{project}/locations/{location}

Returns
Type Description
string

setParent

Required. The parent resource where this blue-green deployment will be created. Format: projects/{project}/locations/{location}

Parameter
Name Description
var string
Returns
Type Description
$this

getBlueGreenDeploymentId

Required. The ID to use for the blue-green deployment, which will become the final component of the deployment's resource name. The ID must be unique within the given project and location and between 2-63 characters.

Returns
Type Description
string

setBlueGreenDeploymentId

Required. The ID to use for the blue-green deployment, which will become the final component of the deployment's resource name. The ID must be unique within the given project and location and between 2-63 characters.

Parameter
Name Description
var string
Returns
Type Description
$this

getBlueGreenDeployment

Required. The BlueGreenDeployment resource to create.

Returns
Type Description
BlueGreenDeployment|null

hasBlueGreenDeployment

clearBlueGreenDeployment

setBlueGreenDeployment

Required. The BlueGreenDeployment resource to create.

Parameter
Name Description
var BlueGreenDeployment
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The parent resource where this blue-green deployment will be created. Format: projects/{project}/locations/{location} Please see BlueGreenDeploymentsServiceClient::locationName() for help formatting this field.

blueGreenDeployment BlueGreenDeployment

Required. The BlueGreenDeployment resource to create.

blueGreenDeploymentId string

Required. The ID to use for the blue-green deployment, which will become the final component of the deployment's resource name. The ID must be unique within the given project and location and between 2-63 characters.

Returns
Type Description
CreateBlueGreenDeploymentRequest