NAME
Google::Cloud::Speech::V2::LocationsMetadata - Compiled Protocol Buffers messages for google/cloud/speech/v2/locations_metadata.proto
SYNOPSIS
use Google::Cloud::Speech::V2::LocationsMetadata;
my $msg = Google::Cloud::Speech::V2::LocationsMetadata::ModelFeature->new({
feature => $feature,
release_state => $release_state,
});
# Read or update a field
my $val = $msg->feature();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Speech::V2::LocationsMetadata::ModelFeature->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/speech/v2/locations_metadata.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::Speech::V2::LocationsMetadata::ModelFeature
Represents a singular feature of a model. If the feature is `recognizer`, the release_state of the feature represents the release_state of the model
Inherits from Protobuf::Message.
Accessors
$msg->feature()/$msg->feature($value)Type:
StringThe name of the feature (Note: the feature can be `recognizer`)
$msg->release_state()/$msg->release_state($value)Type:
StringThe release state of the feature
Google::Cloud::Speech::V2::LocationsMetadata::ModelFeatures
Represents the collection of features belonging to a model
Inherits from Protobuf::Message.
Accessors
$msg->model_feature()/$msg->model_feature($value)Type:
Message(Google::Cloud::Speech::V2::LocationsMetadata::ModelFeature)Repeated field that contains all features of the model
Google::Cloud::Speech::V2::LocationsMetadata::ModelMetadata
The metadata about the models in a given region for a specific locale. Currently this is just the features of the model
Inherits from Protobuf::Message.
Accessors
$msg->model_features()/$msg->model_features($value)Type:
Message(Google::Cloud::Speech::V2::LocationsMetadata::ModelMetadata::ModelFeaturesEntry)Map of the model name -> features of that model
Google::Cloud::Speech::V2::LocationsMetadata::LanguageMetadata
The metadata about locales available in a given region. Currently this is just the models that are available for each locale
Inherits from Protobuf::Message.
Accessors
$msg->models()/$msg->models($value)Type:
Message(Google::Cloud::Speech::V2::LocationsMetadata::LanguageMetadata::ModelsEntry)Map of locale (language code) -> models
Google::Cloud::Speech::V2::LocationsMetadata::AccessMetadata
The access metadata for a particular region. This can be applied if the org policy for the given project disallows a particular region.
Inherits from Protobuf::Message.
Accessors
$msg->constraint_type()/$msg->constraint_type($value)Type:
Enum(Google::Cloud::Speech::V2::AccessMetadata::ConstraintType)Describes the different types of constraints that are applied.
Enum: AccessMetadata::ConstraintType
CONSTRAINT_TYPE_UNSPECIFIED=>0RESOURCE_LOCATIONS_ORG_POLICY_CREATE_CONSTRAINT=>1
Google::Cloud::Speech::V2::LocationsMetadata::LocationsMetadata
Main metadata for the Locations API for STT V2. Currently this is just the metadata about locales, models, and features
Inherits from Protobuf::Message.
Accessors
$msg->languages()/$msg->languages($value)Type:
Message(Google::Cloud::Speech::V2::LocationsMetadata::LanguageMetadata)Information about available locales, models, and features represented in the hierarchical structure of locales -> models -> features
$msg->access_metadata()/$msg->access_metadata($value)Type:
Message(Google::Cloud::Speech::V2::LocationsMetadata::AccessMetadata)Information about access metadata for the region and given project.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Speech::V2::LocationsMetadata::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.