Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class SetSuggestionFeatureConfigRequest.
The request message for ConversationProfiles.SetSuggestionFeature.
Generated from protobuf message google.cloud.dialogflow.v2.SetSuggestionFeatureConfigRequest
Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ conversation_profile |
string
Required. The Conversation Profile to add or update the suggestion feature config. Format: |
↳ participant_role |
int
Required. The participant role to add or update the suggestion feature config. Only HUMAN_AGENT or END_USER can be used. |
↳ suggestion_feature_config |
Google\Cloud\Dialogflow\V2\HumanAgentAssistantConfig\SuggestionFeatureConfig
Required. The suggestion feature config to add or update. |
getConversationProfile
Required. The Conversation Profile to add or update the suggestion feature
config. Format: projects/<Project ID>/locations/<Location
ID>/conversationProfiles/<Conversation Profile ID>.
| Returns | |
|---|---|
| Type | Description |
string |
|
setConversationProfile
Required. The Conversation Profile to add or update the suggestion feature
config. Format: projects/<Project ID>/locations/<Location
ID>/conversationProfiles/<Conversation Profile ID>.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getParticipantRole
Required. The participant role to add or update the suggestion feature config. Only HUMAN_AGENT or END_USER can be used.
| Returns | |
|---|---|
| Type | Description |
int |
|
setParticipantRole
Required. The participant role to add or update the suggestion feature config. Only HUMAN_AGENT or END_USER can be used.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSuggestionFeatureConfig
Required. The suggestion feature config to add or update.
| Returns | |
|---|---|
| Type | Description |
Google\Cloud\Dialogflow\V2\HumanAgentAssistantConfig\SuggestionFeatureConfig|null |
|
hasSuggestionFeatureConfig
clearSuggestionFeatureConfig
setSuggestionFeatureConfig
Required. The suggestion feature config to add or update.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Cloud\Dialogflow\V2\HumanAgentAssistantConfig\SuggestionFeatureConfig
|
| Returns | |
|---|---|
| Type | Description |
$this |
|