Google Cloud Channel V1 Client - Class ListCustomersRequest (1.9.3)

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

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 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.

↳ filter string

Optional. Filters applied to the [CloudChannelService.ListCustomers] results. See https://cloud.google.com/channel/docs/concepts/google-cloud/filter-customers for more information.

getParent

Required. The resource name of the reseller account to list customers from.

Parent uses the format: accounts/{account_id}.

Returns
Type Description
string

setParent

Required. The resource name of the reseller account to list customers from.

Parent uses the format: accounts/{account_id}.

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.

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.

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.

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.

Parameter
Name Description
var string
Returns
Type Description
$this

getFilter

Optional. Filters applied to the [CloudChannelService.ListCustomers] results. See https://cloud.google.com/channel/docs/concepts/google-cloud/filter-customers for more information.

Returns
Type Description
string

setFilter

Optional. Filters applied to the [CloudChannelService.ListCustomers] results. See https://cloud.google.com/channel/docs/concepts/google-cloud/filter-customers for more information.

Parameter
Name Description
var string
Returns
Type Description
$this