Common Protos for Google Cloud APIs Client - Class UnlinkDataset (0.5.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
Name Description
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
Type Description
string

setLinkedDataset

The linked dataset URI which is unlinked from its source.

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

Parameter
Name Description
var string
Returns
Type Description
$this

getSourceDataset

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

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

Returns
Type Description
string

setSourceDataset

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

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

Parameter
Name Description
var string
Returns
Type Description
$this

getReason

Reason for unlinking linked dataset

Returns
Type Description
int

setReason

Reason for unlinking linked dataset

Parameter
Name Description
var int
Returns
Type Description
$this