Reference documentation and code samples for the Google Cloud Channel V1 Client class ListOffersRequest.
Request message for ListOffers.
Generated from protobuf messagegoogle.cloud.channel.v1.ListOffersRequest
Namespace
Google \ Cloud \ Channel \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The resource name of the reseller account from which to list Offers. Parent uses the format: accounts/{account_id}.
↳ page_size
int
Optional. Requested page size. Server might return fewer results than requested. If unspecified, returns at most 500 Offers. The maximum value is 1000; the server will coerce values above 1000.
↳ page_token
string
Optional. A token for a page of results other than the first page.
↳ filter
string
Optional. The expression to filter results by name (name of the Offer), sku.name (name of the SKU), or sku.product.name (name of the Product). Example 1: sku.product.name=products/p1 AND sku.name!=products/p1/skus/s1 Example 2: name=accounts/a1/offers/o1
↳ language_code
string
Optional. The BCP-47 language code. For example, "en-US". The response will localize in the corresponding language code, if specified. The default value is "en-US".
↳ show_future_offers
bool
Optional. A boolean flag that determines if a response returns future offers 30 days from now. If the show_future_offers is true, the response will only contain offers that are scheduled to be available 30 days from now.
getParent
Required. The resource name of the reseller account from which to list
Offers. Parent uses the format: accounts/{account_id}.
Returns
Type
Description
string
setParent
Required. The resource name of the reseller account from which to list
Offers. Parent uses the format: accounts/{account_id}.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getPageSize
Optional. Requested page size. Server might return fewer results than
requested. If unspecified, returns at most 500 Offers. The maximum value is
1000; the server will coerce values above 1000.
Returns
Type
Description
int
setPageSize
Optional. Requested page size. Server might return fewer results than
requested. If unspecified, returns at most 500 Offers. The maximum value is
1000; the server will coerce values above 1000.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getPageToken
Optional. A token for a page of results other than the first page.
Returns
Type
Description
string
setPageToken
Optional. A token for a page of results other than the first page.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getFilter
Optional. The expression to filter results by name (name of
the Offer), sku.name (name of the SKU), or sku.product.name (name of the
Product).
Example 1: sku.product.name=products/p1 AND sku.name!=products/p1/skus/s1
Example 2: name=accounts/a1/offers/o1
Returns
Type
Description
string
setFilter
Optional. The expression to filter results by name (name of
the Offer), sku.name (name of the SKU), or sku.product.name (name of the
Product).
Example 1: sku.product.name=products/p1 AND sku.name!=products/p1/skus/s1
Example 2: name=accounts/a1/offers/o1
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getLanguageCode
Optional. The BCP-47 language code. For example, "en-US". The
response will localize in the corresponding language code, if specified.
The default value is "en-US".
Returns
Type
Description
string
setLanguageCode
Optional. The BCP-47 language code. For example, "en-US". The
response will localize in the corresponding language code, if specified.
The default value is "en-US".
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getShowFutureOffers
Optional. A boolean flag that determines if a response returns future
offers 30 days from now. If the show_future_offers is true, the response
will only contain offers that are scheduled to be available 30 days from
now.
Returns
Type
Description
bool
setShowFutureOffers
Optional. A boolean flag that determines if a response returns future
offers 30 days from now. If the show_future_offers is true, the response
will only contain offers that are scheduled to be available 30 days from
now.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Channel V1 Client - Class ListOffersRequest (2.2.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.1 (latest)](/php/docs/reference/cloud-channel/latest/V1.ListOffersRequest)\n- [2.2.0](/php/docs/reference/cloud-channel/2.2.0/V1.ListOffersRequest)\n- [2.1.4](/php/docs/reference/cloud-channel/2.1.4/V1.ListOffersRequest)\n- [2.0.0](/php/docs/reference/cloud-channel/2.0.0/V1.ListOffersRequest)\n- [1.9.5](/php/docs/reference/cloud-channel/1.9.5/V1.ListOffersRequest)\n- [1.8.2](/php/docs/reference/cloud-channel/1.8.2/V1.ListOffersRequest)\n- [1.7.0](/php/docs/reference/cloud-channel/1.7.0/V1.ListOffersRequest)\n- [1.6.0](/php/docs/reference/cloud-channel/1.6.0/V1.ListOffersRequest)\n- [1.5.0](/php/docs/reference/cloud-channel/1.5.0/V1.ListOffersRequest)\n- [1.4.0](/php/docs/reference/cloud-channel/1.4.0/V1.ListOffersRequest)\n- [1.3.0](/php/docs/reference/cloud-channel/1.3.0/V1.ListOffersRequest)\n- [1.2.1](/php/docs/reference/cloud-channel/1.2.1/V1.ListOffersRequest)\n- [1.1.1](/php/docs/reference/cloud-channel/1.1.1/V1.ListOffersRequest)\n- [1.0.1](/php/docs/reference/cloud-channel/1.0.1/V1.ListOffersRequest) \nReference documentation and code samples for the Google Cloud Channel V1 Client class ListOffersRequest.\n\nRequest message for ListOffers.\n\nGenerated from protobuf message `google.cloud.channel.v1.ListOffersRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Channel \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. The resource name of the reseller account from which to list\nOffers. Parent uses the format: accounts/{account_id}.\n\n### setParent\n\nRequired. The resource name of the reseller account from which to list\nOffers. Parent uses the format: accounts/{account_id}.\n\n### getPageSize\n\nOptional. Requested page size. Server might return fewer results than\nrequested. If unspecified, returns at most 500 Offers. The maximum value is\n1000; the server will coerce values above 1000.\n\n### setPageSize\n\nOptional. Requested page size. Server might return fewer results than\nrequested. If unspecified, returns at most 500 Offers. The maximum value is\n1000; the server will coerce values above 1000.\n\n### getPageToken\n\nOptional. A token for a page of results other than the first page.\n\n### setPageToken\n\nOptional. A token for a page of results other than the first page.\n\n### getFilter\n\nOptional. The expression to filter results by name (name of\nthe Offer), sku.name (name of the SKU), or sku.product.name (name of the\nProduct).\n\nExample 1: sku.product.name=products/p1 AND sku.name!=products/p1/skus/s1\nExample 2: name=accounts/a1/offers/o1\n\n### setFilter\n\nOptional. The expression to filter results by name (name of\nthe Offer), sku.name (name of the SKU), or sku.product.name (name of the\nProduct).\n\nExample 1: sku.product.name=products/p1 AND sku.name!=products/p1/skus/s1\nExample 2: name=accounts/a1/offers/o1\n\n### getLanguageCode\n\nOptional. The BCP-47 language code. For example, \"en-US\". The\nresponse will localize in the corresponding language code, if specified.\n\nThe default value is \"en-US\".\n\n### setLanguageCode\n\nOptional. The BCP-47 language code. For example, \"en-US\". The\nresponse will localize in the corresponding language code, if specified.\n\nThe default value is \"en-US\".\n\n### getShowFutureOffers\n\nOptional. A boolean flag that determines if a response returns future\noffers 30 days from now. If the show_future_offers is true, the response\nwill only contain offers that are scheduled to be available 30 days from\nnow.\n\n### setShowFutureOffers\n\nOptional. A boolean flag that determines if a response returns future\noffers 30 days from now. If the show_future_offers is true, the response\nwill only contain offers that are scheduled to be available 30 days from\nnow."]]