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 \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
string |
setParent
Required. The resource name of the partner account to list available reports for. Parent uses the format: accounts/{account_id}
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameter | |
---|---|
Name | Description |
parent |
string
Required. The resource name of the partner account to list available reports for. Parent uses the format: accounts/{account_id} |
Returns | |
---|---|
Type | Description |
Google\Cloud\Channel\V1\ListReportsRequest |