Reference documentation and code samples for the Cloud SQL Admin V1 API class Google::Cloud::Sql::V1::BlueGreenDeploymentsService::Rest::ServiceStub.
REST service stub for the BlueGreenDeploymentsService service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#create_blue_green_deployment
def create_blue_green_deployment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Sql::V1::OperationBaseline implementation for the create_blue_green_deployment REST call
- request_pb (::Google::Cloud::Sql::V1::CreateBlueGreenDeploymentRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Sql::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Sql::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_blue_green_deployment
def delete_blue_green_deployment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Sql::V1::OperationBaseline implementation for the delete_blue_green_deployment REST call
- request_pb (::Google::Cloud::Sql::V1::DeleteBlueGreenDeploymentRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Sql::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Sql::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#endpoint
def endpoint() -> StringThe effective endpoint
- (String)
#get_blue_green_deployment
def get_blue_green_deployment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Sql::V1::BlueGreenDeploymentBaseline implementation for the get_blue_green_deployment REST call
- request_pb (::Google::Cloud::Sql::V1::GetBlueGreenDeploymentRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Sql::V1::BlueGreenDeployment)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Sql::V1::BlueGreenDeployment) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_blue_green_deployments
def list_blue_green_deployments(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Sql::V1::ListBlueGreenDeploymentsResponseBaseline implementation for the list_blue_green_deployments REST call
- request_pb (::Google::Cloud::Sql::V1::ListBlueGreenDeploymentsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Sql::V1::ListBlueGreenDeploymentsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Sql::V1::ListBlueGreenDeploymentsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#logger
def logger(stub: false) -> LoggerThe logger used for request/response debug logging.
- (Logger)
#switchover_blue_green_deployment
def switchover_blue_green_deployment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Sql::V1::OperationBaseline implementation for the switchover_blue_green_deployment REST call
- request_pb (::Google::Cloud::Sql::V1::SwitchoverBlueGreenDeploymentRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::Sql::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Sql::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> StringThe effective universe domain
- (String)