BigQuery Migration V2 API - Class Google::Cloud::Bigquery::Migration::V2::MigrationTask (v0.11.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

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#create_time=

def create_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
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

#last_update_time=

def last_update_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns

#metrics

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

#metrics=

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

#processing_error

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

#resource_error_count

def resource_error_count() -> ::Integer
Returns
  • (::Integer) — 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_count=

def resource_error_count=(value) -> ::Integer
Parameter
  • value (::Integer) — 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.
Returns
  • (::Integer) — 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) — Count of all the processing errors in this task and its subtasks.

#total_processing_error_count=

def total_processing_error_count=(value) -> ::Integer
Parameter
  • value (::Integer) — Count of all the processing errors in this task and its subtasks.
Returns
  • (::Integer) — Count of all the processing errors in this task and its subtasks.

#total_resource_error_count

def total_resource_error_count() -> ::Integer
Returns
  • (::Integer) — Count of all the resource errors in this task and its subtasks.

#total_resource_error_count=

def total_resource_error_count=(value) -> ::Integer
Parameter
  • value (::Integer) — Count of all the resource errors in this task and its subtasks.
Returns
  • (::Integer) — 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

#translation_config_details=

def translation_config_details=(value) -> ::Google::Cloud::Bigquery::Migration::V2::TranslationConfigDetails
Parameter
Returns

#translation_details

def translation_details() -> ::Google::Cloud::Bigquery::Migration::V2::TranslationDetails
Returns

#translation_details=

def translation_details=(value) -> ::Google::Cloud::Bigquery::Migration::V2::TranslationDetails
Parameter
Returns

#type

def type() -> ::String
Returns
  • (::String) — The type of the task. This must be one of the supported task types: Translation_Teradata2BQ, Translation_Redshift2BQ, Translation_Bteq2BQ, Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ, Translation_Snowflake2BQ, Translation_Netezza2BQ, Translation_AzureSynapse2BQ, Translation_Vertica2BQ, Translation_SQLServer2BQ, Translation_Presto2BQ, Translation_MySQL2BQ, Translation_Postgresql2BQ, Translation_SQLite2BQ, Translation_Greenplum2BQ.

#type=

def type=(value) -> ::String
Parameter
  • value (::String) — The type of the task. This must be one of the supported task types: Translation_Teradata2BQ, Translation_Redshift2BQ, Translation_Bteq2BQ, Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ, Translation_Snowflake2BQ, Translation_Netezza2BQ, Translation_AzureSynapse2BQ, Translation_Vertica2BQ, Translation_SQLServer2BQ, Translation_Presto2BQ, Translation_MySQL2BQ, Translation_Postgresql2BQ, Translation_SQLite2BQ, Translation_Greenplum2BQ.
Returns
  • (::String) — The type of the task. This must be one of the supported task types: Translation_Teradata2BQ, Translation_Redshift2BQ, Translation_Bteq2BQ, Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ, Translation_Snowflake2BQ, Translation_Netezza2BQ, Translation_AzureSynapse2BQ, Translation_Vertica2BQ, Translation_SQLServer2BQ, Translation_Presto2BQ, Translation_MySQL2BQ, Translation_Postgresql2BQ, Translation_SQLite2BQ, Translation_Greenplum2BQ.