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() -> StringThe effective endpoint
- (String)
#get_logical_product
def get_logical_product(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ProductRegistry::V1::LogicalProductBaseline implementation for the get_logical_product REST call
- request_pb (::Google::Cloud::ProductRegistry::V1::GetLogicalProductRequest) — 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::ProductRegistry::V1::LogicalProduct)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ProductRegistry::V1::LogicalProduct) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_logical_product_variant
def get_logical_product_variant(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ProductRegistry::V1::LogicalProductVariantBaseline implementation for the get_logical_product_variant REST call
- request_pb (::Google::Cloud::ProductRegistry::V1::GetLogicalProductVariantRequest) — 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::ProductRegistry::V1::LogicalProductVariant)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ProductRegistry::V1::LogicalProductVariant) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_product_suite
def get_product_suite(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ProductRegistry::V1::ProductSuiteBaseline implementation for the get_product_suite REST call
- request_pb (::Google::Cloud::ProductRegistry::V1::GetProductSuiteRequest) — 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::ProductRegistry::V1::ProductSuite)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ProductRegistry::V1::ProductSuite) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_logical_product_variants
def list_logical_product_variants(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ProductRegistry::V1::ListLogicalProductVariantsResponseBaseline implementation for the list_logical_product_variants REST call
- request_pb (::Google::Cloud::ProductRegistry::V1::ListLogicalProductVariantsRequest) — 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::ProductRegistry::V1::ListLogicalProductVariantsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ProductRegistry::V1::ListLogicalProductVariantsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_logical_products
def list_logical_products(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ProductRegistry::V1::ListLogicalProductsResponseBaseline implementation for the list_logical_products REST call
- request_pb (::Google::Cloud::ProductRegistry::V1::ListLogicalProductsRequest) — 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::ProductRegistry::V1::ListLogicalProductsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ProductRegistry::V1::ListLogicalProductsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_product_suites
def list_product_suites(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ProductRegistry::V1::ListProductSuitesResponseBaseline implementation for the list_product_suites REST call
- request_pb (::Google::Cloud::ProductRegistry::V1::ListProductSuitesRequest) — 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::ProductRegistry::V1::ListProductSuitesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ProductRegistry::V1::ListProductSuitesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#logger
def logger(stub: false) -> LoggerThe logger used for request/response debug logging.
- (Logger)
#lookup_entity
def lookup_entity(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::ProductRegistry::V1::LookupEntityResponseBaseline implementation for the lookup_entity REST call
- request_pb (::Google::Cloud::ProductRegistry::V1::LookupEntityRequest) — 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::ProductRegistry::V1::LookupEntityResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::ProductRegistry::V1::LookupEntityResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> StringThe effective universe domain
- (String)