Google Cloud Dialogflow V2 Client - Class LinkOutSuggestion (1.8.0)

Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class LinkOutSuggestion.

The suggestion chip message that allows the user to jump out to the app or website associated with this agent.

Generated from protobuf message google.cloud.dialogflow.v2.Intent.Message.LinkOutSuggestion

Namespace

Google \ Cloud \ Dialogflow \ V2 \ Intent \ Message

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ destination_name
string

Required. The name of the app or site this chip is linking to.

↳ uri
string

Required. The URI of the app or site to open when the user taps the suggestion chip.

getDestinationName

Required. The name of the app or site this chip is linking to.

Returns
Type
Description
string

setDestinationName

Required. The name of the app or site this chip is linking to.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getUri

Required. The URI of the app or site to open when the user taps the suggestion chip.

Returns
Type
Description
string

setUri

Required. The URI of the app or site to open when the user taps the suggestion chip.

Parameter
Name
Description
var
string
Returns
Type
Description
$this