BigQuery Migration v2 API - Class SourceEnv (1.5.0)

public sealed class SourceEnv : IMessage<SourceEnv>, IEquatable<SourceEnv>, IDeepCloneable<SourceEnv>, IBufferMessage, IMessage

Reference documentation and code samples for the BigQuery Migration v2 API class SourceEnv.

Represents the default source environment values for the translation.

Inheritance

object > SourceEnv

Namespace

Google.Cloud.BigQuery.Migration.V2

Assembly

Google.Cloud.BigQuery.Migration.V2.dll

Constructors

SourceEnv()

public SourceEnv()

SourceEnv(SourceEnv)

public SourceEnv(SourceEnv other)
Parameter
Name Description
other SourceEnv

Properties

DefaultDatabase

public string DefaultDatabase { get; set; }

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

Property Value
Type Description
string

MetadataStoreDataset

public string MetadataStoreDataset { get; set; }

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.

Property Value
Type Description
string

SchemaSearchPath

public RepeatedField<string> SchemaSearchPath { get; }

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

Property Value
Type Description
RepeatedFieldstring