public sealed class MigrationTask : IMessage<MigrationTask>, IEquatable<MigrationTask>, IDeepCloneable<MigrationTask>, IBufferMessage, IMessageReference 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.
Implements
IMessageMigrationTask, IEquatableMigrationTask, IDeepCloneableMigrationTask, IBufferMessage, IMessageNamespace
Google.Cloud.BigQuery.Migration.V2Assembly
Google.Cloud.BigQuery.Migration.V2.dll
Constructors
MigrationTask()
public MigrationTask()MigrationTask(MigrationTask)
public MigrationTask(MigrationTask other)| Parameter | |
|---|---|
| Name | Description |
other |
MigrationTask |
Properties
CreateTime
public Timestamp CreateTime { get; set; }Time when the task was created.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|
Id
public string Id { get; set; }Output only. Immutable. The unique identifier for the migration task. The ID is server-generated.
| Property Value | |
|---|---|
| Type | Description |
string |
|
LastUpdateTime
public Timestamp LastUpdateTime { get; set; }Time when the task was last updated.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|
Metrics
public RepeatedField<TimeSeries> Metrics { get; }The metrics for the task.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldTimeSeries |
|
ProcessingError
public ErrorInfo ProcessingError { get; set; }Output only. An explanation that may be populated when the task is in FAILED state.
| Property Value | |
|---|---|
| Type | Description |
ErrorInfo |
|
ResourceErrorCount
public int ResourceErrorCount { get; set; }The number or resources with errors. Note: This is not the total
number of errors as each resource can have more than one error.
This is used to indicate truncation by having a resource_error_count
that is higher than the size of resource_error_details.
| Property Value | |
|---|---|
| Type | Description |
int |
|
ResourceErrorDetails
public RepeatedField<ResourceErrorDetail> ResourceErrorDetails { get; }Output only. Provides details to errors and issues encountered while processing the task. Presence of error details does not mean that the task failed.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldResourceErrorDetail |
|
State
public MigrationTask.Types.State State { get; set; }Output only. The current state of the task.
| Property Value | |
|---|---|
| Type | Description |
MigrationTaskTypesState |
|
TaskDetailsCase
public MigrationTask.TaskDetailsOneofCase TaskDetailsCase { get; }| Property Value | |
|---|---|
| Type | Description |
MigrationTaskTaskDetailsOneofCase |
|
TaskResult
public MigrationTaskResult TaskResult { get; set; }Output only. The result of the task.
| Property Value | |
|---|---|
| Type | Description |
MigrationTaskResult |
|
TotalProcessingErrorCount
public int TotalProcessingErrorCount { get; set; }Count of all the processing errors in this task and its subtasks.
| Property Value | |
|---|---|
| Type | Description |
int |
|
TotalResourceErrorCount
public int TotalResourceErrorCount { get; set; }Count of all the resource errors in this task and its subtasks.
| Property Value | |
|---|---|
| Type | Description |
int |
|
TranslationConfigDetails
public TranslationConfigDetails TranslationConfigDetails { get; set; }Task configuration for CW Batch/Offline SQL Translation.
| Property Value | |
|---|---|
| Type | Description |
TranslationConfigDetails |
|
TranslationDetails
public TranslationDetails TranslationDetails { get; set; }Task details for unified SQL Translation.
| Property Value | |
|---|---|
| Type | Description |
TranslationDetails |
|
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, Translation_SQLite2BQ, Translation_Greenplum2BQ.
| Property Value | |
|---|---|
| Type | Description |
string |
|