Reference documentation and code samples for the Google Cloud Channel V1 Client class RunReportJobRequest.
Request message for CloudChannelReportsService.RunReportJob.
Generated from protobuf message google.cloud.channel.v1.RunReportJobRequest
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. The report's resource name. Specifies the account and report used to generate report data. The report_id identifier is a UID (for example, |
↳ date_range |
Google\Cloud\Channel\V1\DateRange
Optional. The range of usage or invoice dates to include in the result. |
↳ filter |
string
Optional. A structured string that defines conditions on dimension columns to restrict the report output. Filters support logical operators (AND, OR, NOT) and conditional operators (=, !=, <, >, <=, and >=) using |
↳ 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". |
getName
Required. The report's resource name. Specifies the account and report used
to generate report data. The report_id identifier is a UID (for example,
613bf59q
).
Name uses the format: accounts/{account_id}/reports/{report_id}
Returns | |
---|---|
Type | Description |
string |
setName
Required. The report's resource name. Specifies the account and report used
to generate report data. The report_id identifier is a UID (for example,
613bf59q
).
Name uses the format: accounts/{account_id}/reports/{report_id}
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getDateRange
Optional. The range of usage or invoice dates to include in the result.
Returns | |
---|---|
Type | Description |
Google\Cloud\Channel\V1\DateRange|null |
hasDateRange
clearDateRange
setDateRange
Optional. The range of usage or invoice dates to include in the result.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Channel\V1\DateRange
|
Returns | |
---|---|
Type | Description |
$this |
getFilter
Optional. A structured string that defines conditions on dimension columns to restrict the report output.
Filters support logical operators (AND, OR, NOT) and conditional operators
(=, !=, <, >, <=, and >=) using column_id
as keys.
For example:
(customer:"accounts/C123abc/customers/S456def" OR
customer:"accounts/C123abc/customers/S789ghi") AND
invoice_start_date.year >= 2022
Returns | |
---|---|
Type | Description |
string |
setFilter
Optional. A structured string that defines conditions on dimension columns to restrict the report output.
Filters support logical operators (AND, OR, NOT) and conditional operators
(=, !=, <, >, <=, and >=) using column_id
as keys.
For example:
(customer:"accounts/C123abc/customers/S456def" OR
customer:"accounts/C123abc/customers/S789ghi") AND
invoice_start_date.year >= 2022
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 |