Reference documentation and code samples for the Private Catalog V1beta1 API class Google::Cloud::PrivateCatalog::V1beta1::PrivateCatalog::Rest::ServiceStub.
REST service stub for the PrivateCatalog service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#initialize
def initialize(endpoint:, credentials:) -> ServiceStub
- (ServiceStub) — a new instance of ServiceStub
#search_catalogs
def search_catalogs(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::PrivateCatalog::V1beta1::SearchCatalogsResponse
Baseline implementation for the search_catalogs REST call
- request_pb (::Google::Cloud::PrivateCatalog::V1beta1::SearchCatalogsRequest) — 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::PrivateCatalog::V1beta1::SearchCatalogsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::PrivateCatalog::V1beta1::SearchCatalogsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#search_products
def search_products(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::PrivateCatalog::V1beta1::SearchProductsResponse
Baseline implementation for the search_products REST call
- request_pb (::Google::Cloud::PrivateCatalog::V1beta1::SearchProductsRequest) — 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::PrivateCatalog::V1beta1::SearchProductsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::PrivateCatalog::V1beta1::SearchProductsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#search_versions
def search_versions(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::PrivateCatalog::V1beta1::SearchVersionsResponse
Baseline implementation for the search_versions REST call
- request_pb (::Google::Cloud::PrivateCatalog::V1beta1::SearchVersionsRequest) — 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::PrivateCatalog::V1beta1::SearchVersionsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::PrivateCatalog::V1beta1::SearchVersionsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)