NAME
Google::Actions::Sdk::V2::Interactionmodel::Type::Type - Compiled Protocol Buffers messages for google/actions/sdk/v2/interactionmodel/type/type.proto
SYNOPSIS
use Google::Actions::Sdk::V2::Interactionmodel::Type::Type;
my $msg = Google::Actions::Sdk::V2::Interactionmodel::Type::Type::Type->new({
synonym => $synonym,
regular_expression => $regular_expression,
free_text => $free_text,
exclusions => $exclusions,
});
# Read or update a field
my $val = $msg->synonym();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Actions::Sdk::V2::Interactionmodel::Type::Type::Type->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/actions/sdk/v2/interactionmodel/type/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::Type::Type
Declaration of a custom type, as opposed to built-in types. Types can be assigned to slots in a scene or parameters of an intent's training phrases. Practically, Types can be thought of as enums. Note, type name is specified in the name of the file.
Inherits from Protobuf::Message.
Accessors
$msg->synonym()/$msg->synonym($value)Type:
Message(Google::Actions::Sdk::V2::Interactionmodel::Type::SynonymType::SynonymType)Synonyms type, which is essentially an enum.
$msg->regular_expression()/$msg->regular_expression($value)Type:
Message(Google::Actions::Sdk::V2::Interactionmodel::Type::RegularExpressionType::RegularExpressionType)Regex type, allows regular expression matching.
$msg->free_text()/$msg->free_text($value)Type:
Message(Google::Actions::Sdk::V2::Interactionmodel::Type::FreeTextType::FreeTextType)FreeText type.
$msg->exclusions()/$msg->exclusions($value)Type:
StringSet of exceptional words/phrases that shouldn't be matched by type. Note: If word/phrase is matched by the type but listed as an exclusion it won't be returned in parameter extraction result. This field is localizable.
SEE ALSO
Protobuf, Protobuf::Message, Google::Actions::Sdk::V2::Interactionmodel::Type::Type::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.