Google Cloud Dialogflow V2 Client - Class ClearSuggestionFeatureConfigRequest (1.15.1)

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

The request message for ConversationProfiles.ClearFeature.

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
Google\Cloud\Dialogflow\V2\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 Google\Cloud\Dialogflow\V2\Participant\Role

suggestionFeatureType int

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

Returns
Type Description
Google\Cloud\Dialogflow\V2\ClearSuggestionFeatureConfigRequest