NAME
Google::Cloud::Bigquery::Migration::V2::TranslationConfig - Compiled Protocol Buffers messages for google/cloud/bigquery/migration/v2/translation_config.proto
SYNOPSIS
use Google::Cloud::Bigquery::Migration::V2::TranslationConfig;
my $msg = Google::Cloud::Bigquery::Migration::V2::TranslationConfig::TranslationConfigDetails->new({
gcs_source_path => $gcs_source_path,
gcs_target_path => $gcs_target_path,
name_mapping_list => $name_mapping_list,
source_dialect => $source_dialect,
});
# Read or update a field
my $val = $msg->gcs_source_path();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Bigquery::Migration::V2::TranslationConfig::TranslationConfigDetails->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/bigquery/migration/v2/translation_config.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Bigquery::Migration::V2::TranslationConfig::TranslationConfigDetails
The translation config to capture necessary settings for a translation task and subtask.
Inherits from Protobuf::Message.
Accessors
$msg->gcs_source_path()/$msg->gcs_source_path($value)Type:
StringThe Cloud Storage path for a directory of files to translate in a task.
$msg->gcs_target_path()/$msg->gcs_target_path($value)Type:
StringThe Cloud Storage path to write back the corresponding input files to.
$msg->name_mapping_list()/$msg->name_mapping_list($value)Type:
Message(Google::Cloud::Bigquery::Migration::V2::TranslationConfig::ObjectNameMappingList)The mapping of objects to their desired output names in list form.
$msg->source_dialect()/$msg->source_dialect($value)Type:
Message(Google::Cloud::Bigquery::Migration::V2::TranslationConfig::Dialect)The dialect of the input files.
$msg->target_dialect()/$msg->target_dialect($value)Type:
Message(Google::Cloud::Bigquery::Migration::V2::TranslationConfig::Dialect)The target dialect for the engine to translate the input to.
$msg->source_env()/$msg->source_env($value)Type:
Message(Google::Cloud::Bigquery::Migration::V2::TranslationConfig::SourceEnv)The default source environment values for the translation.
$msg->request_source()/$msg->request_source($value)Type:
StringThe indicator to show translation request initiator.
$msg->target_types()/$msg->target_types($value)Type:
StringThe types of output to generate, e.g. sql, metadata 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.
Google::Cloud::Bigquery::Migration::V2::TranslationConfig::Dialect
The possible dialect options for translation.
Inherits from Protobuf::Message.
Accessors
$msg->bigquery_dialect()/$msg->bigquery_dialect($value)Type:
Message(Google::Cloud::Bigquery::Migration::V2::TranslationConfig::BigQueryDialect)The BigQuery dialect
$msg->hiveql_dialect()/$msg->hiveql_dialect($value)Type:
Message(Google::Cloud::Bigquery::Migration::V2::TranslationConfig::HiveQLDialect)The HiveQL dialect
$msg->redshift_dialect()/$msg->redshift_dialect($value)Type:
Message(Google::Cloud::Bigquery::Migration::V2::TranslationConfig::RedshiftDialect)The Redshift dialect
$msg->teradata_dialect()/$msg->teradata_dialect($value)Type:
Message(Google::Cloud::Bigquery::Migration::V2::TranslationConfig::TeradataDialect)The Teradata dialect
$msg->oracle_dialect()/$msg->oracle_dialect($value)Type:
Message(Google::Cloud::Bigquery::Migration::V2::TranslationConfig::OracleDialect)The Oracle dialect
$msg->sparksql_dialect()/$msg->sparksql_dialect($value)Type:
Message(Google::Cloud::Bigquery::Migration::V2::TranslationConfig::SparkSQLDialect)The SparkSQL dialect
$msg->snowflake_dialect()/$msg->snowflake_dialect($value)Type:
Message(Google::Cloud::Bigquery::Migration::V2::TranslationConfig::SnowflakeDialect)The Snowflake dialect
$msg->netezza_dialect()/$msg->netezza_dialect($value)Type:
Message(Google::Cloud::Bigquery::Migration::V2::TranslationConfig::NetezzaDialect)The Netezza dialect
$msg->azure_synapse_dialect()/$msg->azure_synapse_dialect($value)Type:
Message(Google::Cloud::Bigquery::Migration::V2::TranslationConfig::AzureSynapseDialect)The Azure Synapse dialect
$msg->vertica_dialect()/$msg->vertica_dialect($value)Type:
Message(Google::Cloud::Bigquery::Migration::V2::TranslationConfig::VerticaDialect)The Vertica dialect
$msg->sql_server_dialect()/$msg->sql_server_dialect($value)Type:
Message(Google::Cloud::Bigquery::Migration::V2::TranslationConfig::SQLServerDialect)The SQL Server dialect
$msg->postgresql_dialect()/$msg->postgresql_dialect($value)Type:
Message(Google::Cloud::Bigquery::Migration::V2::TranslationConfig::PostgresqlDialect)The Postgresql dialect
$msg->presto_dialect()/$msg->presto_dialect($value)Type:
Message(Google::Cloud::Bigquery::Migration::V2::TranslationConfig::PrestoDialect)The Presto dialect
$msg->mysql_dialect()/$msg->mysql_dialect($value)Type:
Message(Google::Cloud::Bigquery::Migration::V2::TranslationConfig::MySQLDialect)The MySQL dialect
$msg->db2_dialect()/$msg->db2_dialect($value)Type:
Message(Google::Cloud::Bigquery::Migration::V2::TranslationConfig::DB2Dialect)DB2 dialect
$msg->sqlite_dialect()/$msg->sqlite_dialect($value)Type:
Message(Google::Cloud::Bigquery::Migration::V2::TranslationConfig::SQLiteDialect)SQLite dialect
$msg->greenplum_dialect()/$msg->greenplum_dialect($value)Type:
Message(Google::Cloud::Bigquery::Migration::V2::TranslationConfig::GreenplumDialect)Greenplum dialect
Google::Cloud::Bigquery::Migration::V2::TranslationConfig::BigQueryDialect
The dialect definition for BigQuery.
Inherits from Protobuf::Message.
Google::Cloud::Bigquery::Migration::V2::TranslationConfig::HiveQLDialect
The dialect definition for HiveQL.
Inherits from Protobuf::Message.
Google::Cloud::Bigquery::Migration::V2::TranslationConfig::RedshiftDialect
The dialect definition for Redshift.
Inherits from Protobuf::Message.
Google::Cloud::Bigquery::Migration::V2::TranslationConfig::TeradataDialect
The dialect definition for Teradata.
Inherits from Protobuf::Message.
Accessors
$msg->mode()/$msg->mode($value)Type:
Enum(Google::Cloud::Bigquery::Migration::V2::TeradataDialect::Mode)Which Teradata sub-dialect mode the user specifies.
Enum: TeradataDialect::Mode
MODE_UNSPECIFIED=>0SQL=>1BTEQ=>2
Google::Cloud::Bigquery::Migration::V2::TranslationConfig::OracleDialect
The dialect definition for Oracle.
Inherits from Protobuf::Message.
Google::Cloud::Bigquery::Migration::V2::TranslationConfig::SparkSQLDialect
The dialect definition for SparkSQL.
Inherits from Protobuf::Message.
Google::Cloud::Bigquery::Migration::V2::TranslationConfig::SnowflakeDialect
The dialect definition for Snowflake.
Inherits from Protobuf::Message.
Google::Cloud::Bigquery::Migration::V2::TranslationConfig::NetezzaDialect
The dialect definition for Netezza.
Inherits from Protobuf::Message.
Google::Cloud::Bigquery::Migration::V2::TranslationConfig::AzureSynapseDialect
The dialect definition for Azure Synapse.
Inherits from Protobuf::Message.
Google::Cloud::Bigquery::Migration::V2::TranslationConfig::VerticaDialect
The dialect definition for Vertica.
Inherits from Protobuf::Message.
Google::Cloud::Bigquery::Migration::V2::TranslationConfig::SQLServerDialect
The dialect definition for SQL Server.
Inherits from Protobuf::Message.
Google::Cloud::Bigquery::Migration::V2::TranslationConfig::PostgresqlDialect
The dialect definition for Postgresql.
Inherits from Protobuf::Message.
Google::Cloud::Bigquery::Migration::V2::TranslationConfig::PrestoDialect
The dialect definition for Presto.
Inherits from Protobuf::Message.
Google::Cloud::Bigquery::Migration::V2::TranslationConfig::MySQLDialect
The dialect definition for MySQL.
Inherits from Protobuf::Message.
Google::Cloud::Bigquery::Migration::V2::TranslationConfig::DB2Dialect
The dialect definition for DB2.
Inherits from Protobuf::Message.
Google::Cloud::Bigquery::Migration::V2::TranslationConfig::SQLiteDialect
The dialect definition for SQLite.
Inherits from Protobuf::Message.
Google::Cloud::Bigquery::Migration::V2::TranslationConfig::GreenplumDialect
The dialect definition for Greenplum.
Inherits from Protobuf::Message.
Google::Cloud::Bigquery::Migration::V2::TranslationConfig::ObjectNameMappingList
Represents a map of name mappings using a list of key:value proto messages of existing name to desired output name.
Inherits from Protobuf::Message.
Accessors
$msg->name_map()/$msg->name_map($value)Type:
Message(Google::Cloud::Bigquery::Migration::V2::TranslationConfig::ObjectNameMapping)The elements of the object name map.
Google::Cloud::Bigquery::Migration::V2::TranslationConfig::ObjectNameMapping
Represents a key-value pair of NameMappingKey to NameMappingValue to represent the mapping of SQL names from the input value to desired output.
Inherits from Protobuf::Message.
Accessors
$msg->source()/$msg->source($value)Type:
Message(Google::Cloud::Bigquery::Migration::V2::TranslationConfig::NameMappingKey)The name of the object in source that is being mapped.
$msg->target()/$msg->target($value)Type:
Message(Google::Cloud::Bigquery::Migration::V2::TranslationConfig::NameMappingValue)The desired target name of the object that is being mapped.
Google::Cloud::Bigquery::Migration::V2::TranslationConfig::NameMappingKey
The potential components of a full name mapping that will be mapped during translation in the source data warehouse.
Inherits from Protobuf::Message.
Accessors
$msg->type()/$msg->type($value)Type:
Enum(Google::Cloud::Bigquery::Migration::V2::NameMappingKey::Type)The type of object that is being mapped.
$msg->database()/$msg->database($value)Type:
StringThe database name (BigQuery project ID equivalent in the source data warehouse).
$msg->schema()/$msg->schema($value)Type:
StringThe schema name (BigQuery dataset equivalent in the source data warehouse).
$msg->relation()/$msg->relation($value)Type:
StringThe relation name (BigQuery table or view equivalent in the source data warehouse).
$msg->attribute()/$msg->attribute($value)Type:
StringThe attribute name (BigQuery column equivalent in the source data warehouse).
Enum: NameMappingKey::Type
TYPE_UNSPECIFIED=>0DATABASE=>1SCHEMA=>2RELATION=>3ATTRIBUTE=>4RELATION_ALIAS=>5ATTRIBUTE_ALIAS=>6FUNCTION=>7
Google::Cloud::Bigquery::Migration::V2::TranslationConfig::NameMappingValue
The potential components of a full name mapping that will be mapped during translation in the target data warehouse.
Inherits from Protobuf::Message.
Accessors
$msg->database()/$msg->database($value)Type:
StringThe database name (BigQuery project ID equivalent in the target data warehouse).
$msg->schema()/$msg->schema($value)Type:
StringThe schema name (BigQuery dataset equivalent in the target data warehouse).
$msg->relation()/$msg->relation($value)Type:
StringThe relation name (BigQuery table or view equivalent in the target data warehouse).
$msg->attribute()/$msg->attribute($value)Type:
StringThe attribute name (BigQuery column equivalent in the target data warehouse).
Google::Cloud::Bigquery::Migration::V2::TranslationConfig::SourceEnv
Represents the default source environment values for the translation.
Inherits from Protobuf::Message.
Accessors
$msg->default_database()/$msg->default_database($value)Type:
StringThe default database name to fully qualify SQL objects when their database name is missing.
$msg->schema_search_path()/$msg->schema_search_path($value)Type:
StringThe schema search path. When SQL objects are missing schema name, translation engine will search through this list to find the value.
$msg->metadata_store_dataset()/$msg->metadata_store_dataset($value)Type:
StringOptional. Expects a valid BigQuery dataset ID that exists, e.g., project-123.metadata_store_123. If specified, translation will search and read the required schema information from a metadata store in this dataset. If metadata store doesn't exist, translation will parse the metadata file and upload the schema info to a temp table in the dataset to speed up future translation jobs.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Bigquery::Migration::V2::TranslationConfig::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.