Reference documentation and code samples for the Cloud SQL Admin V1 API class Google::Cloud::Sql::V1::BlueGreenDeploymentInfo.
Blue-green deployment metadata for a database instance. In a blue-green deployment, we maintain two environments, one of which is live. This message contains details about the blue-green deployment.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#deployment_id
def deployment_id() -> ::String- (::String) — Output only. The resource ID of the blue-green deployment.
#source
def source() -> ::Google::Cloud::Sql::V1::BlueGreenDeploymentInfo::SourceRole-
(::Google::Cloud::Sql::V1::BlueGreenDeploymentInfo::SourceRole) — Output only. The source instance for the Blue-Green deployment.
Note: The following fields are mutually exclusive:
source,target. If a field in that set is populated, all other fields in the set will automatically be cleared.
#state
def state() -> ::Google::Cloud::Sql::V1::BlueGreenDeploymentInfo::State- (::Google::Cloud::Sql::V1::BlueGreenDeploymentInfo::State) — Output only. The current state of blue-green-deployment for UI tags
#target
def target() -> ::Google::Cloud::Sql::V1::BlueGreenDeploymentInfo::TargetRole-
(::Google::Cloud::Sql::V1::BlueGreenDeploymentInfo::TargetRole) — Output only. The target instance for the Blue-Green deployment.
Note: The following fields are mutually exclusive:
target,source. If a field in that set is populated, all other fields in the set will automatically be cleared.