Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class GetBlueGreenDeploymentRequest.
The request message for getting a BlueGreenDeployment.
Generated from protobuf message google.cloud.sql.v1.GetBlueGreenDeploymentRequest
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 retrieve. Format: projects/{project}/locations/{location}/blueGreenDeployments/{blue_green_deployment} |
↳ view |
int
Optional. Specifies whether to return the basic or detailed view of the resource in the response. |
getName
Required. The name of the blue-green deployment to retrieve.
Format: projects/{project}/locations/{location}/blueGreenDeployments/{blue_green_deployment}
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Required. The name of the blue-green deployment to retrieve.
Format: projects/{project}/locations/{location}/blueGreenDeployments/{blue_green_deployment}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getView
Optional. Specifies whether to return the basic or detailed view of the resource in the response.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type BlueGreenDeploymentView. |
setView
Optional. Specifies whether to return the basic or detailed view of the resource in the response.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type BlueGreenDeploymentView. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameter | |
|---|---|
| Name | Description |
name |
string
Required. The name of the blue-green deployment to retrieve. Format: projects/{project}/locations/{location}/blueGreenDeployments/{blue_green_deployment} Please see BlueGreenDeploymentsServiceClient::blueGreenDeploymentName() for help formatting this field. |
| Returns | |
|---|---|
| Type | Description |
GetBlueGreenDeploymentRequest |
|