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
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.
Generated from protobuf field string destination_name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
string |
setDestinationName
Required. The name of the app or site this chip is linking to.
Generated from protobuf field string destination_name = 1 [(.google.api.field_behavior) = REQUIRED];
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.
Generated from protobuf field string uri = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
string |
setUri
Required. The URI of the app or site to open when the user taps the suggestion chip.
Generated from protobuf field string uri = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |