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
- (::Google::Protobuf::Timestamp) — Time when the task was created.
#create_time=
def create_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — Time when the task was created.
Returns
- (::Google::Protobuf::Timestamp) — Time when the task was created.
#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
- (::Google::Protobuf::Timestamp) — Time when the task was last updated.
#last_update_time=
def last_update_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — Time when the task was last updated.
Returns
- (::Google::Protobuf::Timestamp) — Time when the task was last updated.
#processing_error
def processing_error() -> ::Google::Rpc::ErrorInfo
Returns
- (::Google::Rpc::ErrorInfo) — Output only. An explanation that may be populated when the task is in FAILED state.
#state
def state() -> ::Google::Cloud::Bigquery::Migration::V2::MigrationTask::State
Returns
- (::Google::Cloud::Bigquery::Migration::V2::MigrationTask::State) — Output only. The current state of the task.
#translation_config_details
def translation_config_details() -> ::Google::Cloud::Bigquery::Migration::V2::TranslationConfigDetails
Returns
- (::Google::Cloud::Bigquery::Migration::V2::TranslationConfigDetails) — Task configuration for Batch SQL Translation.
#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 Batch SQL Translation.
Returns
- (::Google::Cloud::Bigquery::Migration::V2::TranslationConfigDetails) — Task configuration for Batch SQL Translation.
#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.
#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.
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.