Reference documentation and code samples for the Google Cloud Channel V1 Client class ReportJob.
The result of a RunReportJob operation. Contains the name to use in FetchReportResultsRequest.report_job and the status of the operation.
Generated from protobuf message google.cloud.channel.v1.ReportJob
Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. The resource name of a report job. Name uses the format: |
↳ report_status |
Google\Cloud\Channel\V1\ReportStatus
The current status of report generation. |
getName
Required. The resource name of a report job.
Name uses the format:
accounts/{account_id}/reportJobs/{report_job_id}
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Required. The resource name of a report job.
Name uses the format:
accounts/{account_id}/reportJobs/{report_job_id}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getReportStatus
The current status of report generation.
| Returns | |
|---|---|
| Type | Description |
Google\Cloud\Channel\V1\ReportStatus|null |
|
hasReportStatus
clearReportStatus
setReportStatus
The current status of report generation.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Cloud\Channel\V1\ReportStatus
|
| Returns | |
|---|---|
| Type | Description |
$this |
|