Reference documentation and code samples for the BigQuery Migration V2 API class Google::Cloud::Bigquery::Migration::V2::MigrationTask.
A single task for a migration which has details about the configuration of the task.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#assessment_task_details
def assessment_task_details() -> ::Google::Cloud::Bigquery::Migration::V2::AssessmentTaskDetails-
(::Google::Cloud::Bigquery::Migration::V2::AssessmentTaskDetails) — Task configuration for Assessment.
Note: The following fields are mutually exclusive:
assessment_task_details,translation_config_details,translation_details. If a field in that set is populated, all other fields in the set will automatically be cleared.
#assessment_task_details=
def assessment_task_details=(value) -> ::Google::Cloud::Bigquery::Migration::V2::AssessmentTaskDetails-
value (::Google::Cloud::Bigquery::Migration::V2::AssessmentTaskDetails) — Task configuration for Assessment.
Note: The following fields are mutually exclusive:
assessment_task_details,translation_config_details,translation_details. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Bigquery::Migration::V2::AssessmentTaskDetails) — Task configuration for Assessment.
Note: The following fields are mutually exclusive:
assessment_task_details,translation_config_details,translation_details. If a field in that set is populated, all other fields in the set will automatically be cleared.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — Output only. Time when the task was created.
#id
def id() -> ::String- (::String) — Output only. Immutable. The unique identifier for the migration task. The ID is server-generated.
#last_update_time
def last_update_time() -> ::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — Output only. Time when the task was last updated.
#metrics
def metrics() -> ::Array<::Google::Cloud::Bigquery::Migration::V2::TimeSeries>- (::Array<::Google::Cloud::Bigquery::Migration::V2::TimeSeries>) — Output only. The metrics for the task.
#processing_error
def processing_error() -> ::Google::Rpc::ErrorInfo- (::Google::Rpc::ErrorInfo) — Output only. An explanation that may be populated when the task is in FAILED state.
#resource_error_count
def resource_error_count() -> ::Integer-
(::Integer) — 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_countthat is higher than the size ofresource_error_details.
#resource_error_details
def resource_error_details() -> ::Array<::Google::Cloud::Bigquery::Migration::V2::ResourceErrorDetail>- (::Array<::Google::Cloud::Bigquery::Migration::V2::ResourceErrorDetail>) — Output only. Provides details to errors and issues encountered while processing the task. Presence of error details does not mean that the task failed.
#state
def state() -> ::Google::Cloud::Bigquery::Migration::V2::MigrationTask::State- (::Google::Cloud::Bigquery::Migration::V2::MigrationTask::State) — Output only. The current state of the task.
#task_result
def task_result() -> ::Google::Cloud::Bigquery::Migration::V2::MigrationTaskResult- (::Google::Cloud::Bigquery::Migration::V2::MigrationTaskResult) — Output only. The result of the task.
#total_processing_error_count
def total_processing_error_count() -> ::Integer- (::Integer) — Output only. Count of all the processing errors in this task and its subtasks.
#total_resource_error_count
def total_resource_error_count() -> ::Integer- (::Integer) — Output only. Count of all the resource errors in this task and its subtasks.
#translation_config_details
def translation_config_details() -> ::Google::Cloud::Bigquery::Migration::V2::TranslationConfigDetails-
(::Google::Cloud::Bigquery::Migration::V2::TranslationConfigDetails) — Task configuration for CW Batch/Offline SQL Translation.
Note: The following fields are mutually exclusive:
translation_config_details,assessment_task_details,translation_details. If a field in that set is populated, all other fields in the set will automatically be cleared.
#translation_config_details=
def translation_config_details=(value) -> ::Google::Cloud::Bigquery::Migration::V2::TranslationConfigDetails-
value (::Google::Cloud::Bigquery::Migration::V2::TranslationConfigDetails) — Task configuration for CW Batch/Offline SQL Translation.
Note: The following fields are mutually exclusive:
translation_config_details,assessment_task_details,translation_details. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Bigquery::Migration::V2::TranslationConfigDetails) — Task configuration for CW Batch/Offline SQL Translation.
Note: The following fields are mutually exclusive:
translation_config_details,assessment_task_details,translation_details. If a field in that set is populated, all other fields in the set will automatically be cleared.
#translation_details
def translation_details() -> ::Google::Cloud::Bigquery::Migration::V2::TranslationDetails-
(::Google::Cloud::Bigquery::Migration::V2::TranslationDetails) — Task details for unified SQL Translation.
Note: The following fields are mutually exclusive:
translation_details,assessment_task_details,translation_config_details. If a field in that set is populated, all other fields in the set will automatically be cleared.
#translation_details=
def translation_details=(value) -> ::Google::Cloud::Bigquery::Migration::V2::TranslationDetails-
value (::Google::Cloud::Bigquery::Migration::V2::TranslationDetails) — Task details for unified SQL Translation.
Note: The following fields are mutually exclusive:
translation_details,assessment_task_details,translation_config_details. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Bigquery::Migration::V2::TranslationDetails) — Task details for unified SQL Translation.
Note: The following fields are mutually exclusive:
translation_details,assessment_task_details,translation_config_details. If a field in that set is populated, all other fields in the set will automatically be cleared.
#type
def type() -> ::String-
(::String) — 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.
#type=
def type=(value) -> ::String-
value (::String) — 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.
-
(::String) — 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.