NAME
Google::Cloud::Bigquery::Migration::V2alpha::TranslationTask - Compiled Protocol Buffers messages for google/cloud/bigquery/migration/v2alpha/translation_task.proto
SYNOPSIS
use Google::Cloud::Bigquery::Migration::V2alpha::TranslationTask;
my $msg = Google::Cloud::Bigquery::Migration::V2alpha::TranslationTask::TranslationFileMapping->new({
input_path => $input_path,
output_path => $output_path,
});
# Read or update a field
my $val = $msg->input_path();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Bigquery::Migration::V2alpha::TranslationTask::TranslationFileMapping->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/bigquery/migration/v2alpha/translation_task.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::V2alpha::TranslationTask::TranslationFileMapping
Mapping between an input and output file to be translated in a subtask.
Inherits from Protobuf::Message.
Accessors
$msg->input_path()/$msg->input_path($value)Type:
StringThe Cloud Storage path for a file to translation in a subtask.
$msg->output_path()/$msg->output_path($value)Type:
StringThe Cloud Storage path to write back the corresponding input file to.
Google::Cloud::Bigquery::Migration::V2alpha::TranslationTask::TranslationTaskDetails
The translation task config to capture necessary settings for a translation task and subtask.
Inherits from Protobuf::Message.
Accessors
$msg->teradata_options()/$msg->teradata_options($value)Type:
Message(Google::Cloud::Bigquery::Migration::V2alpha::TranslationTask::TeradataOptions)The Teradata SQL specific settings for the translation task.
$msg->bteq_options()/$msg->bteq_options($value)Type:
Message(Google::Cloud::Bigquery::Migration::V2alpha::TranslationTask::BteqOptions)The BTEQ specific settings for the translation task.
$msg->input_path()/$msg->input_path($value)Type:
StringThe Cloud Storage path for translation input files.
$msg->output_path()/$msg->output_path($value)Type:
StringThe Cloud Storage path for translation output files.
$msg->file_paths()/$msg->file_paths($value)Type:
Message(Google::Cloud::Bigquery::Migration::V2alpha::TranslationTask::TranslationFileMapping)Cloud Storage files to be processed for translation.
$msg->schema_path()/$msg->schema_path($value)Type:
StringThe Cloud Storage path to DDL files as table schema to assist semantic translation.
$msg->file_encoding()/$msg->file_encoding($value)Type:
Enum(Google::Cloud::Bigquery::Migration::V2alpha::TranslationTaskDetails::FileEncoding)The file encoding type.
$msg->identifier_settings()/$msg->identifier_settings($value)Type:
Message(Google::Cloud::Bigquery::Migration::V2alpha::TranslationTask::IdentifierSettings)The settings for SQL identifiers.
$msg->special_token_map()/$msg->special_token_map($value)Type:
Message(Google::Cloud::Bigquery::Migration::V2alpha::TranslationTask::TranslationTaskDetails::SpecialTokenMapEntry)The map capturing special tokens to be replaced during translation. The key is special token in string. The value is the token data type. This is used to translate SQL query template which contains special token as place holder. The special token makes a query invalid to parse. This map will be applied to annotate those special token with types to let parser understand how to parse them into proper structure with type information.
$msg->filter()/$msg->filter($value)Type:
Message(Google::Cloud::Bigquery::Migration::V2alpha::TranslationTask::Filter)The filter applied to translation details.
$msg->translation_exception_table()/$msg->translation_exception_table($value)Type:
StringSpecifies the exact name of the bigquery table ("dataset.table") to be used for surfacing raw translation errors. If the table does not exist, we will create it. If it already exists and the schema is the same, we will re-use. If the table exists and the schema is different, we will throw an error.
Enum: TranslationTaskDetails::FileEncoding
FILE_ENCODING_UNSPECIFIED=>0UTF_8=>1ISO_8859_1=>2US_ASCII=>3UTF_16=>4UTF_16LE=>5UTF_16BE=>6
Enum: TranslationTaskDetails::TokenType
TOKEN_TYPE_UNSPECIFIED=>0STRING=>1INT64=>2NUMERIC=>3BOOL=>4FLOAT64=>5DATE=>6TIMESTAMP=>7
Google::Cloud::Bigquery::Migration::V2alpha::TranslationTask::Filter
The filter applied to fields of translation details.
Inherits from Protobuf::Message.
Accessors
$msg->input_file_exclusion_prefixes()/$msg->input_file_exclusion_prefixes($value)Type:
StringThe list of prefixes used to exclude processing for input files.
Google::Cloud::Bigquery::Migration::V2alpha::TranslationTask::IdentifierSettings
Settings related to SQL identifiers.
Inherits from Protobuf::Message.
Accessors
$msg->output_identifier_case()/$msg->output_identifier_case($value)Type:
Enum(Google::Cloud::Bigquery::Migration::V2alpha::IdentifierSettings::IdentifierCase)The setting to control output queries' identifier case.
$msg->identifier_rewrite_mode()/$msg->identifier_rewrite_mode($value)Type:
Enum(Google::Cloud::Bigquery::Migration::V2alpha::IdentifierSettings::IdentifierRewriteMode)Specifies the rewrite mode for SQL identifiers.
Enum: IdentifierSettings::IdentifierCase
IDENTIFIER_CASE_UNSPECIFIED=>0ORIGINAL=>1UPPER=>2LOWER=>3
Enum: IdentifierSettings::IdentifierRewriteMode
IDENTIFIER_REWRITE_MODE_UNSPECIFIED=>0NONE=>1REWRITE_ALL=>2
Google::Cloud::Bigquery::Migration::V2alpha::TranslationTask::TeradataOptions
Teradata SQL specific translation task related settings.
Inherits from Protobuf::Message.
Google::Cloud::Bigquery::Migration::V2alpha::TranslationTask::BteqOptions
BTEQ translation task related settings.
Inherits from Protobuf::Message.
Accessors
$msg->project_dataset()/$msg->project_dataset($value)Type:
Message(Google::Cloud::Bigquery::Migration::V2alpha::TranslationTask::DatasetReference)Specifies the project and dataset in BigQuery that will be used for external table creation during the translation.
$msg->default_path_uri()/$msg->default_path_uri($value)Type:
StringThe Cloud Storage location to be used as the default path for files that are not otherwise specified in the file replacement map.
$msg->file_replacement_map()/$msg->file_replacement_map($value)Type:
Message(Google::Cloud::Bigquery::Migration::V2alpha::TranslationTask::BteqOptions::FileReplacementMapEntry)Maps the local paths that are used in BTEQ scripts (the keys) to the paths in Cloud Storage that should be used in their stead in the translation (the value).
Google::Cloud::Bigquery::Migration::V2alpha::TranslationTask::DatasetReference
Reference to a BigQuery dataset.
Inherits from Protobuf::Message.
Accessors
$msg->dataset_id()/$msg->dataset_id($value)Type:
StringA unique ID for this dataset, without the project name. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 1,024 characters.
$msg->project_id()/$msg->project_id($value)Type:
StringThe ID of the project containing this dataset.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Bigquery::Migration::V2alpha::TranslationTask::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.