Google Cloud Channel V1 Client - Class ReportJob (1.7.0)

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

Namespace

Google \ Cloud \ Channel \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The resource name of a report job. Name uses the format: accounts/{account_id}/reportJobs/{report_job_id}

↳ 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
TypeDescription
string

setName

Required. The resource name of a report job.

Name uses the format: accounts/{account_id}/reportJobs/{report_job_id}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getReportStatus

The current status of report generation.

Returns
TypeDescription
Google\Cloud\Channel\V1\ReportStatus|null

hasReportStatus

clearReportStatus

setReportStatus

The current status of report generation.

Parameter
NameDescription
var Google\Cloud\Channel\V1\ReportStatus
Returns
TypeDescription
$this