Service Client: Google::Cloud::Commerceproducer::V1beta::CommerceTransaction::CommerceTransactionClient
Client stub representing the remote CommerceTransaction gRPC service. Delegates call dispatching to Google::gRPC::Client.
target
The endpoint target address. Defaults to commerceproducer.googleapis.com:443.
credentials
The authentication credentials provider. Defaults to application default credentials via Google::Auth.
NAME
Google::Cloud::Commerceproducer::V1beta::CommerceTransaction - Compiled Protocol Buffers messages for google/cloud/commerceproducer/v1beta/commerce_transaction.proto
SYNOPSIS
use Google::Cloud::Commerceproducer::V1beta::CommerceTransaction;
my $msg = Google::Cloud::Commerceproducer::V1beta::CommerceTransaction::ListPrivateOffersRequest->new({
parent => $parent,
page_size => $page_size,
page_token => $page_token,
filter => $filter,
});
# Read or update a field
my $val = $msg->parent();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Commerceproducer::V1beta::CommerceTransaction::ListPrivateOffersRequest->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/commerceproducer/v1beta/commerce_transaction.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Commerceproducer::V1beta::CommerceTransaction::ListPrivateOffersRequest
Message for requesting list of PrivateOffers
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Parent value for ListPrivateOffersRequest
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Maximum results to return. The service may return fewer than this value. The maximum value is 500; values above 500 will be coerced to 500. If unspecified, the server will default to the maximum.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. A page token, received from a previous list response message. Provide this to retrieve the subsequent page.
When paginating, all other parameters of the list request must match the request that returned the page token.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Filter expression that matches a subset of resources to show. See https://google.aip.dev/160 for more details. Only supports filtering by:
* `update_time`. Example: `update_time > "2012-04-21T11:30:00-04:00"`.
$msg->order_by()/$msg->order_by($value)Type:
StringOptional. Ordering expression for sorting the results. See https://google.aip.dev/132#ordering for more details. If no value is present the default ordering is unspecified. Only supports ordering by:
* `update_time`
Google::Cloud::Commerceproducer::V1beta::CommerceTransaction::ListPrivateOffersResponse
Message for response to listing PrivateOffers
Inherits from Protobuf::Message.
Accessors
$msg->private_offers()/$msg->private_offers($value)Type:
Message(Google::Cloud::Commerceproducer::V1beta::PrivateOffer::PrivateOffer)The list of PrivateOffer
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
Google::Cloud::Commerceproducer::V1beta::CommerceTransaction::GetPrivateOfferRequest
Message for getting a PrivateOffer
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the resource
$msg->view()/$msg->view($value)Type:
Enum(Google::Cloud::Commerceproducer::V1beta::PrivateOfferView)Optional. The view of the PrivateOffer to return. If unspecified, the default view is BASIC.
Google::Cloud::Commerceproducer::V1beta::CommerceTransaction::ResolveAmendmentTargetRequest
Message for resolving an amended offer.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Parent value for ResolveAmendmentTargetRequest
$msg->target_billing_account()/$msg->target_billing_account($value)Type:
StringRequired. The customer's billing account targeted by the offer. This is the billing account for which the new private offer will be created on. Format: billingAccounts/{billing_account}.
$msg->base_standard_offer()/$msg->base_standard_offer($value)Type:
StringRequired. The base standard offer that the private offer will be based on. Format: projects/{project}/locations/{location}/services/{service}/standardOffers/{standard_offer}.
Google::Cloud::Commerceproducer::V1beta::CommerceTransaction::ResolveAmendmentTargetResponse
Message in response to ResolveAmendmentTarget.
Inherits from Protobuf::Message.
Accessors
$msg->required_private_offer()/$msg->required_private_offer($value)Type:
StringThe resource name of an existing private offer that MUST be amended.
If this is set, the new private offer the client creates must populate the `single_product_offer.amended_private_offer` field with this value.
$msg->required_standard_offer()/$msg->required_standard_offer($value)Type:
StringThe resource name of an existing standard offer that MUST be amended.
If this is set, the new private offer the client creates must populate the `single_product_offer.amended_standard_offer` field with this value.
$msg->optional_offers()/$msg->optional_offers($value)Type:
Message(Google::Cloud::Commerceproducer::V1beta::CommerceTransaction::ResolveAmendmentTargetResponse::OptionalOffers)A list of existing offers that may optionally be amended.
Google::Cloud::Commerceproducer::V1beta::CommerceTransaction::CreatePrivateOfferRequest
Message for creating a PrivateOffer
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Value for parent.
$msg->private_offer()/$msg->private_offer($value)Type:
Message(Google::Cloud::Commerceproducer::V1beta::PrivateOffer::PrivateOffer)Required. The resource being created
Google::Cloud::Commerceproducer::V1beta::CommerceTransaction::UpdatePrivateOfferRequest
Message for updating a PrivateOffer
Inherits from Protobuf::Message.
Accessors
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Optional. The list of fields to update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The special value "*" means full replacement. If unspecified, all fields present in the request will be overwritten.
$msg->private_offer()/$msg->private_offer($value)Type:
Message(Google::Cloud::Commerceproducer::V1beta::PrivateOffer::PrivateOffer)Required. The resource being updated
Google::Cloud::Commerceproducer::V1beta::CommerceTransaction::PublishPrivateOfferRequest
Message for publishing a PrivateOffer
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the resource
$msg->validate_only()/$msg->validate_only($value)Type:
BoolOptional. If set to `true`, validates the request but does not execute it.
Google::Cloud::Commerceproducer::V1beta::CommerceTransaction::CancelPrivateOfferRequest
Message for cancelling a PrivateOffer
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the resource
$msg->cancellation_note()/$msg->cancellation_note($value)Type:
StringOptional. Internal note relating to the cancellation. Stored on the cancelled offer. Not visible to customers.
Google::Cloud::Commerceproducer::V1beta::CommerceTransaction::DeletePrivateOfferRequest
Message for deleting a PrivateOffer
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the resource
$msg->force()/$msg->force($value)Type:
BoolOptional. Indicates whether to cascade the delete to child resources. If false, the request fails if child resources exist.
Google::Cloud::Commerceproducer::V1beta::CommerceTransaction::ListPrivateOfferDocumentsRequest
Message for requesting list of PrivateOfferDocuments
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Parent value for ListPrivateOfferDocumentsRequest.
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Maximum results to return. The service may return fewer than this value. The maximum value is 500; values above 500 will be coerced to 500. If unspecified, the server will default to the maximum.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. A page token, received from a previous list response message. Provide this to retrieve the subsequent page.
When paginating, all other parameters of the list request must match the request that returned the page token.
Google::Cloud::Commerceproducer::V1beta::CommerceTransaction::ListPrivateOfferDocumentsResponse
Message for response to listing PrivateOfferDocuments
Inherits from Protobuf::Message.
Accessors
$msg->private_offer_documents()/$msg->private_offer_documents($value)Type:
Message(Google::Cloud::Commerceproducer::V1beta::PrivateOffer::PrivateOfferDocument)The list of PrivateOfferDocuments.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
Google::Cloud::Commerceproducer::V1beta::CommerceTransaction::GetPrivateOfferDocumentRequest
Message for getting a PrivateOfferDocument
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the resource.
Google::Cloud::Commerceproducer::V1beta::CommerceTransaction::CreatePrivateOfferDocumentRequest
Message for creating a PrivateOfferDocument.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Value for parent.
$msg->private_offer_document()/$msg->private_offer_document($value)Type:
Message(Google::Cloud::Commerceproducer::V1beta::PrivateOffer::PrivateOfferDocument)Required. The resource being created.
Google::Cloud::Commerceproducer::V1beta::CommerceTransaction::UpdatePrivateOfferDocumentRequest
Message for updating a PrivateOfferDocument
Inherits from Protobuf::Message.
Accessors
$msg->private_offer_document()/$msg->private_offer_document($value)Type:
Message(Google::Cloud::Commerceproducer::V1beta::PrivateOffer::PrivateOfferDocument)Required. The resource being updated.
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Optional. The list of fields to update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The special value "*" means full replacement. If unspecified, all fields present in the request will be overwritten.
Google::Cloud::Commerceproducer::V1beta::CommerceTransaction::DeletePrivateOfferDocumentRequest
Message for deleting a PrivateOfferDocument
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the resource.
Google::Cloud::Commerceproducer::V1beta::CommerceTransaction::ListServicesRequest
Message for requesting list of Services
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Parent value for ListServicesRequest
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Maximum results to return. The service may return fewer than this value. The maximum value is 500; values above 500 will be coerced to 500. If unspecified, the server will default to the maximum.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. A token identifying a page of results the server should return.
Google::Cloud::Commerceproducer::V1beta::CommerceTransaction::ListServicesResponse
Message for response to listing Services
Inherits from Protobuf::Message.
Accessors
$msg->services()/$msg->services($value)Type:
Message(Google::Cloud::Commerceproducer::V1beta::Service::Service)The list of Service
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
Google::Cloud::Commerceproducer::V1beta::CommerceTransaction::GetServiceRequest
Message for getting a Service
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the resource
$msg->view()/$msg->view($value)Type:
Enum(Google::Cloud::Commerceproducer::V1beta::ServiceView)Optional. The view of the Service to return. If unspecified, the default view is BASIC.
Google::Cloud::Commerceproducer::V1beta::CommerceTransaction::ListStandardOffersRequest
Message for requesting list of StandardOffers
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Parent value for ListStandardOffersRequest
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Maximum results to return. The service may return fewer than this value. The maximum value is 500; values above 500 will be coerced to 500. If unspecified, the server will default to the maximum.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. A page token, received from a previous list response message. Provide this to retrieve the subsequent page.
When paginating, all other parameters of the list request must match the request that returned the page token.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Filter expression that matches a subset of resources to show. See https://google.aip.dev/160 for more details. Supports filtering by:
* `effective_time`. Example: `effective_time > "2012-04-21T11:30:00-04:00"`. * `expire_time`. Example: `expire_time < "2026-05-06T00:00:00Z"`.
$msg->order_by()/$msg->order_by($value)Type:
StringOptional. Ordering expression for sorting the results. See https://google.aip.dev/132#ordering for more details. If no value is present the default ordering is unspecified. Supports ordering by:
* `effective_time` * `expire_time`
Google::Cloud::Commerceproducer::V1beta::CommerceTransaction::ListStandardOffersResponse
Message for response to listing StandardOffers
Inherits from Protobuf::Message.
Accessors
$msg->standard_offers()/$msg->standard_offers($value)Type:
Message(Google::Cloud::Commerceproducer::V1beta::StandardOffer::StandardOffer)The list of StandardOffer
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
Google::Cloud::Commerceproducer::V1beta::CommerceTransaction::GetStandardOfferRequest
Message for getting a StandardOffer
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the resource
$msg->view()/$msg->view($value)Type:
Enum(Google::Cloud::Commerceproducer::V1beta::StandardOfferView)Optional. The view of the StandardOffer to return. If unspecified, the default view is BASIC.
Google::Cloud::Commerceproducer::V1beta::CommerceTransaction::ListSkusRequest
Message for requesting list of Skus
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Parent value for ListSkusRequest
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Maximum results to return. The service may return fewer than this value. The maximum value is 500; values above 500 will be coerced to 500. If unspecified, the server will default to the maximum.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. A page token, received from a previous list response message. Provide this to retrieve the subsequent page.
When paginating, all other parameters of the list request must match the request that returned the page token.
Google::Cloud::Commerceproducer::V1beta::CommerceTransaction::ListSkusResponse
Message for response to listing Skus
Inherits from Protobuf::Message.
Accessors
$msg->skus()/$msg->skus($value)Type:
Message(Google::Cloud::Commerceproducer::V1beta::Sku::Sku)The list of Sku
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
Google::Cloud::Commerceproducer::V1beta::CommerceTransaction::GetSkuRequest
Message for getting a Sku
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the resource
Google::Cloud::Commerceproducer::V1beta::CommerceTransaction::GetSkuGroupRequest
Message for getting a SkuGroup
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. Name of the resource
Google::Cloud::Commerceproducer::V1beta::CommerceTransaction::ListSkuGroupsRequest
Message for requesting list of SkuGroups
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Parent value for ListSkuGroupsRequest
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. Maximum results to return. The service may return fewer than this value. The maximum value is 500; values above 500 will be coerced to 500. If unspecified, the server will default to the maximum.
$msg->page_token()/$msg->page_token($value)Type:
StringOptional. A page token, received from a previous list response message. Provide this to retrieve the subsequent page.
When paginating, all other parameters of the list request must match the request that returned the page token.
Google::Cloud::Commerceproducer::V1beta::CommerceTransaction::ListSkuGroupsResponse
Message for response to listing SkuGroups
Inherits from Protobuf::Message.
Accessors
$msg->sku_groups()/$msg->sku_groups($value)Type:
Message(Google::Cloud::Commerceproducer::V1beta::SkuGroup::SkuGroup)The list of SkuGroup
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Commerceproducer::V1beta::CommerceTransaction::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.