Google Cloud Discovery Engine V1 Client - Class Query (1.7.0)

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

Defines a user inputed query.

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

Namespace

Google \ Cloud \ DiscoveryEngine \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ text
string

Plain text.

↳ query_id
string

Output only. 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

Output only. Unique Id for the query.

Returns
Type
Description
string

setQueryId

Output only. 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: