NAME
Google::Cloud::Translation::V3::Common - Compiled Protocol Buffers messages for google/cloud/translate/v3/common.proto
SYNOPSIS
use Google::Cloud::Translation::V3::Common;
my $msg = Google::Cloud::Translation::V3::Common::GcsInputSource->new({
input_uri => $input_uri,
});
# Read or update a field
my $val = $msg->input_uri();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Translation::V3::Common::GcsInputSource->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/translate/v3/common.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::Translation::V3::Common::GcsInputSource
The Google Cloud Storage location for the input content.
Inherits from Protobuf::Message.
Accessors
$msg->input_uri()/$msg->input_uri($value)Type:
StringRequired. Source data URI. For example, `gs://my_bucket/my_object`.
Google::Cloud::Translation::V3::Common::FileInputSource
An inlined file.
Inherits from Protobuf::Message.
Accessors
$msg->mime_type()/$msg->mime_type($value)Type:
StringRequired. The file's mime type.
$msg->content()/$msg->content($value)Type:
BytesRequired. The file's byte contents.
$msg->display_name()/$msg->display_name($value)Type:
StringRequired. The file's display name.
Google::Cloud::Translation::V3::Common::GcsOutputDestination
The Google Cloud Storage location for the output content.
Inherits from Protobuf::Message.
Accessors
$msg->output_uri_prefix()/$msg->output_uri_prefix($value)Type:
StringRequired. Google Cloud Storage URI to output directory. For example, `gs://bucket/directory`. The requesting user must have write permission to the bucket. The directory will be created if it doesn't exist.
Google::Cloud::Translation::V3::Common::GlossaryEntry
Represents a single entry in a glossary.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. The resource name of the entry. Format: `projects/*/locations/*/glossaries/*/glossaryEntries/*`
$msg->terms_pair()/$msg->terms_pair($value)Type:
Message(Google::Cloud::Translation::V3::Common::GlossaryEntry::GlossaryTermsPair)Used for an unidirectional glossary.
$msg->terms_set()/$msg->terms_set($value)Type:
Message(Google::Cloud::Translation::V3::Common::GlossaryEntry::GlossaryTermsSet)Used for an equivalent term sets glossary.
$msg->description()/$msg->description($value)Type:
StringDescribes the glossary entry.
Google::Cloud::Translation::V3::Common::GlossaryTerm
Represents a single glossary term
Inherits from Protobuf::Message.
Accessors
$msg->language_code()/$msg->language_code($value)Type:
StringThe language for this glossary term.
$msg->text()/$msg->text($value)Type:
StringThe text for the glossary term.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Translation::V3::Common::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.