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

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

Unlink linked dataset from its source dataset event

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

Namespace

Google \ Cloud \ Audit \ BigQueryAuditMetadata

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ linked_dataset string

The linked dataset URI which is unlinked from its source. Format: projects/<project_id>/datasets/<dataset_id>.

↳ source_dataset string

The source dataset URI from which the linked dataset is unlinked. Format: projects/<project_id>/datasets/<dataset_id>.

↳ reason int

Reason for unlinking linked dataset

getLinkedDataset

The linked dataset URI which is unlinked from its source.

Format: projects/<project_id>/datasets/<dataset_id>.

Returns
TypeDescription
string

setLinkedDataset

The linked dataset URI which is unlinked from its source.

Format: projects/<project_id>/datasets/<dataset_id>.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSourceDataset

The source dataset URI from which the linked dataset is unlinked.

Format: projects/<project_id>/datasets/<dataset_id>.

Returns
TypeDescription
string

setSourceDataset

The source dataset URI from which the linked dataset is unlinked.

Format: projects/<project_id>/datasets/<dataset_id>.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getReason

Reason for unlinking linked dataset

Returns
TypeDescription
int

setReason

Reason for unlinking linked dataset

Parameter
NameDescription
var int
Returns
TypeDescription
$this