The default source environment values for the translation.
↳ 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.
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.
Parameter
Name
Description
var
string[]
Returns
Type
Description
$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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud BigQuery Migration V2 Client - Class TranslationDetails (1.1.5)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.5 (latest)](/php/docs/reference/cloud-bigquery-migration/latest/V2.TranslationDetails)\n- [1.1.4](/php/docs/reference/cloud-bigquery-migration/1.1.4/V2.TranslationDetails)\n- [1.0.0](/php/docs/reference/cloud-bigquery-migration/1.0.0/V2.TranslationDetails)\n- [0.4.5](/php/docs/reference/cloud-bigquery-migration/0.4.5/V2.TranslationDetails)\n- [0.3.3](/php/docs/reference/cloud-bigquery-migration/0.3.3/V2.TranslationDetails)\n- [0.2.2](/php/docs/reference/cloud-bigquery-migration/0.2.2/V2.TranslationDetails)\n- [0.1.4](/php/docs/reference/cloud-bigquery-migration/0.1.4/V2.TranslationDetails) \nReference documentation and code samples for the Google Cloud BigQuery Migration V2 Client class TranslationDetails.\n\nThe translation details to capture the necessary settings for a translation\njob.\n\nGenerated from protobuf message `google.cloud.bigquery.migration.v2.TranslationDetails`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ BigQuery \\\\ Migration \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getSourceTargetMapping\n\nThe mapping from source to target SQL.\n\n### setSourceTargetMapping\n\nThe mapping from source to target SQL.\n\n### getTargetBaseUri\n\nThe base URI for all writes to persistent storage.\n\n### setTargetBaseUri\n\nThe base URI for all writes to persistent storage.\n\n### getSourceEnvironment\n\nThe default source environment values for the translation.\n\n### hasSourceEnvironment\n\n### clearSourceEnvironment\n\n### setSourceEnvironment\n\nThe default source environment values for the translation.\n\n### getTargetReturnLiterals\n\nThe list of literal targets that will be directly returned to the response.\n\nEach entry consists of the constructed path, EXCLUDING the base path. Not\nproviding a target_base_uri will prevent writing to persistent storage.\n\n### setTargetReturnLiterals\n\nThe list of literal targets that will be directly returned to the response.\n\nEach entry consists of the constructed path, EXCLUDING the base path. Not\nproviding a target_base_uri will prevent writing to persistent storage.\n\n### getTargetTypes\n\nThe types of output to generate, e.g. sql, metadata,\nlineage_from_sql_scripts, etc. If not specified, a default set of\ntargets will be generated. Some additional target types may be slower to\ngenerate. See the documentation for the set of available target types.\n\n### setTargetTypes\n\nThe types of output to generate, e.g. sql, metadata,\nlineage_from_sql_scripts, etc. If not specified, a default set of\ntargets will be generated. Some additional target types may be slower to\ngenerate. See the documentation for the set of available target types."]]