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
AssessmentTaskDetails
public AssessmentTaskDetails AssessmentTaskDetails { get; set; }Task configuration for Assessment.
| Property Value | |
|---|---|
| Type | Description |
AssessmentTaskDetails |
|
CreateTime
public Timestamp CreateTime { get; set; }Output only. 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; }Output only. Time when the task was last updated.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|
Metrics
public RepeatedField<TimeSeries> Metrics { get; }Output only. 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; }Output only. 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; }Output only. Count of all the processing errors in this task and its subtasks.
| Property Value | |
|---|---|
| Type | Description |
int |
|
TotalResourceErrorCount
public int TotalResourceErrorCount { get; set; }Output only. 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.
Assessment:
Assessment_Hive- Assessment for Hive.Assessment_Redshift- Assessment for Redshift.Assessment_Snowflake- Assessment for Snowflake.Assessment_Teradata_v2- Assessment for Teradata.Assessment_Oracle- Assessment for Oracle.Assessment_Hadoop- Assessment for Hadoop.Assessment_Informatica- Assessment for Informatica.
Translation: See Supported Task Types for a list of supported task types.
| Property Value | |
|---|---|
| Type | Description |
string |
|