BigQuery Migration v2 API - Class SourceEnvironment (1.5.0)

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

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

Represents the default source environment values for the translation.

Inheritance

object > SourceEnvironment

Namespace

Google.Cloud.BigQuery.Migration.V2

Assembly

Google.Cloud.BigQuery.Migration.V2.dll

Constructors

SourceEnvironment()

public SourceEnvironment()

SourceEnvironment(SourceEnvironment)

public SourceEnvironment(SourceEnvironment other)
Parameter
Name Description
other SourceEnvironment

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 validQ 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