Reference documentation and code samples for the Google Cloud Channel V1 Client class ListProductsRequest.
Request message for ListProducts.
Generated from protobuf message google.cloud.channel.v1.ListProductsRequest
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ account |
string
Required. The resource name of the reseller account. Format: accounts/{account_id}. |
↳ page_size |
int
Optional. Requested page size. Server might return fewer results than requested. If unspecified, returns at most 100 Products. 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. |
↳ 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". |
getAccount
Required. The resource name of the reseller account.
Format: accounts/{account_id}.
Generated from protobuf field string account = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
string |
setAccount
Required. The resource name of the reseller account.
Format: accounts/{account_id}.
Generated from protobuf field string account = 1 [(.google.api.field_behavior) = REQUIRED];
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 100 Products. The maximum value is 1000; the server will coerce values above 1000.
Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
setPageSize
Optional. Requested page size. Server might return fewer results than requested.
If unspecified, returns at most 100 Products. The maximum value is 1000; the server will coerce values above 1000.
Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getPageToken
Optional. A token for a page of results other than the first page.
Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
string |
setPageToken
Optional. A token for a page of results other than the first page.
Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
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".
Generated from protobuf field string language_code = 4 [(.google.api.field_behavior) = OPTIONAL];
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".
Generated from protobuf field string language_code = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |