BigQuery Migration v2 API - Class TranslationConfigDetails (1.5.0)

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

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

The translation config to capture necessary settings for a translation task and subtask.

Inheritance

object > TranslationConfigDetails

Namespace

Google.Cloud.BigQuery.Migration.V2

Assembly

Google.Cloud.BigQuery.Migration.V2.dll

Constructors

TranslationConfigDetails()

public TranslationConfigDetails()

TranslationConfigDetails(TranslationConfigDetails)

public TranslationConfigDetails(TranslationConfigDetails other)
Parameter
Name Description
other TranslationConfigDetails

Properties

GcsSourcePath

public string GcsSourcePath { get; set; }

The Cloud Storage path for a directory of files to translate in a task.

Property Value
Type Description
string

GcsTargetPath

public string GcsTargetPath { get; set; }

The Cloud Storage path to write back the corresponding input files to.

Property Value
Type Description
string

HasGcsSourcePath

public bool HasGcsSourcePath { get; }

Gets whether the "gcs_source_path" field is set

Property Value
Type Description
bool

HasGcsTargetPath

public bool HasGcsTargetPath { get; }

Gets whether the "gcs_target_path" field is set

Property Value
Type Description
bool

NameMappingList

public ObjectNameMappingList NameMappingList { get; set; }

The mapping of objects to their desired output names in list form.

Property Value
Type Description
ObjectNameMappingList

OutputNameMappingCase

public TranslationConfigDetails.OutputNameMappingOneofCase OutputNameMappingCase { get; }
Property Value
Type Description
TranslationConfigDetailsOutputNameMappingOneofCase

RequestSource

public string RequestSource { get; set; }

The indicator to show translation request initiator.

Property Value
Type Description
string

SourceDialect

public Dialect SourceDialect { get; set; }

The dialect of the input files.

Property Value
Type Description
Dialect

SourceEnv

public SourceEnv SourceEnv { get; set; }

The default source environment values for the translation.

Property Value
Type Description
SourceEnv

SourceLocationCase

public TranslationConfigDetails.SourceLocationOneofCase SourceLocationCase { get; }
Property Value
Type Description
TranslationConfigDetailsSourceLocationOneofCase

TargetDialect

public Dialect TargetDialect { get; set; }

The target dialect for the engine to translate the input to.

Property Value
Type Description
Dialect

TargetLocationCase

public TranslationConfigDetails.TargetLocationOneofCase TargetLocationCase { get; }
Property Value
Type Description
TranslationConfigDetailsTargetLocationOneofCase

TargetTypes

public RepeatedField<string> TargetTypes { get; }

The types of output to generate, e.g. sql, metadata etc. If not specified, a default set of targets will be generated. Some additional target types may be slower to generate. See the documentation for the set of available target types.

Property Value
Type Description
RepeatedFieldstring