NAME

Google::Actions::Sdk::V2::Interactionmodel::Type::ClassReference - Compiled Protocol Buffers messages for google/actions/sdk/v2/interactionmodel/type/class_reference.proto

SYNOPSIS

use Google::Actions::Sdk::V2::Interactionmodel::Type::ClassReference;

my $msg = Google::Actions::Sdk::V2::Interactionmodel::Type::ClassReference::ClassReference->new({
    name => $name,
    list => $list,
});

# Read or update a field
my $val = $msg->name();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Actions::Sdk::V2::Interactionmodel::Type::ClassReference::ClassReference->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/actions/sdk/v2/interactionmodel/type/class_reference.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::ClassReference::ClassReference

A reference to a class which is used to declare the type of a field or return value. Enums are also a type of class that can be referenced using ClassReference.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. Name of a built-in type or custom type of the parameter. Examples: `PizzaToppings`, `actions.type.Number`

  • $msg->list() / $msg->list($value)

    Type: Bool

    Optional. Indicates whether the data type represents a list of values.

SEE ALSO

Protobuf, Protobuf::Message, Google::Actions::Sdk::V2::Interactionmodel::Type::ClassReference::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.