Google Cloud BigQuery Migration V2 Client - Class TranslationConfigDetails (0.1.4)

Reference documentation and code samples for the Google Cloud BigQuery Migration V2 Client class TranslationConfigDetails.

The translation config to capture necessary settings for a translation task and subtask.

Generated from protobuf message google.cloud.bigquery.migration.v2.TranslationConfigDetails

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ gcs_source_path string

The Cloud Storage path for a directory of files to translate in a task.

↳ gcs_target_path string

The Cloud Storage path to write back the corresponding input files to.

↳ source_dialect Google\Cloud\BigQuery\Migration\V2\Dialect

The dialect of the input files.

↳ target_dialect Google\Cloud\BigQuery\Migration\V2\Dialect

The target dialect for the engine to translate the input to.

↳ name_mapping_list Google\Cloud\BigQuery\Migration\V2\ObjectNameMappingList

The mapping of objects to their desired output names in list form.

↳ source_env Google\Cloud\BigQuery\Migration\V2\SourceEnv

The default source environment values for the translation.

getGcsSourcePath

The Cloud Storage path for a directory of files to translate in a task.

Returns
TypeDescription
string

hasGcsSourcePath

setGcsSourcePath

The Cloud Storage path for a directory of files to translate in a task.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getGcsTargetPath

The Cloud Storage path to write back the corresponding input files to.

Returns
TypeDescription
string

hasGcsTargetPath

setGcsTargetPath

The Cloud Storage path to write back the corresponding input files to.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSourceDialect

The dialect of the input files.

Returns
TypeDescription
Google\Cloud\BigQuery\Migration\V2\Dialect|null

hasSourceDialect

clearSourceDialect

setSourceDialect

The dialect of the input files.

Parameter
NameDescription
var Google\Cloud\BigQuery\Migration\V2\Dialect
Returns
TypeDescription
$this

getTargetDialect

The target dialect for the engine to translate the input to.

Returns
TypeDescription
Google\Cloud\BigQuery\Migration\V2\Dialect|null

hasTargetDialect

clearTargetDialect

setTargetDialect

The target dialect for the engine to translate the input to.

Parameter
NameDescription
var Google\Cloud\BigQuery\Migration\V2\Dialect
Returns
TypeDescription
$this

getNameMappingList

The mapping of objects to their desired output names in list form.

Returns
TypeDescription
Google\Cloud\BigQuery\Migration\V2\ObjectNameMappingList|null

hasNameMappingList

setNameMappingList

The mapping of objects to their desired output names in list form.

Parameter
NameDescription
var Google\Cloud\BigQuery\Migration\V2\ObjectNameMappingList
Returns
TypeDescription
$this

getSourceEnv

The default source environment values for the translation.

Returns
TypeDescription
Google\Cloud\BigQuery\Migration\V2\SourceEnv|null

hasSourceEnv

clearSourceEnv

setSourceEnv

The default source environment values for the translation.

Parameter
NameDescription
var Google\Cloud\BigQuery\Migration\V2\SourceEnv
Returns
TypeDescription
$this

getSourceLocation

Returns
TypeDescription
string

getTargetLocation

Returns
TypeDescription
string

getOutputNameMapping

Returns
TypeDescription
string