Reference documentation and code samples for the Google Cloud BigQuery Migration V2 Client class TranslationDetails.
The translation details to capture the necessary settings for a translation job.
Generated from protobuf message google.cloud.bigquery.migration.v2.TranslationDetails
Namespace
Google \ Cloud \ BigQuery \ Migration \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ source_target_mapping
↳ target_base_uri
string
The base URI for all writes to persistent storage.
↳ source_environment
↳ target_return_literals
array
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
array
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.
getSourceTargetMapping
The mapping from source to target SQL.
setSourceTargetMapping
The mapping from source to target SQL.
$this
getTargetBaseUri
The base URI for all writes to persistent storage.
string
setTargetBaseUri
The base URI for all writes to persistent storage.
var
string
$this
getSourceEnvironment
The default source environment values for the translation.
hasSourceEnvironment
clearSourceEnvironment
setSourceEnvironment
The default source environment values for the translation.
$this
getTargetReturnLiterals
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.
setTargetReturnLiterals
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.
var
string[]
$this
getTargetTypes
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.
setTargetTypes
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.
var
string[]
$this