NAME

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

SYNOPSIS

use Google::Cloud::Ces::V1beta::SearchSuggestions;

my $msg = Google::Cloud::Ces::V1beta::SearchSuggestions::GoogleSearchSuggestions->new({
    htmls => $htmls,
    web_search_queries => $web_search_queries,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/ces/v1beta/search_suggestions.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::SearchSuggestions::GoogleSearchSuggestions

Search suggestions from [Google Search Tool][google.cloud.ces.v1beta.GoogleSearchTool].

Inherits from Protobuf::Message.

Accessors

  • $msg->htmls() / $msg->htmls($value)

    Type: String

    Compliant HTML and CSS styling for search suggestions. The provided HTML and CSS automatically adapts to your device settings, displaying in either light or dark mode indicated by `@media(prefers-color-scheme)`.

  • $msg->web_search_queries() / $msg->web_search_queries($value)

    Type: Message (Google::Cloud::Ces::V1beta::SearchSuggestions::WebSearchQuery)

    List of queries used to perform the google search along with the search result URIs forming the search suggestions.

Google::Cloud::Ces::V1beta::SearchSuggestions::WebSearchQuery

Represents a single web search query and its associated search uri.

Inherits from Protobuf::Message.

Accessors

  • $msg->query() / $msg->query($value)

    Type: String

    The search query text.

  • $msg->uri() / $msg->uri($value)

    Type: String

    The URI to the Google Search results page for the query.

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.