NAME

Google::Cloud::Ces::V1beta::WidgetTool - Compiled Protocol Buffers messages for google/cloud/ces/v1beta/widget_tool.proto

SYNOPSIS

use Google::Cloud::Ces::V1beta::WidgetTool;

my $msg = Google::Cloud::Ces::V1beta::WidgetTool::WidgetTool->new({
    parameters => $parameters,
    name => $name,
    description => $description,
    widget_type => $widget_type,
});

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

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Ces::V1beta::WidgetTool::WidgetTool->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/ces/v1beta/widget_tool.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Ces::V1beta::WidgetTool::WidgetTool

Represents a widget tool that the agent can invoke. When the tool is chosen by the agent, agent will return the widget to the client. The client is responsible for processing the widget and generating the next user query to continue the interaction with the agent.

Inherits from Protobuf::Message.

Accessors

Enum: WidgetTool::WidgetType

  • WIDGET_TYPE_UNSPECIFIED => 0

  • CUSTOM => 1

  • PRODUCT_CAROUSEL => 2

  • PRODUCT_DETAILS => 3

  • QUICK_ACTIONS => 4

  • PRODUCT_COMPARISON => 5

  • ADVANCED_PRODUCT_DETAILS => 6

  • SHORT_FORM => 7

  • OVERALL_SATISFACTION => 8

  • ORDER_SUMMARY => 9

  • APPOINTMENT_DETAILS => 10

  • APPOINTMENT_SCHEDULER => 11

  • CONTACT_FORM => 12

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Ces::V1beta::WidgetTool::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.