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() -> StringThe effective endpoint
- (String)
#generate_ephemeral_cert
def generate_ephemeral_cert(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Sql::V1::GenerateEphemeralCertResponseBaseline implementation for the generate_ephemeral_cert REST call
- request_pb (::Google::Cloud::Sql::V1::GenerateEphemeralCertRequest) — 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::GenerateEphemeralCertResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Sql::V1::GenerateEphemeralCertResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_connect_settings
def get_connect_settings(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Sql::V1::ConnectSettingsBaseline implementation for the get_connect_settings REST call
- request_pb (::Google::Cloud::Sql::V1::GetConnectSettingsRequest) — 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::ConnectSettings)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Sql::V1::ConnectSettings) — A result object deserialized from the server's reply
- (::ArgumentError)
#logger
def logger(stub: false) -> LoggerThe logger used for request/response debug logging.
- (Logger)
#universe_domain
def universe_domain() -> StringThe effective universe domain
- (String)