Google Cloud Channel V1 Client - Class ListReportsRequest (1.7.0)

Reference documentation and code samples for the Google Cloud Channel V1 Client class ListReportsRequest.

Request message for CloudChannelReportsService.ListReports.

Generated from protobuf message google.cloud.channel.v1.ListReportsRequest

Namespace

Google \ Cloud \ Channel \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The resource name of the partner account to list available reports for. Parent uses the format: accounts/{account_id}

↳ page_size int

Optional. Requested page size of the report. The server might return fewer results than requested. If unspecified, returns 20 reports. The maximum value is 100.

↳ page_token string

Optional. A token that specifies a page of results beyond the first page. Obtained through ListReportsResponse.next_page_token of the previous CloudChannelReportsService.ListReports call.

↳ language_code string

Optional. The BCP-47 language code, such as "en-US". If specified, the response is localized to the corresponding language code if the original data sources support it. Default is "en-US".

getParent

Required. The resource name of the partner account to list available reports for. Parent uses the format: accounts/{account_id}

Returns
TypeDescription
string

setParent

Required. The resource name of the partner account to list available reports for. Parent uses the format: accounts/{account_id}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

Optional. Requested page size of the report. The server might return fewer results than requested. If unspecified, returns 20 reports. The maximum value is 100.

Returns
TypeDescription
int

setPageSize

Optional. Requested page size of the report. The server might return fewer results than requested. If unspecified, returns 20 reports. The maximum value is 100.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

Optional. A token that specifies a page of results beyond the first page.

Obtained through ListReportsResponse.next_page_token of the previous CloudChannelReportsService.ListReports call.

Returns
TypeDescription
string

setPageToken

Optional. A token that specifies a page of results beyond the first page.

Obtained through ListReportsResponse.next_page_token of the previous CloudChannelReportsService.ListReports call.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getLanguageCode

Optional. The BCP-47 language code, such as "en-US". If specified, the response is localized to the corresponding language code if the original data sources support it.

Default is "en-US".

Returns
TypeDescription
string

setLanguageCode

Optional. The BCP-47 language code, such as "en-US". If specified, the response is localized to the corresponding language code if the original data sources support it.

Default is "en-US".

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
parent string

Required. The resource name of the partner account to list available reports for. Parent uses the format: accounts/{account_id}

Returns
TypeDescription
Google\Cloud\Channel\V1\ListReportsRequest