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

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

Defines text input.

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

Namespace

Google \ Cloud \ DiscoveryEngine \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ input
string

Text input.

↳ context
ConversationContext

Conversation context of the input.

getInput

Text input.

Returns
Type
Description
string

setInput

Text input.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getContext

Conversation context of the input.

Returns
Type
Description

hasContext

clearContext

setContext

Conversation context of the input.

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: