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 \ BigQueryAuditMetadataMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description | 
| data | arrayOptional. Data for populating the Message object. | 
| ↳ table | TableUpdated table metadata. | 
| ↳ truncated | boolTrue if the table was truncated. | 
| ↳ reason | intDescribes how the table metadata was changed. | 
| ↳ job_name | stringThe URI of the job that changed a table. Present if the reason is JOB or QUERY. Format:  | 
getTable
Updated table metadata.
| Returns | |
|---|---|
| Type | Description | 
| Table|null | |
hasTable
clearTable
setTable
Updated table metadata.
| Parameter | |
|---|---|
| Name | Description | 
| var | Table | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
getTruncated
True if the table was truncated.
| Returns | |
|---|---|
| Type | Description | 
| bool | |
setTruncated
True if the table was truncated.
| Parameter | |
|---|---|
| Name | Description | 
| var | bool | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
getReason
Describes how the table metadata was changed.
| Returns | |
|---|---|
| Type | Description | 
| int | Enum of type Reason. | 
setReason
Describes how the table metadata was changed.
| Parameter | |
|---|---|
| Name | Description | 
| var | intEnum of type Reason. | 
| Returns | |
|---|---|
| Type | Description | 
| $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 | |
|---|---|
| Type | Description | 
| 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 | |
|---|---|
| Name | Description | 
| var | string | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |