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

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

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
string

setDefaultDatabase

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

Parameter
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string[]
Returns
TypeDescription
$this