Reference documentation and code samples for the Google Cloud BigQuery Migration V2 Client class ObjectNameMapping.
Represents a key-value pair of NameMappingKey to NameMappingValue to represent the mapping of SQL names from the input value to desired output.
Generated from protobuf message google.cloud.bigquery.migration.v2.ObjectNameMapping
Namespace
Google \ Cloud \ BigQuery \ Migration \ V2Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ source |
Google\Cloud\BigQuery\Migration\V2\NameMappingKey
The name of the object in source that is being mapped. |
↳ target |
Google\Cloud\BigQuery\Migration\V2\NameMappingValue
The desired target name of the object that is being mapped. |
getSource
The name of the object in source that is being mapped.
Returns | |
---|---|
Type | Description |
Google\Cloud\BigQuery\Migration\V2\NameMappingKey|null |
hasSource
clearSource
setSource
The name of the object in source that is being mapped.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\BigQuery\Migration\V2\NameMappingKey
|
Returns | |
---|---|
Type | Description |
$this |
getTarget
The desired target name of the object that is being mapped.
Returns | |
---|---|
Type | Description |
Google\Cloud\BigQuery\Migration\V2\NameMappingValue|null |
hasTarget
clearTarget
setTarget
The desired target name of the object that is being mapped.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\BigQuery\Migration\V2\NameMappingValue
|
Returns | |
---|---|
Type | Description |
$this |