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

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

Table metadata change event.

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

Namespace

Google \ Cloud \ Audit \ BigQueryAuditMetadata

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ table Google\Cloud\Audit\BigQueryAuditMetadata\Table

Updated table metadata.

↳ truncated bool

True if the table was truncated.

↳ reason int

Describes how the table metadata was changed.

↳ job_name string

The URI of the job that changed a table. Present if the reason is JOB or QUERY. Format: projects/<project_id>/jobs/<job_id>.

getTable

Updated table metadata.

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

hasTable

clearTable

setTable

Updated table metadata.

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

getTruncated

True if the table was truncated.

Returns
TypeDescription
bool

setTruncated

True if the table was truncated.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getReason

Describes how the table metadata was changed.

Returns
TypeDescription
int

setReason

Describes how the table metadata was changed.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getJobName

The URI of the job that changed a table.

Present if the reason is JOB or QUERY. Format: projects/<project_id>/jobs/<job_id>.

Returns
TypeDescription
string

setJobName

The URI of the job that changed a table.

Present if the reason is JOB or QUERY. Format: projects/<project_id>/jobs/<job_id>.

Parameter
NameDescription
var string
Returns
TypeDescription
$this