BigQuery Migration V2 API - Class Google::Cloud::Bigquery::Migration::V2::MigrationTask (v0.21.0)

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
Returns
  • (::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
Parameter
  • 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.

Returns
  • (::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
Returns

#id

def id() -> ::String
Returns
  • (::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
Returns

#metrics

def metrics() -> ::Array<::Google::Cloud::Bigquery::Migration::V2::TimeSeries>
Returns

#processing_error

def processing_error() -> ::Google::Rpc::ErrorInfo
Returns

#resource_error_count

def resource_error_count() -> ::Integer
Returns
  • (::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_count that is higher than the size of resource_error_details.

#resource_error_details

def resource_error_details() -> ::Array<::Google::Cloud::Bigquery::Migration::V2::ResourceErrorDetail>
Returns

#state

def state() -> ::Google::Cloud::Bigquery::Migration::V2::MigrationTask::State
Returns

#task_result

def task_result() -> ::Google::Cloud::Bigquery::Migration::V2::MigrationTaskResult
Returns

#total_processing_error_count

def total_processing_error_count() -> ::Integer
Returns
  • (::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
Returns
  • (::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
Returns
  • (::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
Parameter
  • 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.

Returns
  • (::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
Returns
  • (::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
Parameter
  • 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.

Returns
  • (::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
Returns
  • (::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
Parameter
  • 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.

Returns
  • (::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.