Google Cloud Dialogflow Cx V3 Client - Class SearchSnippet (0.5.1)

Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class SearchSnippet.

Search snippet details.

Generated from protobuf message google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.SearchSnippet

Namespace

Google \ Cloud \ Dialogflow \ Cx \ V3 \ DataStoreConnectionSignals

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ document_title string

Title of the enclosing document.

↳ document_uri string

Uri for the document. Present if specified for the document.

↳ text string

Text included in the prompt.

getDocumentTitle

Title of the enclosing document.

Returns
Type Description
string

setDocumentTitle

Title of the enclosing document.

Parameter
Name Description
var string
Returns
Type Description
$this

getDocumentUri

Uri for the document. Present if specified for the document.

Returns
Type Description
string

setDocumentUri

Uri for the document. Present if specified for the document.

Parameter
Name Description
var string
Returns
Type Description
$this

getText

Text included in the prompt.

Returns
Type Description
string

setText

Text included in the prompt.

Parameter
Name Description
var string
Returns
Type Description
$this