Common Protos for Google Cloud APIs Client - Class TableDeletion (0.5.0)

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

Table deletion event.

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

Namespace

Google \ Cloud \ Audit \ BigQueryAuditMetadata

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ reason int

Describes how table was deleted.

↳ job_name string

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

getReason

Describes how table was deleted.

Returns
TypeDescription
int

setReason

Describes how table was deleted.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getJobName

The URI of the job that deleted a table.

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

Returns
TypeDescription
string

setJobName

The URI of the job that deleted a table.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this