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

Reference documentation and code samples for the Cloud SQL Admin V1 API class Google::Cloud::Sql::V1::SqlConnectService::Rest::ServiceStub.

REST service stub for the SqlConnectService service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.

Inherits

  • Object

Methods

#endpoint

def endpoint() -> String

The effective endpoint

Returns
  • (String)

#generate_ephemeral_cert

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

Baseline implementation for the generate_ephemeral_cert REST call

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

#get_connect_settings

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

Baseline implementation for the get_connect_settings 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)

#universe_domain

def universe_domain() -> String

The effective universe domain

Returns
  • (String)