NAME
Google::Actions::Sdk::V2::Surface - Compiled Protocol Buffers messages for google/actions/sdk/v2/surface.proto
SYNOPSIS
use Google::Actions::Sdk::V2::Surface;
my $msg = Google::Actions::Sdk::V2::Surface::SurfaceRequirements->new({
minimum_requirements => $minimum_requirements,
});
# Read or update a field
my $val = $msg->minimum_requirements();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Actions::Sdk::V2::Surface::SurfaceRequirements->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/actions/sdk/v2/surface.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::Surface::SurfaceRequirements
Contains a set of requirements that the client surface must support to invoke Actions in your project.
Inherits from Protobuf::Message.
Accessors
$msg->minimum_requirements()/$msg->minimum_requirements($value)Type:
Message(Google::Actions::Sdk::V2::Surface::CapabilityRequirement)The minimum set of capabilities needed to invoke the Actions in your project. If the surface is missing any of these, the Action will not be triggered.
Google::Actions::Sdk::V2::Surface::CapabilityRequirement
Represents a requirement about the availability of a given capability.
Inherits from Protobuf::Message.
Accessors
$msg->capability()/$msg->capability($value)Type:
Enum(Google::Actions::Sdk::V2::CapabilityRequirement::SurfaceCapability)The type of capability.
Enum: CapabilityRequirement::SurfaceCapability
SURFACE_CAPABILITY_UNSPECIFIED=>0AUDIO_OUTPUT=>1SCREEN_OUTPUT=>2MEDIA_RESPONSE_AUDIO=>3WEB_BROWSER=>4ACCOUNT_LINKING=>7INTERACTIVE_CANVAS=>8HOME_STORAGE=>9
SEE ALSO
Protobuf, Protobuf::Message, Google::Actions::Sdk::V2::Surface::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.