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

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

Dataset creation event.

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

Namespace

Google \ Cloud \ Audit \ BigQueryAuditMetadata

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ dataset Google\Cloud\Audit\BigQueryAuditMetadata\Dataset

Dataset metadata.

↳ reason int

Describes how the dataset was created.

↳ job_name string

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

getDataset

Dataset metadata.

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

hasDataset

clearDataset

setDataset

Dataset metadata.

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

getReason

Describes how the dataset was created.

Returns
TypeDescription
int

setReason

Describes how the dataset was created.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getJobName

The URI of the job that created the dataset.

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

Returns
TypeDescription
string

setJobName

The URI of the job that created the dataset.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this