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 |
NameMappingKey
The name of the object in source that is being mapped. |
↳ target |
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 |
NameMappingKey|null |
|
hasSource
clearSource
setSource
The name of the object in source that is being mapped.
| Parameter | |
|---|---|
| Name | Description |
var |
NameMappingKey
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTarget
The desired target name of the object that is being mapped.
| Returns | |
|---|---|
| Type | Description |
NameMappingValue|null |
|
hasTarget
clearTarget
setTarget
The desired target name of the object that is being mapped.
| Parameter | |
|---|---|
| Name | Description |
var |
NameMappingValue
|
| Returns | |
|---|---|
| Type | Description |
$this |
|