Google Cloud BigQuery Migration V2 Client - Class ObjectNameMapping (0.4.5)

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 \ V2

Methods

__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

hasSource

clearSource

setSource

The name of the object in source that is being mapped.

Parameter
Name
Description
Returns
Type
Description
$this

getTarget

The desired target name of the object that is being mapped.

hasTarget

clearTarget

setTarget

The desired target name of the object that is being mapped.

Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: