Common Protos for Google Cloud APIs Client - Class JobChange (0.5.1)

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

Job state change event.

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

Namespace

Google \ Cloud \ Audit \ BigQueryAuditMetadata

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ before int

Job state before the job state change.

↳ after int

Job state after the job state change.

↳ job Google\Cloud\Audit\BigQueryAuditMetadata\Job

Job metadata.

getBefore

Job state before the job state change.

Returns
Type Description
int

setBefore

Job state before the job state change.

Parameter
Name Description
var int
Returns
Type Description
$this

getAfter

Job state after the job state change.

Returns
Type Description
int

setAfter

Job state after the job state change.

Parameter
Name Description
var int
Returns
Type Description
$this

getJob

Job metadata.

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

hasJob

clearJob

setJob

Job metadata.

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