Google Cloud Dialogflow V2 Client - Class ClearSuggestionFeatureConfigRequest (1.17.2)

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

The request message for ConversationProfiles.ClearSuggestionFeatureConfig.

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

Namespace

Google \ Cloud \ Dialogflow \ V2

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: projects/<Project ID>/locations/<Location ID>/conversationProfiles/<Conversation Profile ID>.

↳ participant_role int

Required. The participant role to remove the suggestion feature config. Only HUMAN_AGENT or END_USER can be used.

↳ suggestion_feature_type int

Required. The type of the suggestion feature to remove.

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 remove the suggestion feature config. Only HUMAN_AGENT or END_USER can be used.

Returns
Type Description
int

setParticipantRole

Required. The participant role to remove the suggestion feature config. Only HUMAN_AGENT or END_USER can be used.

Parameter
Name Description
var int
Returns
Type Description
$this

getSuggestionFeatureType

Required. The type of the suggestion feature to remove.

Returns
Type Description
int

setSuggestionFeatureType

Required. The type of the suggestion feature to remove.

Parameter
Name Description
var int
Returns
Type Description
$this

static::build

Parameter
Name Description
conversationProfile string

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
ClearSuggestionFeatureConfigRequest

static::buildFromConversationProfileParticipantRoleSuggestionFeatureType

Parameters
Name Description
conversationProfile string

Required. The Conversation Profile to add or update the suggestion feature config. Format: projects/<Project ID>/locations/<Location ID>/conversationProfiles/<Conversation Profile ID>.

participantRole int

Required. The participant role to remove the suggestion feature config. Only HUMAN_AGENT or END_USER can be used. For allowed values, use constants defined on Participant\Role

suggestionFeatureType int

Required. The type of the suggestion feature to remove. For allowed values, use constants defined on SuggestionFeature\Type

Returns
Type Description
ClearSuggestionFeatureConfigRequest