BigQuery Migration v2 API - Class MigrationSubtask (1.3.0)

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

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

A subtask for a migration which carries details about the configuration of the subtask. The content of the details should not matter to the end user, but is a contract between the subtask creator and subtask worker.

Inheritance

object > MigrationSubtask

Namespace

Google.Cloud.BigQuery.Migration.V2

Assembly

Google.Cloud.BigQuery.Migration.V2.dll

Constructors

MigrationSubtask()

public MigrationSubtask()

MigrationSubtask(MigrationSubtask)

public MigrationSubtask(MigrationSubtask other)
Parameter
NameDescription
otherMigrationSubtask

Properties

CreateTime

public Timestamp CreateTime { get; set; }

Time when the subtask was created.

Property Value
TypeDescription
Timestamp

LastUpdateTime

public Timestamp LastUpdateTime { get; set; }

Time when the subtask was last updated.

Property Value
TypeDescription
Timestamp

Metrics

public RepeatedField<TimeSeries> Metrics { get; }

The metrics for the subtask.

Property Value
TypeDescription
RepeatedFieldTimeSeries

MigrationSubtaskName

public MigrationSubtaskName MigrationSubtaskName { get; set; }

MigrationSubtaskName-typed view over the Name resource name property.

Property Value
TypeDescription
MigrationSubtaskName

Name

public string Name { get; set; }

Output only. Immutable. The resource name for the migration subtask. The ID is server-generated.

Example: projects/123/locations/us/workflows/345/subtasks/678

Property Value
TypeDescription
string

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

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
TypeDescription
int

ResourceErrorDetails

public RepeatedField<ResourceErrorDetail> ResourceErrorDetails { get; }

Output only. Provides details to errors and issues encountered while processing the subtask. Presence of error details does not mean that the subtask failed.

Property Value
TypeDescription
RepeatedFieldResourceErrorDetail

State

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

Output only. The current state of the subtask.

Property Value
TypeDescription
MigrationSubtaskTypesState

TaskId

public string TaskId { get; set; }

The unique ID of the task to which this subtask belongs.

Property Value
TypeDescription
string

Type

public string Type { get; set; }

The type of the Subtask. The migration service does not check whether this is a known type. It is up to the task creator (i.e. orchestrator or worker) to ensure it only creates subtasks for which there are compatible workers polling for Subtasks.

Property Value
TypeDescription
string