BigQuery Migration V2 API - Class Google::Cloud::Bigquery::Migration::V2::SourceEnv (v0.11.1)

Reference documentation and code samples for the BigQuery Migration V2 API class Google::Cloud::Bigquery::Migration::V2::SourceEnv.

Represents the default source environment values for the translation.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#default_database

def default_database() -> ::String
Returns
  • (::String) — The default database name to fully qualify SQL objects when their database name is missing.

#default_database=

def default_database=(value) -> ::String
Parameter
  • value (::String) — The default database name to fully qualify SQL objects when their database name is missing.
Returns
  • (::String) — The default database name to fully qualify SQL objects when their database name is missing.

#metadata_store_dataset

def metadata_store_dataset() -> ::String
Returns
  • (::String) — Optional. Expects a valid BigQuery dataset ID that exists, e.g., project-123.metadata_store_123. If specified, translation will search and read the required schema information from a metadata store in this dataset. If metadata store doesn't exist, translation will parse the metadata file and upload the schema info to a temp table in the dataset to speed up future translation jobs.

#metadata_store_dataset=

def metadata_store_dataset=(value) -> ::String
Parameter
  • value (::String) — Optional. Expects a valid BigQuery dataset ID that exists, e.g., project-123.metadata_store_123. If specified, translation will search and read the required schema information from a metadata store in this dataset. If metadata store doesn't exist, translation will parse the metadata file and upload the schema info to a temp table in the dataset to speed up future translation jobs.
Returns
  • (::String) — Optional. Expects a valid BigQuery dataset ID that exists, e.g., project-123.metadata_store_123. If specified, translation will search and read the required schema information from a metadata store in this dataset. If metadata store doesn't exist, translation will parse the metadata file and upload the schema info to a temp table in the dataset to speed up future translation jobs.

#schema_search_path

def schema_search_path() -> ::Array<::String>
Returns
  • (::Array<::String>) — The schema search path. When SQL objects are missing schema name, translation engine will search through this list to find the value.

#schema_search_path=

def schema_search_path=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — The schema search path. When SQL objects are missing schema name, translation engine will search through this list to find the value.
Returns
  • (::Array<::String>) — The schema search path. When SQL objects are missing schema name, translation engine will search through this list to find the value.