Google Cloud Discovery Engine V1beta Client - Class Query (0.11.3)

Reference documentation and code samples for the Google Cloud Discovery Engine V1beta Client class Query.

Defines a user inputed query.

Generated from protobuf message google.cloud.discoveryengine.v1beta.Query

Namespace

Google \ Cloud \ DiscoveryEngine \ V1beta

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ text
string

Plain text.

↳ query_id
string

Unique Id for the query.

getText

Plain text.

Returns
Type
Description
string

hasText

setText

Plain text.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getQueryId

Unique Id for the query.

Returns
Type
Description
string

setQueryId

Unique Id for the query.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getContent

Returns
Type
Description
string
Design a Mobile Site
View Site in Mobile | Classic
Share by: