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.
Implements
IMessageMigrationSubtask, IEquatableMigrationSubtask, IDeepCloneableMigrationSubtask, IBufferMessage, IMessageNamespace
Google.Cloud.BigQuery.Migration.V2Assembly
Google.Cloud.BigQuery.Migration.V2.dll
Constructors
MigrationSubtask()
public MigrationSubtask()
MigrationSubtask(MigrationSubtask)
public MigrationSubtask(MigrationSubtask other)
Parameter | |
---|---|
Name | Description |
other |
MigrationSubtask |
Properties
CreateTime
public Timestamp CreateTime { get; set; }
Time when the subtask was created.
Property Value | |
---|---|
Type | Description |
Timestamp |
LastUpdateTime
public Timestamp LastUpdateTime { get; set; }
Time when the subtask was last updated.
Property Value | |
---|---|
Type | Description |
Timestamp |
Metrics
public RepeatedField<TimeSeries> Metrics { get; }
The metrics for the subtask.
Property Value | |
---|---|
Type | Description |
RepeatedFieldTimeSeries |
MigrationSubtaskName
public MigrationSubtaskName MigrationSubtaskName { get; set; }
MigrationSubtaskName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
string |
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 subtask. Presence of error details does not mean that the subtask failed.
Property Value | |
---|---|
Type | Description |
RepeatedFieldResourceErrorDetail |
State
public MigrationSubtask.Types.State State { get; set; }
Output only. The current state of the subtask.
Property Value | |
---|---|
Type | Description |
MigrationSubtaskTypesState |
TaskId
public string TaskId { get; set; }
The unique ID of the task to which this subtask belongs.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
string |