BigQuery Migration v2 API - Class MigrationTask (1.2.0)

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

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

A single task for a migration which has details about the configuration of the task.

Inheritance

object > MigrationTask

Namespace

Google.Cloud.BigQuery.Migration.V2

Assembly

Google.Cloud.BigQuery.Migration.V2.dll

Constructors

MigrationTask()

public MigrationTask()

MigrationTask(MigrationTask)

public MigrationTask(MigrationTask other)
Parameter
NameDescription
otherMigrationTask

Properties

CreateTime

public Timestamp CreateTime { get; set; }

Time when the task was created.

Property Value
TypeDescription
Timestamp

Id

public string Id { get; set; }

Output only. Immutable. The unique identifier for the migration task. The ID is server-generated.

Property Value
TypeDescription
string

LastUpdateTime

public Timestamp LastUpdateTime { get; set; }

Time when the task was last updated.

Property Value
TypeDescription
Timestamp

ProcessingError

public ErrorInfo ProcessingError { get; set; }

Output only. An explanation that may be populated when the task is in FAILED state.

Property Value
TypeDescription
ErrorInfo

State

public MigrationTask.Types.State State { get; set; }

Output only. The current state of the task.

Property Value
TypeDescription
MigrationTaskTypesState

TaskDetailsCase

public MigrationTask.TaskDetailsOneofCase TaskDetailsCase { get; }
Property Value
TypeDescription
MigrationTaskTaskDetailsOneofCase

TranslationConfigDetails

public TranslationConfigDetails TranslationConfigDetails { get; set; }

Task configuration for Batch SQL Translation.

Property Value
TypeDescription
TranslationConfigDetails

Type

public string Type { get; set; }

The type of the task. This must be one of the supported task types: Translation_Teradata2BQ, Translation_Redshift2BQ, Translation_Bteq2BQ, Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ, Translation_Snowflake2BQ, Translation_Netezza2BQ, Translation_AzureSynapse2BQ, Translation_Vertica2BQ, Translation_SQLServer2BQ, Translation_Presto2BQ, Translation_MySQL2BQ, Translation_Postgresql2BQ.

Property Value
TypeDescription
string