NAME
Google::Actions::Sdk::V2::Webhook - Compiled Protocol Buffers messages for google/actions/sdk/v2/webhook.proto
SYNOPSIS
use Google::Actions::Sdk::V2::Webhook;
my $msg = Google::Actions::Sdk::V2::Webhook::Webhook->new({
handlers => $handlers,
https_endpoint => $https_endpoint,
inline_cloud_function => $inline_cloud_function,
});
# Read or update a field
my $val = $msg->handlers();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Actions::Sdk::V2::Webhook::Webhook->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/actions/sdk/v2/webhook.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::Webhook::Webhook
Metadata for different types of webhooks. If you're using `inlineCloudFunction`, your source code must be in a directory with the same name as the value for the `executeFunction` key. For example, a value of `my_webhook` for the`executeFunction` key would have a code structure like this: - `/webhooks/my_webhook.yaml` - `/webhooks/my_webhook/index.js` - `/webhooks/my_webhook/package.json`
Inherits from Protobuf::Message.
Accessors
$msg->handlers()/$msg->handlers($value)Type:
Message(Google::Actions::Sdk::V2::Webhook::Webhook::Handler)List of handlers for this webhook.
$msg->https_endpoint()/$msg->https_endpoint($value)Type:
Message(Google::Actions::Sdk::V2::Webhook::Webhook::HttpsEndpoint)Custom webhook HTTPS endpoint.
$msg->inline_cloud_function()/$msg->inline_cloud_function($value)Type:
Message(Google::Actions::Sdk::V2::Webhook::Webhook::InlineCloudFunction)Metadata for cloud function deployed from code in the webhooks folder.
SEE ALSO
Protobuf, Protobuf::Message, Google::Actions::Sdk::V2::Webhook::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.