NAME
Google::Cloud::Ces::V1beta::GoogleSearchTool - Compiled Protocol Buffers messages for google/cloud/ces/v1beta/google_search_tool.proto
SYNOPSIS
use Google::Cloud::Ces::V1beta::GoogleSearchTool;
my $msg = Google::Cloud::Ces::V1beta::GoogleSearchTool::GoogleSearchTool->new({
name => $name,
description => $description,
context_urls => $context_urls,
preferred_domains => $preferred_domains,
});
# Read or update a field
my $val = $msg->name();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Ces::V1beta::GoogleSearchTool::GoogleSearchTool->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/ces/v1beta/google_search_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::GoogleSearchTool::GoogleSearchTool
Represents a tool to perform Google web searches for grounding. See https://cloud.google.com/customer-engagement-ai/conversational-agents/ps/tool#google-search.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The name of the tool.
$msg->description()/$msg->description($value)Type:
StringOptional. Description of the tool's purpose.
$msg->context_urls()/$msg->context_urls($value)Type:
StringOptional. Content will be fetched directly from these URLs for context and grounding. Example: "https://example.com/path.html". A maximum of 20 URLs are allowed.
$msg->preferred_domains()/$msg->preferred_domains($value)Type:
StringOptional. Specifies domains to restrict search results to. Example: "example.com", "another.site". A maximum of 20 domains can be specified.
$msg->exclude_domains()/$msg->exclude_domains($value)Type:
StringOptional. List of domains to be excluded from the search results. Example: "example.com". A maximum of 2000 domains can be excluded.
$msg->prompt_config()/$msg->prompt_config($value)Type:
Message(Google::Cloud::Ces::V1beta::GoogleSearchTool::GoogleSearchTool::PromptConfig)Optional. Prompt instructions passed to planner on how the search results should be processed for text and voice.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Ces::V1beta::GoogleSearchTool::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.