NAME
Google::Actions::Sdk::V2::Interactionmodel::Type::SynonymType - Compiled Protocol Buffers messages for google/actions/sdk/v2/interactionmodel/type/synonym_type.proto
SYNOPSIS
use Google::Actions::Sdk::V2::Interactionmodel::Type::SynonymType;
my $msg = Google::Actions::Sdk::V2::Interactionmodel::Type::SynonymType::SynonymType->new({
match_type => $match_type,
accept_unknown_values => $accept_unknown_values,
entities => $entities,
});
# Read or update a field
my $val = $msg->match_type();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Actions::Sdk::V2::Interactionmodel::Type::SynonymType::SynonymType->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/actions/sdk/v2/interactionmodel/type/synonym_type.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Actions::Sdk::V2::Interactionmodel::Type::SynonymType::SynonymType
Type that matches text by set of synonyms.
Inherits from Protobuf::Message.
Accessors
$msg->match_type()/$msg->match_type($value)Type:
Enum(Google::Actions::Sdk::V2::Interactionmodel::Type::SynonymType::MatchType)Optional. The match type for the synonym.
$msg->accept_unknown_values()/$msg->accept_unknown_values($value)Type:
BoolOptional. When set to true this will match unknown words or phrases based on surrounding input and intent training data, such as items that might be added to a grocery list.
$msg->entities()/$msg->entities($value)Type:
Message(Google::Actions::Sdk::V2::Interactionmodel::Type::SynonymType::SynonymType::EntitiesEntry)Required. Named map of synonym entities.
Enum: SynonymType::MatchType
UNSPECIFIED=>0EXACT_MATCH=>1FUZZY_MATCH=>2
SEE ALSO
Protobuf, Protobuf::Message, Google::Actions::Sdk::V2::Interactionmodel::Type::SynonymType::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.