Google Cloud Dialogflow V2 Client - Class SuggestionFeature (1.0.1)

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

The type of Human Agent Assistant API suggestion to perform, and the maximum number of results to return for that type. Multiple Feature objects can be specified in the features list.

Generated from protobuf message google.cloud.dialogflow.v2.SuggestionFeature

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ type int

Type of Human Agent Assistant API feature to request.

getType

Type of Human Agent Assistant API feature to request.

Generated from protobuf field .google.cloud.dialogflow.v2.SuggestionFeature.Type type = 1;

Returns
TypeDescription
int

setType

Type of Human Agent Assistant API feature to request.

Generated from protobuf field .google.cloud.dialogflow.v2.SuggestionFeature.Type type = 1;

Parameter
NameDescription
var int
Returns
TypeDescription
$this