Google Cloud BigQuery Migration V2 Client - Class SourceTargetMapping (1.1.5)

Reference documentation and code samples for the Google Cloud BigQuery Migration V2 Client class SourceTargetMapping.

Represents one mapping from a source SQL to a target SQL.

Generated from protobuf message google.cloud.bigquery.migration.v2.SourceTargetMapping

Namespace

Google \ Cloud \ BigQuery \ Migration \ V2

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ source_spec
SourceSpec

The source SQL or the path to it.

↳ target_spec
TargetSpec

The target SQL or the path for it.

getSourceSpec

The source SQL or the path to it.

Returns
Type
Description
SourceSpec |null

hasSourceSpec

clearSourceSpec

setSourceSpec

The source SQL or the path to it.

Parameter
Name
Description
Returns
Type
Description
$this

getTargetSpec

The target SQL or the path for it.

Returns
Type
Description
TargetSpec |null

hasTargetSpec

clearTargetSpec

setTargetSpec

The target SQL or the path for it.

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: