Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class TargetRole.
The target instance for the Blue-Green deployment.
Generated from protobuf message google.cloud.sql.v1.BlueGreenDeploymentInfo.TargetRole
Namespace
Google \ Cloud \ Sql \ V1 \ BlueGreenDeploymentInfoMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ source_id |
Google\Cloud\Sql\V1\InstanceReference
Output only. The source instance paired with this target instance in a blue-green deployment. |
getSourceId
Output only. The source instance paired with this target instance in a blue-green deployment.
| Returns | |
|---|---|
| Type | Description |
Google\Cloud\Sql\V1\InstanceReference|null |
|
hasSourceId
clearSourceId
setSourceId
Output only. The source instance paired with this target instance in a blue-green deployment.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Cloud\Sql\V1\InstanceReference
|
| Returns | |
|---|---|
| Type | Description |
$this |
|