Cloud SQL Admin V1 API - Class Google::Cloud::Sql::V1::BlueGreenDeploymentsService::Rest::ServiceStub (v0.5.0)

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::Operation

Baseline implementation for the create_blue_green_deployment REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#delete_blue_green_deployment

def delete_blue_green_deployment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Sql::V1::Operation

Baseline implementation for the delete_blue_green_deployment REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#endpoint

def endpoint() -> String

The effective endpoint

Returns
  • (String)

#get_blue_green_deployment

def get_blue_green_deployment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Sql::V1::BlueGreenDeployment

Baseline implementation for the get_blue_green_deployment REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#list_blue_green_deployments

def list_blue_green_deployments(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Sql::V1::ListBlueGreenDeploymentsResponse

Baseline implementation for the list_blue_green_deployments REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#logger

def logger(stub: false) -> Logger

The logger used for request/response debug logging.

Returns
  • (Logger)

#switchover_blue_green_deployment

def switchover_blue_green_deployment(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Sql::V1::Operation

Baseline implementation for the switchover_blue_green_deployment REST call

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#universe_domain

def universe_domain() -> String

The effective universe domain

Returns
  • (String)