Google Cloud BigQuery Migration V2 Client - Class SourceEnv (0.4.4)

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

Represents the default source environment values for the translation.

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

Namespace

Google \ Cloud \ BigQuery \ Migration \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ default_database string

The default database name to fully qualify SQL objects when their database name is missing.

↳ schema_search_path array

The schema search path. When SQL objects are missing schema name, translation engine will search through this list to find the value.

getDefaultDatabase

The default database name to fully qualify SQL objects when their database name is missing.

Returns
Type Description
string

setDefaultDatabase

The default database name to fully qualify SQL objects when their database name is missing.

Parameter
Name Description
var string
Returns
Type Description
$this

getSchemaSearchPath

The schema search path. When SQL objects are missing schema name, translation engine will search through this list to find the value.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setSchemaSearchPath

The schema search path. When SQL objects are missing schema name, translation engine will search through this list to find the value.

Parameter
Name Description
var string[]
Returns
Type Description
$this