Google Cloud Channel V1 Client - Class ListCustomersRequest (1.0.1)

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
NameDescription
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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var int
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this