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 \ V2Methods
__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 |
var |
SourceSpec
|
| 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 |
var |
TargetSpec
|
| Returns | |
|---|---|
| Type | Description |
$this |
|