NAME
Google::Actions::Sdk::V2::Interactionmodel::Prompt::StaticCanvasPrompt - Compiled Protocol Buffers messages for google/actions/sdk/v2/interactionmodel/prompt/content/static_canvas_prompt.proto
SYNOPSIS
use Google::Actions::Sdk::V2::Interactionmodel::Prompt::StaticCanvasPrompt;
my $msg = Google::Actions::Sdk::V2::Interactionmodel::Prompt::StaticCanvasPrompt::StaticCanvasPrompt->new({
url => $url,
data => $data,
suppress_mic => $suppress_mic,
send_state_data_to_canvas_app => $send_state_data_to_canvas_app,
});
# Read or update a field
my $val = $msg->url();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Actions::Sdk::V2::Interactionmodel::Prompt::StaticCanvasPrompt::StaticCanvasPrompt->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/actions/sdk/v2/interactionmodel/prompt/content/static_canvas_prompt.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::Prompt::StaticCanvasPrompt::StaticCanvasPrompt
Represents a Interactive Canvas response to be sent to the user. This can be used in conjunction with the `first_simple` field in the containing prompt to speak to the user in addition to displaying a interactive canvas response.
Inherits from Protobuf::Message.
Accessors
$msg->url()/$msg->url($value)Type:
StringRequired. URL of the web view to load.
$msg->data()/$msg->data($value)Type:
Message(Google::Protobuf::Struct::Value)Optional. JSON data to be passed through to the immersive experience web page as an event. If the `override` field in the containing prompt is `false` data values defined in this Canvas prompt will be added after data values defined in previous Canvas prompts.
$msg->suppress_mic()/$msg->suppress_mic($value)Type:
BoolOptional. A true value means that the mic won't be opened for capturing input after this immersive response is presented to the user.
$msg->send_state_data_to_canvas_app()/$msg->send_state_data_to_canvas_app($value)Type:
BoolOptional. If `true`, conversation related metadata is included and send back to the canvas application.
$msg->enable_full_screen()/$msg->enable_full_screen($value)Type:
BoolOptional. If `true` the canvas application occupies the full screen and won't have a header at the top. A toast message will also be displayed on the loading screen that includes the Action's display name, the developer's name, and instructions for exiting the Action. Default value: `false`.
SEE ALSO
Protobuf, Protobuf::Message, Google::Actions::Sdk::V2::Interactionmodel::Prompt::StaticCanvasPrompt::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.