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

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
NameDescription
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
TypeDescription
int

setBefore

Job state before the job state change.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getAfter

Job state after the job state change.

Returns
TypeDescription
int

setAfter

Job state after the job state change.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getJob

Job metadata.

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

hasJob

clearJob

setJob

Job metadata.

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