Reference documentation and code samples for the Common Protos for Google Cloud APIs Client class TableCreation.
Table creation event.
Generated from protobuf message google.cloud.audit.BigQueryAuditMetadata.TableCreation
Namespace
Google \ Cloud \ Audit \ BigQueryAuditMetadataMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ table |
Google\Cloud\Audit\BigQueryAuditMetadata\Table
Table metadata. |
↳ reason |
int
Describes how the table was created. |
↳ job_name |
string
The URI of the job that created a table. Present if the reason is JOB or QUERY. Format: |
getTable
Table metadata.
Returns | |
---|---|
Type | Description |
Google\Cloud\Audit\BigQueryAuditMetadata\Table|null |
hasTable
clearTable
setTable
Table metadata.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Audit\BigQueryAuditMetadata\Table
|
Returns | |
---|---|
Type | Description |
$this |
getReason
Describes how the table was created.
Returns | |
---|---|
Type | Description |
int |
setReason
Describes how the table was created.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getJobName
The URI of the job that created 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 created 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 |