Common Protos for Google Cloud APIs Client - Class DatasetDeletion (0.5.2)

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

Dataset deletion event.

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

Namespace

Google \ Cloud \ Audit \ BigQueryAuditMetadata

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ reason int

Describes how the dataset was deleted.

↳ job_name string

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

getReason

Describes how the dataset was deleted.

Returns
Type Description
int

setReason

Describes how the dataset was deleted.

Parameter
Name Description
var int
Returns
Type Description
$this

getJobName

The URI of the job that deleted the dataset.

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

Returns
Type Description
string

setJobName

The URI of the job that deleted the dataset.

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

Parameter
Name Description
var string
Returns
Type Description
$this