Common Protos for Google Cloud APIs Client - Class Job (0.4.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
NameDescription
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
TypeDescription
string

setJobName

Job URI.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getJobConfig

Job configuration.

Returns
TypeDescription
Google\Cloud\Audit\BigQueryAuditMetadata\JobConfig|null

hasJobConfig

clearJobConfig

setJobConfig

Job configuration.

Parameter
NameDescription
var Google\Cloud\Audit\BigQueryAuditMetadata\JobConfig
Returns
TypeDescription
$this

getJobStatus

Job status.

Returns
TypeDescription
Google\Cloud\Audit\BigQueryAuditMetadata\JobStatus|null

hasJobStatus

clearJobStatus

setJobStatus

Job status.

Parameter
NameDescription
var Google\Cloud\Audit\BigQueryAuditMetadata\JobStatus
Returns
TypeDescription
$this

getJobStats

Job statistics.

Returns
TypeDescription
Google\Cloud\Audit\BigQueryAuditMetadata\JobStats|null

hasJobStats

clearJobStats

setJobStats

Job statistics.

Parameter
NameDescription
var Google\Cloud\Audit\BigQueryAuditMetadata\JobStats
Returns
TypeDescription
$this