NAME
Google::Actions::Sdk::V2::Conversation::Scene - Compiled Protocol Buffers messages for google/actions/sdk/v2/conversation/scene.proto
SYNOPSIS
use Google::Actions::Sdk::V2::Conversation::Scene;
my $msg = Google::Actions::Sdk::V2::Conversation::Scene::Slot->new({
mode => $mode,
status => $status,
value => $value,
updated => $updated,
});
# Read or update a field
my $val = $msg->mode();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Actions::Sdk::V2::Conversation::Scene::Slot->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/actions/sdk/v2/conversation/scene.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::Conversation::Scene::Slot
Represents a slot.
Inherits from Protobuf::Message.
Accessors
$msg->mode()/$msg->mode($value)Type:
Enum(Google::Actions::Sdk::V2::Conversation::Slot::SlotMode)The mode of the slot (required or optional). Can be set by developer.
$msg->status()/$msg->status($value)Type:
Enum(Google::Actions::Sdk::V2::Conversation::Slot::SlotStatus)The status of the slot.
$msg->value()/$msg->value($value)Type:
Message(Google::Protobuf::Struct::Value)The value of the slot. Changing this value in the response, will modify the value in slot filling.
$msg->updated()/$msg->updated($value)Type:
BoolIndicates if the slot value was collected on the last turn. This field is read-only.
$msg->prompt()/$msg->prompt($value)Type:
Message(Google::Actions::Sdk::V2::Conversation::Prompt::Prompt)Optional. This prompt is sent to the user when needed to fill a required slot. This prompt overrides the existing prompt defined in the console. This field is not included in the webhook request.
Enum: Slot::SlotMode
MODE_UNSPECIFIED=>0OPTIONAL=>1REQUIRED=>2
Enum: Slot::SlotStatus
SLOT_UNSPECIFIED=>0EMPTY=>1INVALID=>2FILLED=>3
SEE ALSO
Protobuf, Protobuf::Message, Google::Actions::Sdk::V2::Conversation::Scene::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.