Common Protos for Google Cloud APIs Client - Class Job (0.5.2)

Reference documentation and code samples for the Common Protos for Google Cloud APIs Client class Job.

BigQuery job.

Generated from protobuf message google.cloud.audit.BigQueryAuditMetadata.Job

Namespace

Google \ Cloud \ Audit \ BigQueryAuditMetadata

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ job_name string

Job URI. Format: projects/<project_id>/jobs/<job_id>.

↳ job_config Google\Cloud\Audit\BigQueryAuditMetadata\JobConfig

Job configuration.

↳ job_status Google\Cloud\Audit\BigQueryAuditMetadata\JobStatus

Job status.

↳ job_stats Google\Cloud\Audit\BigQueryAuditMetadata\JobStats

Job statistics.

getJobName

Job URI.

Format: projects/<project_id>/jobs/<job_id>.

Returns
Type Description
string

setJobName

Job URI.

Format: projects/<project_id>/jobs/<job_id>.

Parameter
Name Description
var string
Returns
Type Description
$this

getJobConfig

Job configuration.

Returns
Type Description
Google\Cloud\Audit\BigQueryAuditMetadata\JobConfig|null

hasJobConfig

clearJobConfig

setJobConfig

Job configuration.

Parameter
Name Description
var Google\Cloud\Audit\BigQueryAuditMetadata\JobConfig
Returns
Type Description
$this

getJobStatus

Job status.

Returns
Type Description
Google\Cloud\Audit\BigQueryAuditMetadata\JobStatus|null

hasJobStatus

clearJobStatus

setJobStatus

Job status.

Parameter
Name Description
var Google\Cloud\Audit\BigQueryAuditMetadata\JobStatus
Returns
Type Description
$this

getJobStats

Job statistics.

Returns
Type Description
Google\Cloud\Audit\BigQueryAuditMetadata\JobStats|null

hasJobStats

clearJobStats

setJobStats

Job statistics.

Parameter
Name Description
var Google\Cloud\Audit\BigQueryAuditMetadata\JobStats
Returns
Type Description
$this