Cloud Product Registry V1 API - Class Google::Cloud::ProductRegistry::V1::CloudProductRegistryReadService::Rest::ServiceStub (v0.1.0)

Reference documentation and code samples for the Cloud Product Registry V1 API class Google::Cloud::ProductRegistry::V1::CloudProductRegistryReadService::Rest::ServiceStub.

REST service stub for the CloudProductRegistryReadService 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)

#get_logical_product

def get_logical_product(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ProductRegistry::V1::LogicalProduct

Baseline implementation for the get_logical_product REST call

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

#get_logical_product_variant

def get_logical_product_variant(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ProductRegistry::V1::LogicalProductVariant

Baseline implementation for the get_logical_product_variant REST call

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

#get_product_suite

def get_product_suite(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ProductRegistry::V1::ProductSuite

Baseline implementation for the get_product_suite REST call

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

#list_logical_product_variants

def list_logical_product_variants(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ProductRegistry::V1::ListLogicalProductVariantsResponse

Baseline implementation for the list_logical_product_variants REST call

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

#list_logical_products

def list_logical_products(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ProductRegistry::V1::ListLogicalProductsResponse

Baseline implementation for the list_logical_products REST call

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

#list_product_suites

def list_product_suites(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ProductRegistry::V1::ListProductSuitesResponse

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

#lookup_entity

def lookup_entity(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ProductRegistry::V1::LookupEntityResponse

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