Google Cloud Dialogflow V2 Client - Class SuggestionFeatureConfig (1.0.1)

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

Config for suggestion features.

Generated from protobuf message google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionFeatureConfig

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ suggestion_feature Google\Cloud\Dialogflow\V2\SuggestionFeature

The suggestion feature.

↳ enable_event_based_suggestion bool

Automatically iterates all participants and tries to compile suggestions. Supported features: ARTICLE_SUGGESTION, FAQ, DIALOGFLOW_ASSIST.

↳ suggestion_trigger_settings Google\Cloud\Dialogflow\V2\HumanAgentAssistantConfig\SuggestionTriggerSettings

Settings of suggestion trigger. Currently, only ARTICLE_SUGGESTION and FAQ will use this field.

↳ query_config Google\Cloud\Dialogflow\V2\HumanAgentAssistantConfig\SuggestionQueryConfig

Configs of query.

↳ conversation_model_config Google\Cloud\Dialogflow\V2\HumanAgentAssistantConfig\ConversationModelConfig

Configs of custom conversation model.

↳ conversation_process_config Google\Cloud\Dialogflow\V2\HumanAgentAssistantConfig\ConversationProcessConfig

Configs for processing conversation.

getSuggestionFeature

The suggestion feature.

Generated from protobuf field .google.cloud.dialogflow.v2.SuggestionFeature suggestion_feature = 5;

Returns
TypeDescription
Google\Cloud\Dialogflow\V2\SuggestionFeature|null

hasSuggestionFeature

clearSuggestionFeature

setSuggestionFeature

The suggestion feature.

Generated from protobuf field .google.cloud.dialogflow.v2.SuggestionFeature suggestion_feature = 5;

Parameter
NameDescription
var Google\Cloud\Dialogflow\V2\SuggestionFeature
Returns
TypeDescription
$this

getEnableEventBasedSuggestion

Automatically iterates all participants and tries to compile suggestions.

Supported features: ARTICLE_SUGGESTION, FAQ, DIALOGFLOW_ASSIST.

Generated from protobuf field bool enable_event_based_suggestion = 3;

Returns
TypeDescription
bool

setEnableEventBasedSuggestion

Automatically iterates all participants and tries to compile suggestions.

Supported features: ARTICLE_SUGGESTION, FAQ, DIALOGFLOW_ASSIST.

Generated from protobuf field bool enable_event_based_suggestion = 3;

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getSuggestionTriggerSettings

Settings of suggestion trigger.

Currently, only ARTICLE_SUGGESTION and FAQ will use this field.

Generated from protobuf field .google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionTriggerSettings suggestion_trigger_settings = 10;

Returns
TypeDescription
Google\Cloud\Dialogflow\V2\HumanAgentAssistantConfig\SuggestionTriggerSettings|null

hasSuggestionTriggerSettings

clearSuggestionTriggerSettings

setSuggestionTriggerSettings

Settings of suggestion trigger.

Currently, only ARTICLE_SUGGESTION and FAQ will use this field.

Generated from protobuf field .google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionTriggerSettings suggestion_trigger_settings = 10;

Parameter
NameDescription
var Google\Cloud\Dialogflow\V2\HumanAgentAssistantConfig\SuggestionTriggerSettings
Returns
TypeDescription
$this

getQueryConfig

Configs of query.

Generated from protobuf field .google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig query_config = 6;

Returns
TypeDescription
Google\Cloud\Dialogflow\V2\HumanAgentAssistantConfig\SuggestionQueryConfig|null

hasQueryConfig

clearQueryConfig

setQueryConfig

Configs of query.

Generated from protobuf field .google.cloud.dialogflow.v2.HumanAgentAssistantConfig.SuggestionQueryConfig query_config = 6;

Parameter
NameDescription
var Google\Cloud\Dialogflow\V2\HumanAgentAssistantConfig\SuggestionQueryConfig
Returns
TypeDescription
$this

getConversationModelConfig

Configs of custom conversation model.

Generated from protobuf field .google.cloud.dialogflow.v2.HumanAgentAssistantConfig.ConversationModelConfig conversation_model_config = 7;

Returns
TypeDescription
Google\Cloud\Dialogflow\V2\HumanAgentAssistantConfig\ConversationModelConfig|null

hasConversationModelConfig

clearConversationModelConfig

setConversationModelConfig

Configs of custom conversation model.

Generated from protobuf field .google.cloud.dialogflow.v2.HumanAgentAssistantConfig.ConversationModelConfig conversation_model_config = 7;

Parameter
NameDescription
var Google\Cloud\Dialogflow\V2\HumanAgentAssistantConfig\ConversationModelConfig
Returns
TypeDescription
$this

getConversationProcessConfig

Configs for processing conversation.

Generated from protobuf field .google.cloud.dialogflow.v2.HumanAgentAssistantConfig.ConversationProcessConfig conversation_process_config = 8;

Returns
TypeDescription
Google\Cloud\Dialogflow\V2\HumanAgentAssistantConfig\ConversationProcessConfig|null

hasConversationProcessConfig

clearConversationProcessConfig

setConversationProcessConfig

Configs for processing conversation.

Generated from protobuf field .google.cloud.dialogflow.v2.HumanAgentAssistantConfig.ConversationProcessConfig conversation_process_config = 8;

Parameter
NameDescription
var Google\Cloud\Dialogflow\V2\HumanAgentAssistantConfig\ConversationProcessConfig
Returns
TypeDescription
$this