Google Cloud Ces V1 Client - Class GoogleSearchSuggestions (0.2.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
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) .

↳ 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

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

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
Create a Mobile Website
View Site in Mobile | Classic
Share by: