Google Cloud Ces V1 Client - Class GoogleSearchSuggestions (0.1.0)

Reference documentation and code samples for the Google Cloud Ces V1 Client class GoogleSearchSuggestions.

Search suggestions from Google Search Tool.

Generated from protobuf message google.cloud.ces.v1.GoogleSearchSuggestions

Namespace

Google \ Cloud \ Ces \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ htmls array

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).

↳ web_search_queries array<WebSearchQuery>

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

getHtmls

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).

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setHtmls

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).

Parameter
Name Description
var string[]
Returns
Type Description
$this

getWebSearchQueries

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

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setWebSearchQueries

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

Parameter
Name Description
var array<WebSearchQuery>
Returns
Type Description
$this