Google Cloud Dialogflow V2 Client - Class ClearSuggestionFeatureConfigRequest (1.5.0)

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
NameDescription
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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getParticipantRole

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

Returns
TypeDescription
int

setParticipantRole

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

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getSuggestionFeatureType

Required. The type of the suggestion feature to remove.

Returns
TypeDescription
int

setSuggestionFeatureType

Required. The type of the suggestion feature to remove.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
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
TypeDescription
Google\Cloud\Dialogflow\V2\ClearSuggestionFeatureConfigRequest

static::buildFromConversationProfileParticipantRoleSuggestionFeatureType

Parameters
NameDescription
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
TypeDescription
Google\Cloud\Dialogflow\V2\ClearSuggestionFeatureConfigRequest