Reference documentation and code samples for the Cloud Commerce Producer V1BETA API class Google::Cloud::CommerceProducer::V1beta::CommerceTransaction::Rest::ServiceStub.
REST service stub for the CommerceTransaction service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#cancel_private_offer
def cancel_private_offer(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::CommerceProducer::V1beta::PrivateOfferBaseline implementation for the cancel_private_offer REST call
- request_pb (::Google::Cloud::CommerceProducer::V1beta::CancelPrivateOfferRequest) — 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::CommerceProducer::V1beta::PrivateOffer)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::CommerceProducer::V1beta::PrivateOffer) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_private_offer
def create_private_offer(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::CommerceProducer::V1beta::PrivateOfferBaseline implementation for the create_private_offer REST call
- request_pb (::Google::Cloud::CommerceProducer::V1beta::CreatePrivateOfferRequest) — 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::CommerceProducer::V1beta::PrivateOffer)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::CommerceProducer::V1beta::PrivateOffer) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_private_offer_document
def create_private_offer_document(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::CommerceProducer::V1beta::PrivateOfferDocumentBaseline implementation for the create_private_offer_document REST call
- request_pb (::Google::Cloud::CommerceProducer::V1beta::CreatePrivateOfferDocumentRequest) — 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::CommerceProducer::V1beta::PrivateOfferDocument)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::CommerceProducer::V1beta::PrivateOfferDocument) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_private_offer
def delete_private_offer(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::EmptyBaseline implementation for the delete_private_offer REST call
- request_pb (::Google::Cloud::CommerceProducer::V1beta::DeletePrivateOfferRequest) — 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::Protobuf::Empty)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Protobuf::Empty) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_private_offer_document
def delete_private_offer_document(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::EmptyBaseline implementation for the delete_private_offer_document REST call
- request_pb (::Google::Cloud::CommerceProducer::V1beta::DeletePrivateOfferDocumentRequest) — 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::Protobuf::Empty)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Protobuf::Empty) — A result object deserialized from the server's reply
- (::ArgumentError)
#endpoint
def endpoint() -> StringThe effective endpoint
- (String)
#get_private_offer
def get_private_offer(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::CommerceProducer::V1beta::PrivateOfferBaseline implementation for the get_private_offer REST call
- request_pb (::Google::Cloud::CommerceProducer::V1beta::GetPrivateOfferRequest) — 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::CommerceProducer::V1beta::PrivateOffer)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::CommerceProducer::V1beta::PrivateOffer) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_private_offer_document
def get_private_offer_document(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::CommerceProducer::V1beta::PrivateOfferDocumentBaseline implementation for the get_private_offer_document REST call
- request_pb (::Google::Cloud::CommerceProducer::V1beta::GetPrivateOfferDocumentRequest) — 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::CommerceProducer::V1beta::PrivateOfferDocument)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::CommerceProducer::V1beta::PrivateOfferDocument) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_service
def get_service(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::CommerceProducer::V1beta::ServiceBaseline implementation for the get_service REST call
- request_pb (::Google::Cloud::CommerceProducer::V1beta::GetServiceRequest) — 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::CommerceProducer::V1beta::Service)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::CommerceProducer::V1beta::Service) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_sku
def get_sku(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::CommerceProducer::V1beta::SkuBaseline implementation for the get_sku REST call
- request_pb (::Google::Cloud::CommerceProducer::V1beta::GetSkuRequest) — 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::CommerceProducer::V1beta::Sku)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::CommerceProducer::V1beta::Sku) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_sku_group
def get_sku_group(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::CommerceProducer::V1beta::SkuGroupBaseline implementation for the get_sku_group REST call
- request_pb (::Google::Cloud::CommerceProducer::V1beta::GetSkuGroupRequest) — 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::CommerceProducer::V1beta::SkuGroup)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::CommerceProducer::V1beta::SkuGroup) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_standard_offer
def get_standard_offer(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::CommerceProducer::V1beta::StandardOfferBaseline implementation for the get_standard_offer REST call
- request_pb (::Google::Cloud::CommerceProducer::V1beta::GetStandardOfferRequest) — 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::CommerceProducer::V1beta::StandardOffer)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::CommerceProducer::V1beta::StandardOffer) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_private_offer_documents
def list_private_offer_documents(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::CommerceProducer::V1beta::ListPrivateOfferDocumentsResponseBaseline implementation for the list_private_offer_documents REST call
- request_pb (::Google::Cloud::CommerceProducer::V1beta::ListPrivateOfferDocumentsRequest) — 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::CommerceProducer::V1beta::ListPrivateOfferDocumentsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::CommerceProducer::V1beta::ListPrivateOfferDocumentsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_private_offers
def list_private_offers(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::CommerceProducer::V1beta::ListPrivateOffersResponseBaseline implementation for the list_private_offers REST call
- request_pb (::Google::Cloud::CommerceProducer::V1beta::ListPrivateOffersRequest) — 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::CommerceProducer::V1beta::ListPrivateOffersResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::CommerceProducer::V1beta::ListPrivateOffersResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_services
def list_services(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::CommerceProducer::V1beta::ListServicesResponseBaseline implementation for the list_services REST call
- request_pb (::Google::Cloud::CommerceProducer::V1beta::ListServicesRequest) — 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::CommerceProducer::V1beta::ListServicesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::CommerceProducer::V1beta::ListServicesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_sku_groups
def list_sku_groups(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::CommerceProducer::V1beta::ListSkuGroupsResponseBaseline implementation for the list_sku_groups REST call
- request_pb (::Google::Cloud::CommerceProducer::V1beta::ListSkuGroupsRequest) — 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::CommerceProducer::V1beta::ListSkuGroupsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::CommerceProducer::V1beta::ListSkuGroupsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_skus
def list_skus(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::CommerceProducer::V1beta::ListSkusResponseBaseline implementation for the list_skus REST call
- request_pb (::Google::Cloud::CommerceProducer::V1beta::ListSkusRequest) — 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::CommerceProducer::V1beta::ListSkusResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::CommerceProducer::V1beta::ListSkusResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_standard_offers
def list_standard_offers(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::CommerceProducer::V1beta::ListStandardOffersResponseBaseline implementation for the list_standard_offers REST call
- request_pb (::Google::Cloud::CommerceProducer::V1beta::ListStandardOffersRequest) — 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::CommerceProducer::V1beta::ListStandardOffersResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::CommerceProducer::V1beta::ListStandardOffersResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#logger
def logger(stub: false) -> LoggerThe logger used for request/response debug logging.
- (Logger)
#publish_private_offer
def publish_private_offer(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::CommerceProducer::V1beta::PrivateOfferBaseline implementation for the publish_private_offer REST call
- request_pb (::Google::Cloud::CommerceProducer::V1beta::PublishPrivateOfferRequest) — 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::CommerceProducer::V1beta::PrivateOffer)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::CommerceProducer::V1beta::PrivateOffer) — A result object deserialized from the server's reply
- (::ArgumentError)
#resolve_amendment_target
def resolve_amendment_target(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::CommerceProducer::V1beta::ResolveAmendmentTargetResponseBaseline implementation for the resolve_amendment_target REST call
- request_pb (::Google::Cloud::CommerceProducer::V1beta::ResolveAmendmentTargetRequest) — 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::CommerceProducer::V1beta::ResolveAmendmentTargetResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::CommerceProducer::V1beta::ResolveAmendmentTargetResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> StringThe effective universe domain
- (String)
#update_private_offer
def update_private_offer(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::CommerceProducer::V1beta::PrivateOfferBaseline implementation for the update_private_offer REST call
- request_pb (::Google::Cloud::CommerceProducer::V1beta::UpdatePrivateOfferRequest) — 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::CommerceProducer::V1beta::PrivateOffer)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::CommerceProducer::V1beta::PrivateOffer) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_private_offer_document
def update_private_offer_document(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::CommerceProducer::V1beta::PrivateOfferDocumentBaseline implementation for the update_private_offer_document REST call
- request_pb (::Google::Cloud::CommerceProducer::V1beta::UpdatePrivateOfferDocumentRequest) — 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::CommerceProducer::V1beta::PrivateOfferDocument)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::CommerceProducer::V1beta::PrivateOfferDocument) — A result object deserialized from the server's reply
- (::ArgumentError)