Reference documentation and code samples for the Google Cloud Channel V1 Client class ListCustomersRequest.
Request message for CloudChannelService.ListCustomers
Generated from protobuf message google.cloud.channel.v1.ListCustomersRequest
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 to list customers from. Parent uses the format: accounts/{account_id}. |
↳ page_size |
int
Optional. The maximum number of customers to return. The service may return fewer than this value. If unspecified, returns at most 10 customers. The maximum value is 50. |
↳ page_token |
string
Optional. A token identifying a page of results other than the first page. Obtained through ListCustomersResponse.next_page_token of the previous CloudChannelService.ListCustomers call. |
getParent
Required. The resource name of the reseller account to list customers from.
Parent uses the format: accounts/{account_id}.
Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
string |
setParent
Required. The resource name of the reseller account to list customers from.
Parent uses the format: accounts/{account_id}.
Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getPageSize
Optional. The maximum number of customers to return. The service may return fewer than this value. If unspecified, returns at most 10 customers. The maximum value is 50.
Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
setPageSize
Optional. The maximum number of customers to return. The service may return fewer than this value. If unspecified, returns at most 10 customers. The maximum value is 50.
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 identifying a page of results other than the first page.
Obtained through ListCustomersResponse.next_page_token of the previous CloudChannelService.ListCustomers call.
Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
string |
setPageToken
Optional. A token identifying a page of results other than the first page.
Obtained through ListCustomersResponse.next_page_token of the previous CloudChannelService.ListCustomers call.
Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |