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

0.21.0 (latest) 0.20.0 0.19.0 0.18.0 0.17.1 0.16.0 0.15.1 0.14.1 0.13.0 0.12.0 0.11.1 0.10.0 0.9.2 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the BigQuery Migration V2 API class Google::Cloud::Bigquery::Migration::V2::TranslationDetails.

The translation details to capture the necessary settings for a translation
job.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #source_environment

    def source_environment() -> ::Google::Cloud::Bigquery::Migration::V2::SourceEnvironment

**Returns**

- ([::Google::Cloud::Bigquery::Migration::V2::SourceEnvironment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigquery-migration-v2/latest/Google-Cloud-Bigquery-Migration-V2-SourceEnvironment)) --- The default source environment values for the translation.

### #source_environment=

    def source_environment=(value) -> ::Google::Cloud::Bigquery::Migration::V2::SourceEnvironment

**Parameter**

- **value** ([::Google::Cloud::Bigquery::Migration::V2::SourceEnvironment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigquery-migration-v2/latest/Google-Cloud-Bigquery-Migration-V2-SourceEnvironment)) --- The default source environment values for the translation.
**Returns**

- ([::Google::Cloud::Bigquery::Migration::V2::SourceEnvironment](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigquery-migration-v2/latest/Google-Cloud-Bigquery-Migration-V2-SourceEnvironment)) --- The default source environment values for the translation.

### #source_target_mapping

    def source_target_mapping() -> ::Array<::Google::Cloud::Bigquery::Migration::V2::SourceTargetMapping>

**Returns**

- (::Array\<[::Google::Cloud::Bigquery::Migration::V2::SourceTargetMapping](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigquery-migration-v2/latest/Google-Cloud-Bigquery-Migration-V2-SourceTargetMapping)\>) --- The mapping from source to target SQL.

### #source_target_mapping=

    def source_target_mapping=(value) -> ::Array<::Google::Cloud::Bigquery::Migration::V2::SourceTargetMapping>

**Parameter**

- **value** (::Array\<[::Google::Cloud::Bigquery::Migration::V2::SourceTargetMapping](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigquery-migration-v2/latest/Google-Cloud-Bigquery-Migration-V2-SourceTargetMapping)\>) --- The mapping from source to target SQL.
**Returns**

- (::Array\<[::Google::Cloud::Bigquery::Migration::V2::SourceTargetMapping](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigquery-migration-v2/latest/Google-Cloud-Bigquery-Migration-V2-SourceTargetMapping)\>) --- The mapping from source to target SQL.

### #suggestion_config

    def suggestion_config() -> ::Google::Cloud::Bigquery::Migration::V2::SuggestionConfig

**Returns**

- ([::Google::Cloud::Bigquery::Migration::V2::SuggestionConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigquery-migration-v2/latest/Google-Cloud-Bigquery-Migration-V2-SuggestionConfig)) --- The configuration for the suggestion if requested as a target type.

### #suggestion_config=

    def suggestion_config=(value) -> ::Google::Cloud::Bigquery::Migration::V2::SuggestionConfig

**Parameter**

- **value** ([::Google::Cloud::Bigquery::Migration::V2::SuggestionConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigquery-migration-v2/latest/Google-Cloud-Bigquery-Migration-V2-SuggestionConfig)) --- The configuration for the suggestion if requested as a target type.
**Returns**

- ([::Google::Cloud::Bigquery::Migration::V2::SuggestionConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigquery-migration-v2/latest/Google-Cloud-Bigquery-Migration-V2-SuggestionConfig)) --- The configuration for the suggestion if requested as a target type.

### #target_base_uri

    def target_base_uri() -> ::String

**Returns**

- (::String) --- The base URI for all writes to persistent storage.

### #target_base_uri=

    def target_base_uri=(value) -> ::String

**Parameter**

- **value** (::String) --- The base URI for all writes to persistent storage.
**Returns**

- (::String) --- The base URI for all writes to persistent storage.

### #target_return_literals

    def target_return_literals() -> ::Array<::String>

**Returns**

- (::Array\<::String\>) --- The list of literal targets that will be directly returned to the response. Each entry consists of the constructed path, EXCLUDING the base path. Not providing a target_base_uri will prevent writing to persistent storage.

### #target_return_literals=

    def target_return_literals=(value) -> ::Array<::String>

**Parameter**

- **value** (::Array\<::String\>) --- The list of literal targets that will be directly returned to the response. Each entry consists of the constructed path, EXCLUDING the base path. Not providing a target_base_uri will prevent writing to persistent storage.
**Returns**

- (::Array\<::String\>) --- The list of literal targets that will be directly returned to the response. Each entry consists of the constructed path, EXCLUDING the base path. Not providing a target_base_uri will prevent writing to persistent storage.

### #target_types

    def target_types() -> ::Array<::String>

**Returns**

- (::Array\<::String\>) --- The types of output to generate, e.g. sql, metadata, lineage_from_sql_scripts, etc. If not specified, a default set of targets will be generated. Some additional target types may be slower to generate. See the documentation for the set of available target types.

### #target_types=

    def target_types=(value) -> ::Array<::String>

**Parameter**

- **value** (::Array\<::String\>) --- The types of output to generate, e.g. sql, metadata, lineage_from_sql_scripts, etc. If not specified, a default set of targets will be generated. Some additional target types may be slower to generate. See the documentation for the set of available target types.
**Returns**

- (::Array\<::String\>) --- The types of output to generate, e.g. sql, metadata, lineage_from_sql_scripts, etc. If not specified, a default set of targets will be generated. Some additional target types may be slower to generate. See the documentation for the set of available target types.