Database Center V1BETA API - Class Google::Cloud::DatabaseCenter::V1beta::DatabaseCenter::Rest::ServiceStub (v0.1.0)

Reference documentation and code samples for the Database Center V1BETA API class Google::Cloud::DatabaseCenter::V1beta::DatabaseCenter::Rest::ServiceStub.

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

Inherits

  • Object

Methods

#aggregate_fleet

def aggregate_fleet(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::DatabaseCenter::V1beta::AggregateFleetResponse

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

#logger

def logger(stub: false) -> Logger

The logger used for request/response debug logging.

Returns
  • (Logger)

#query_database_resource_groups

def query_database_resource_groups(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::DatabaseCenter::V1beta::QueryDatabaseResourceGroupsResponse

Baseline implementation for the query_database_resource_groups REST call

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

#query_products

def query_products(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::DatabaseCenter::V1beta::QueryProductsResponse

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