Class: Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dialogflow/v2/conversation_profile.rb

Overview

Defines the Human Agent Assist to connect to a conversation.

Defined Under Namespace

Classes: ConversationModelConfig, ConversationProcessConfig, MessageAnalysisConfig, SuggestionConfig, SuggestionFeatureConfig, SuggestionQueryConfig, SuggestionTriggerSettings

Instance Attribute Summary collapse

Instance Attribute Details

#end_user_suggestion_config::Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig::SuggestionConfig

Returns Configuration for agent assistance of end user participant.

Currently, this feature is not general available, please contact Google to get access.

Returns:



220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
# File 'proto_docs/google/cloud/dialogflow/v2/conversation_profile.rb', line 220

class HumanAgentAssistantConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Settings of suggestion trigger.
  # @!attribute [rw] no_smalltalk
  #   @return [::Boolean]
  #     Do not trigger if last utterance is small talk.
  # @!attribute [rw] only_end_user
  #   @return [::Boolean]
  #     Only trigger suggestion if participant role of last utterance is
  #     END_USER.
  class SuggestionTriggerSettings
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Config for suggestion features.
  # @!attribute [rw] suggestion_feature
  #   @return [::Google::Cloud::Dialogflow::V2::SuggestionFeature]
  #     The suggestion feature.
  # @!attribute [rw] enable_event_based_suggestion
  #   @return [::Boolean]
  #     Automatically iterates all participants and tries to compile
  #     suggestions.
  #
  #     Supported features: ARTICLE_SUGGESTION, FAQ, DIALOGFLOW_ASSIST.
  # @!attribute [rw] suggestion_trigger_settings
  #   @return [::Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig::SuggestionTriggerSettings]
  #     Settings of suggestion trigger.
  #
  #     Currently, only ARTICLE_SUGGESTION and FAQ will use this field.
  # @!attribute [rw] query_config
  #   @return [::Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig::SuggestionQueryConfig]
  #     Configs of query.
  # @!attribute [rw] conversation_model_config
  #   @return [::Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig::ConversationModelConfig]
  #     Configs of custom conversation model.
  # @!attribute [rw] conversation_process_config
  #   @return [::Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig::ConversationProcessConfig]
  #     Configs for processing conversation.
  class SuggestionFeatureConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Detail human agent assistant config.
  # @!attribute [rw] feature_configs
  #   @return [::Array<::Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig::SuggestionFeatureConfig>]
  #     Configuration of different suggestion features. One feature can have only
  #     one config.
  # @!attribute [rw] group_suggestion_responses
  #   @return [::Boolean]
  #     If `group_suggestion_responses` is false, and there are multiple
  #     `feature_configs` in `event based suggestion` or
  #     StreamingAnalyzeContent, we will try to deliver suggestions to customers
  #     as soon as we get new suggestion. Different type of suggestions based on
  #     the same context will be in  separate Pub/Sub event or
  #     `StreamingAnalyzeContentResponse`.
  #
  #     If `group_suggestion_responses` set to true. All the suggestions to the
  #     same participant based on the same context will be grouped into a single
  #     Pub/Sub event or StreamingAnalyzeContentResponse.
  class SuggestionConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Config for suggestion query.
  # @!attribute [rw] knowledge_base_query_source
  #   @return [::Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig::SuggestionQueryConfig::KnowledgeBaseQuerySource]
  #     Query from knowledgebase. It is used by:
  #     ARTICLE_SUGGESTION, FAQ.
  # @!attribute [rw] document_query_source
  #   @return [::Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig::SuggestionQueryConfig::DocumentQuerySource]
  #     Query from knowledge base document. It is used by:
  #     SMART_REPLY, SMART_COMPOSE.
  # @!attribute [rw] dialogflow_query_source
  #   @return [::Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig::SuggestionQueryConfig::DialogflowQuerySource]
  #     Query from Dialogflow agent. It is used by DIALOGFLOW_ASSIST.
  # @!attribute [rw] max_results
  #   @return [::Integer]
  #     Maximum number of results to return. Currently, if unset, defaults to 10.
  #     And the max number is 20.
  # @!attribute [rw] confidence_threshold
  #   @return [::Float]
  #     Confidence threshold of query result.
  #
  #     Agent Assist gives each suggestion a score in the range [0.0, 1.0], based
  #     on the relevance between the suggestion and the current conversation
  #     context. A score of 0.0 has no relevance, while a score of 1.0 has high
  #     relevance. Only suggestions with a score greater than or equal to the
  #     value of this field are included in the results.
  #
  #     For a baseline model (the default), the recommended value is in the range
  #     [0.05, 0.1].
  #
  #     For a custom model, there is no recommended value. Tune this value by
  #     starting from a very low value and slowly increasing until you have
  #     desired results.
  #
  #     If this field is not set, it defaults to 0.0, which means that all
  #     suggestions are returned.
  #
  #     Supported features: ARTICLE_SUGGESTION, FAQ, SMART_REPLY, SMART_COMPOSE.
  # @!attribute [rw] context_filter_settings
  #   @return [::Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig::SuggestionQueryConfig::ContextFilterSettings]
  #     Determines how recent conversation context is filtered when generating
  #     suggestions. If unspecified, no messages will be dropped.
  class SuggestionQueryConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Knowledge base source settings.
    #
    # Supported features: ARTICLE_SUGGESTION, FAQ.
    # @!attribute [rw] knowledge_bases
    #   @return [::Array<::String>]
    #     Required. Knowledge bases to query. Format:
    #     `projects/<Project ID>/locations/<Location
    #     ID>/knowledgeBases/<Knowledge Base ID>`. Currently, at most 5 knowledge
    #     bases are supported.
    class KnowledgeBaseQuerySource
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end

    # Document source settings.
    #
    # Supported features: SMART_REPLY, SMART_COMPOSE.
    # @!attribute [rw] documents
    #   @return [::Array<::String>]
    #     Required. Knowledge documents to query from. Format:
    #     `projects/<Project ID>/locations/<Location
    #     ID>/knowledgeBases/<KnowledgeBase ID>/documents/<Document ID>`.
    #     Currently, at most 5 documents are supported.
    class DocumentQuerySource
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end

    # Dialogflow source setting.
    #
    # Supported feature: DIALOGFLOW_ASSIST.
    # @!attribute [rw] agent
    #   @return [::String]
    #     Required. The name of a Dialogflow virtual agent used for end user side
    #     intent detection and suggestion. Format: `projects/<Project Number/
    #     ID>/locations/<Location ID>/agent`. When multiple agents are allowed in
    #     the same Dialogflow project.
    class DialogflowQuerySource
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end

    # Settings that determine how to filter recent conversation context when
    # generating suggestions.
    # @!attribute [rw] drop_handoff_messages
    #   @return [::Boolean]
    #     If set to true, the last message from virtual agent (hand off message)
    #     and the message before it (trigger message of hand off) are dropped.
    # @!attribute [rw] drop_virtual_agent_messages
    #   @return [::Boolean]
    #     If set to true, all messages from virtual agent are dropped.
    # @!attribute [rw] drop_ivr_messages
    #   @return [::Boolean]
    #     If set to true, all messages from ivr stage are dropped.
    class ContextFilterSettings
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Custom conversation models used in agent assist feature.
  #
  # Supported feature: ARTICLE_SUGGESTION, SMART_COMPOSE, SMART_REPLY,
  # CONVERSATION_SUMMARIZATION.
  # @!attribute [rw] model
  #   @return [::String]
  #     Conversation model resource name. Format: `projects/<Project
  #     ID>/conversationModels/<Model ID>`.
  class ConversationModelConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Config to process conversation.
  # @!attribute [rw] recent_sentences_count
  #   @return [::Integer]
  #     Number of recent non-small-talk sentences to use as context for article
  #     and FAQ suggestion
  class ConversationProcessConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Configuration for analyses to run on each conversation message.
  # @!attribute [rw] enable_entity_extraction
  #   @return [::Boolean]
  #     Enable entity extraction in conversation messages on [agent assist
  #     stage](https://cloud.google.com/dialogflow/priv/docs/contact-center/basics#stages).
  #     If unspecified, defaults to false.
  #
  #     Currently, this feature is not general available, please contact Google
  #     to get access.
  # @!attribute [rw] enable_sentiment_analysis
  #   @return [::Boolean]
  #     Enable sentiment analysis in conversation messages on [agent assist
  #     stage](https://cloud.google.com/dialogflow/priv/docs/contact-center/basics#stages).
  #     If unspecified, defaults to false. Sentiment analysis inspects user input
  #     and identifies the prevailing subjective opinion, especially to determine
  #     a user's attitude as positive, negative, or neutral:
  #     https://cloud.google.com/natural-language/docs/basics#sentiment_analysis
  #     For
  #     {::Google::Cloud::Dialogflow::V2::Participants::Client#streaming_analyze_content Participants.StreamingAnalyzeContent}
  #     method, result will be in
  #     {::Google::Cloud::Dialogflow::V2::StreamingAnalyzeContentResponse#message StreamingAnalyzeContentResponse.message.SentimentAnalysisResult}.
  #     For
  #     {::Google::Cloud::Dialogflow::V2::Participants::Client#analyze_content Participants.AnalyzeContent}
  #     method, result will be in
  #     {::Google::Cloud::Dialogflow::V2::AnalyzeContentResponse#message AnalyzeContentResponse.message.SentimentAnalysisResult}
  #     For
  #     {::Google::Cloud::Dialogflow::V2::Conversations::Client#list_messages Conversations.ListMessages}
  #     method, result will be in
  #     {::Google::Cloud::Dialogflow::V2::ListMessagesResponse#messages ListMessagesResponse.messages.SentimentAnalysisResult}
  #     If Pub/Sub notification is configured, result will be in
  #     {::Google::Cloud::Dialogflow::V2::ConversationEvent#new_message_payload ConversationEvent.new_message_payload.SentimentAnalysisResult}.
  class MessageAnalysisConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#human_agent_suggestion_config::Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig::SuggestionConfig

Returns Configuration for agent assistance of human agent participant.

Returns:



220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
# File 'proto_docs/google/cloud/dialogflow/v2/conversation_profile.rb', line 220

class HumanAgentAssistantConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Settings of suggestion trigger.
  # @!attribute [rw] no_smalltalk
  #   @return [::Boolean]
  #     Do not trigger if last utterance is small talk.
  # @!attribute [rw] only_end_user
  #   @return [::Boolean]
  #     Only trigger suggestion if participant role of last utterance is
  #     END_USER.
  class SuggestionTriggerSettings
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Config for suggestion features.
  # @!attribute [rw] suggestion_feature
  #   @return [::Google::Cloud::Dialogflow::V2::SuggestionFeature]
  #     The suggestion feature.
  # @!attribute [rw] enable_event_based_suggestion
  #   @return [::Boolean]
  #     Automatically iterates all participants and tries to compile
  #     suggestions.
  #
  #     Supported features: ARTICLE_SUGGESTION, FAQ, DIALOGFLOW_ASSIST.
  # @!attribute [rw] suggestion_trigger_settings
  #   @return [::Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig::SuggestionTriggerSettings]
  #     Settings of suggestion trigger.
  #
  #     Currently, only ARTICLE_SUGGESTION and FAQ will use this field.
  # @!attribute [rw] query_config
  #   @return [::Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig::SuggestionQueryConfig]
  #     Configs of query.
  # @!attribute [rw] conversation_model_config
  #   @return [::Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig::ConversationModelConfig]
  #     Configs of custom conversation model.
  # @!attribute [rw] conversation_process_config
  #   @return [::Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig::ConversationProcessConfig]
  #     Configs for processing conversation.
  class SuggestionFeatureConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Detail human agent assistant config.
  # @!attribute [rw] feature_configs
  #   @return [::Array<::Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig::SuggestionFeatureConfig>]
  #     Configuration of different suggestion features. One feature can have only
  #     one config.
  # @!attribute [rw] group_suggestion_responses
  #   @return [::Boolean]
  #     If `group_suggestion_responses` is false, and there are multiple
  #     `feature_configs` in `event based suggestion` or
  #     StreamingAnalyzeContent, we will try to deliver suggestions to customers
  #     as soon as we get new suggestion. Different type of suggestions based on
  #     the same context will be in  separate Pub/Sub event or
  #     `StreamingAnalyzeContentResponse`.
  #
  #     If `group_suggestion_responses` set to true. All the suggestions to the
  #     same participant based on the same context will be grouped into a single
  #     Pub/Sub event or StreamingAnalyzeContentResponse.
  class SuggestionConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Config for suggestion query.
  # @!attribute [rw] knowledge_base_query_source
  #   @return [::Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig::SuggestionQueryConfig::KnowledgeBaseQuerySource]
  #     Query from knowledgebase. It is used by:
  #     ARTICLE_SUGGESTION, FAQ.
  # @!attribute [rw] document_query_source
  #   @return [::Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig::SuggestionQueryConfig::DocumentQuerySource]
  #     Query from knowledge base document. It is used by:
  #     SMART_REPLY, SMART_COMPOSE.
  # @!attribute [rw] dialogflow_query_source
  #   @return [::Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig::SuggestionQueryConfig::DialogflowQuerySource]
  #     Query from Dialogflow agent. It is used by DIALOGFLOW_ASSIST.
  # @!attribute [rw] max_results
  #   @return [::Integer]
  #     Maximum number of results to return. Currently, if unset, defaults to 10.
  #     And the max number is 20.
  # @!attribute [rw] confidence_threshold
  #   @return [::Float]
  #     Confidence threshold of query result.
  #
  #     Agent Assist gives each suggestion a score in the range [0.0, 1.0], based
  #     on the relevance between the suggestion and the current conversation
  #     context. A score of 0.0 has no relevance, while a score of 1.0 has high
  #     relevance. Only suggestions with a score greater than or equal to the
  #     value of this field are included in the results.
  #
  #     For a baseline model (the default), the recommended value is in the range
  #     [0.05, 0.1].
  #
  #     For a custom model, there is no recommended value. Tune this value by
  #     starting from a very low value and slowly increasing until you have
  #     desired results.
  #
  #     If this field is not set, it defaults to 0.0, which means that all
  #     suggestions are returned.
  #
  #     Supported features: ARTICLE_SUGGESTION, FAQ, SMART_REPLY, SMART_COMPOSE.
  # @!attribute [rw] context_filter_settings
  #   @return [::Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig::SuggestionQueryConfig::ContextFilterSettings]
  #     Determines how recent conversation context is filtered when generating
  #     suggestions. If unspecified, no messages will be dropped.
  class SuggestionQueryConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Knowledge base source settings.
    #
    # Supported features: ARTICLE_SUGGESTION, FAQ.
    # @!attribute [rw] knowledge_bases
    #   @return [::Array<::String>]
    #     Required. Knowledge bases to query. Format:
    #     `projects/<Project ID>/locations/<Location
    #     ID>/knowledgeBases/<Knowledge Base ID>`. Currently, at most 5 knowledge
    #     bases are supported.
    class KnowledgeBaseQuerySource
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end

    # Document source settings.
    #
    # Supported features: SMART_REPLY, SMART_COMPOSE.
    # @!attribute [rw] documents
    #   @return [::Array<::String>]
    #     Required. Knowledge documents to query from. Format:
    #     `projects/<Project ID>/locations/<Location
    #     ID>/knowledgeBases/<KnowledgeBase ID>/documents/<Document ID>`.
    #     Currently, at most 5 documents are supported.
    class DocumentQuerySource
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end

    # Dialogflow source setting.
    #
    # Supported feature: DIALOGFLOW_ASSIST.
    # @!attribute [rw] agent
    #   @return [::String]
    #     Required. The name of a Dialogflow virtual agent used for end user side
    #     intent detection and suggestion. Format: `projects/<Project Number/
    #     ID>/locations/<Location ID>/agent`. When multiple agents are allowed in
    #     the same Dialogflow project.
    class DialogflowQuerySource
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end

    # Settings that determine how to filter recent conversation context when
    # generating suggestions.
    # @!attribute [rw] drop_handoff_messages
    #   @return [::Boolean]
    #     If set to true, the last message from virtual agent (hand off message)
    #     and the message before it (trigger message of hand off) are dropped.
    # @!attribute [rw] drop_virtual_agent_messages
    #   @return [::Boolean]
    #     If set to true, all messages from virtual agent are dropped.
    # @!attribute [rw] drop_ivr_messages
    #   @return [::Boolean]
    #     If set to true, all messages from ivr stage are dropped.
    class ContextFilterSettings
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Custom conversation models used in agent assist feature.
  #
  # Supported feature: ARTICLE_SUGGESTION, SMART_COMPOSE, SMART_REPLY,
  # CONVERSATION_SUMMARIZATION.
  # @!attribute [rw] model
  #   @return [::String]
  #     Conversation model resource name. Format: `projects/<Project
  #     ID>/conversationModels/<Model ID>`.
  class ConversationModelConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Config to process conversation.
  # @!attribute [rw] recent_sentences_count
  #   @return [::Integer]
  #     Number of recent non-small-talk sentences to use as context for article
  #     and FAQ suggestion
  class ConversationProcessConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Configuration for analyses to run on each conversation message.
  # @!attribute [rw] enable_entity_extraction
  #   @return [::Boolean]
  #     Enable entity extraction in conversation messages on [agent assist
  #     stage](https://cloud.google.com/dialogflow/priv/docs/contact-center/basics#stages).
  #     If unspecified, defaults to false.
  #
  #     Currently, this feature is not general available, please contact Google
  #     to get access.
  # @!attribute [rw] enable_sentiment_analysis
  #   @return [::Boolean]
  #     Enable sentiment analysis in conversation messages on [agent assist
  #     stage](https://cloud.google.com/dialogflow/priv/docs/contact-center/basics#stages).
  #     If unspecified, defaults to false. Sentiment analysis inspects user input
  #     and identifies the prevailing subjective opinion, especially to determine
  #     a user's attitude as positive, negative, or neutral:
  #     https://cloud.google.com/natural-language/docs/basics#sentiment_analysis
  #     For
  #     {::Google::Cloud::Dialogflow::V2::Participants::Client#streaming_analyze_content Participants.StreamingAnalyzeContent}
  #     method, result will be in
  #     {::Google::Cloud::Dialogflow::V2::StreamingAnalyzeContentResponse#message StreamingAnalyzeContentResponse.message.SentimentAnalysisResult}.
  #     For
  #     {::Google::Cloud::Dialogflow::V2::Participants::Client#analyze_content Participants.AnalyzeContent}
  #     method, result will be in
  #     {::Google::Cloud::Dialogflow::V2::AnalyzeContentResponse#message AnalyzeContentResponse.message.SentimentAnalysisResult}
  #     For
  #     {::Google::Cloud::Dialogflow::V2::Conversations::Client#list_messages Conversations.ListMessages}
  #     method, result will be in
  #     {::Google::Cloud::Dialogflow::V2::ListMessagesResponse#messages ListMessagesResponse.messages.SentimentAnalysisResult}
  #     If Pub/Sub notification is configured, result will be in
  #     {::Google::Cloud::Dialogflow::V2::ConversationEvent#new_message_payload ConversationEvent.new_message_payload.SentimentAnalysisResult}.
  class MessageAnalysisConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#message_analysis_config::Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig::MessageAnalysisConfig

Returns Configuration for message analysis.



220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
# File 'proto_docs/google/cloud/dialogflow/v2/conversation_profile.rb', line 220

class HumanAgentAssistantConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Settings of suggestion trigger.
  # @!attribute [rw] no_smalltalk
  #   @return [::Boolean]
  #     Do not trigger if last utterance is small talk.
  # @!attribute [rw] only_end_user
  #   @return [::Boolean]
  #     Only trigger suggestion if participant role of last utterance is
  #     END_USER.
  class SuggestionTriggerSettings
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Config for suggestion features.
  # @!attribute [rw] suggestion_feature
  #   @return [::Google::Cloud::Dialogflow::V2::SuggestionFeature]
  #     The suggestion feature.
  # @!attribute [rw] enable_event_based_suggestion
  #   @return [::Boolean]
  #     Automatically iterates all participants and tries to compile
  #     suggestions.
  #
  #     Supported features: ARTICLE_SUGGESTION, FAQ, DIALOGFLOW_ASSIST.
  # @!attribute [rw] suggestion_trigger_settings
  #   @return [::Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig::SuggestionTriggerSettings]
  #     Settings of suggestion trigger.
  #
  #     Currently, only ARTICLE_SUGGESTION and FAQ will use this field.
  # @!attribute [rw] query_config
  #   @return [::Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig::SuggestionQueryConfig]
  #     Configs of query.
  # @!attribute [rw] conversation_model_config
  #   @return [::Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig::ConversationModelConfig]
  #     Configs of custom conversation model.
  # @!attribute [rw] conversation_process_config
  #   @return [::Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig::ConversationProcessConfig]
  #     Configs for processing conversation.
  class SuggestionFeatureConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Detail human agent assistant config.
  # @!attribute [rw] feature_configs
  #   @return [::Array<::Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig::SuggestionFeatureConfig>]
  #     Configuration of different suggestion features. One feature can have only
  #     one config.
  # @!attribute [rw] group_suggestion_responses
  #   @return [::Boolean]
  #     If `group_suggestion_responses` is false, and there are multiple
  #     `feature_configs` in `event based suggestion` or
  #     StreamingAnalyzeContent, we will try to deliver suggestions to customers
  #     as soon as we get new suggestion. Different type of suggestions based on
  #     the same context will be in  separate Pub/Sub event or
  #     `StreamingAnalyzeContentResponse`.
  #
  #     If `group_suggestion_responses` set to true. All the suggestions to the
  #     same participant based on the same context will be grouped into a single
  #     Pub/Sub event or StreamingAnalyzeContentResponse.
  class SuggestionConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Config for suggestion query.
  # @!attribute [rw] knowledge_base_query_source
  #   @return [::Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig::SuggestionQueryConfig::KnowledgeBaseQuerySource]
  #     Query from knowledgebase. It is used by:
  #     ARTICLE_SUGGESTION, FAQ.
  # @!attribute [rw] document_query_source
  #   @return [::Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig::SuggestionQueryConfig::DocumentQuerySource]
  #     Query from knowledge base document. It is used by:
  #     SMART_REPLY, SMART_COMPOSE.
  # @!attribute [rw] dialogflow_query_source
  #   @return [::Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig::SuggestionQueryConfig::DialogflowQuerySource]
  #     Query from Dialogflow agent. It is used by DIALOGFLOW_ASSIST.
  # @!attribute [rw] max_results
  #   @return [::Integer]
  #     Maximum number of results to return. Currently, if unset, defaults to 10.
  #     And the max number is 20.
  # @!attribute [rw] confidence_threshold
  #   @return [::Float]
  #     Confidence threshold of query result.
  #
  #     Agent Assist gives each suggestion a score in the range [0.0, 1.0], based
  #     on the relevance between the suggestion and the current conversation
  #     context. A score of 0.0 has no relevance, while a score of 1.0 has high
  #     relevance. Only suggestions with a score greater than or equal to the
  #     value of this field are included in the results.
  #
  #     For a baseline model (the default), the recommended value is in the range
  #     [0.05, 0.1].
  #
  #     For a custom model, there is no recommended value. Tune this value by
  #     starting from a very low value and slowly increasing until you have
  #     desired results.
  #
  #     If this field is not set, it defaults to 0.0, which means that all
  #     suggestions are returned.
  #
  #     Supported features: ARTICLE_SUGGESTION, FAQ, SMART_REPLY, SMART_COMPOSE.
  # @!attribute [rw] context_filter_settings
  #   @return [::Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig::SuggestionQueryConfig::ContextFilterSettings]
  #     Determines how recent conversation context is filtered when generating
  #     suggestions. If unspecified, no messages will be dropped.
  class SuggestionQueryConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Knowledge base source settings.
    #
    # Supported features: ARTICLE_SUGGESTION, FAQ.
    # @!attribute [rw] knowledge_bases
    #   @return [::Array<::String>]
    #     Required. Knowledge bases to query. Format:
    #     `projects/<Project ID>/locations/<Location
    #     ID>/knowledgeBases/<Knowledge Base ID>`. Currently, at most 5 knowledge
    #     bases are supported.
    class KnowledgeBaseQuerySource
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end

    # Document source settings.
    #
    # Supported features: SMART_REPLY, SMART_COMPOSE.
    # @!attribute [rw] documents
    #   @return [::Array<::String>]
    #     Required. Knowledge documents to query from. Format:
    #     `projects/<Project ID>/locations/<Location
    #     ID>/knowledgeBases/<KnowledgeBase ID>/documents/<Document ID>`.
    #     Currently, at most 5 documents are supported.
    class DocumentQuerySource
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end

    # Dialogflow source setting.
    #
    # Supported feature: DIALOGFLOW_ASSIST.
    # @!attribute [rw] agent
    #   @return [::String]
    #     Required. The name of a Dialogflow virtual agent used for end user side
    #     intent detection and suggestion. Format: `projects/<Project Number/
    #     ID>/locations/<Location ID>/agent`. When multiple agents are allowed in
    #     the same Dialogflow project.
    class DialogflowQuerySource
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end

    # Settings that determine how to filter recent conversation context when
    # generating suggestions.
    # @!attribute [rw] drop_handoff_messages
    #   @return [::Boolean]
    #     If set to true, the last message from virtual agent (hand off message)
    #     and the message before it (trigger message of hand off) are dropped.
    # @!attribute [rw] drop_virtual_agent_messages
    #   @return [::Boolean]
    #     If set to true, all messages from virtual agent are dropped.
    # @!attribute [rw] drop_ivr_messages
    #   @return [::Boolean]
    #     If set to true, all messages from ivr stage are dropped.
    class ContextFilterSettings
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Custom conversation models used in agent assist feature.
  #
  # Supported feature: ARTICLE_SUGGESTION, SMART_COMPOSE, SMART_REPLY,
  # CONVERSATION_SUMMARIZATION.
  # @!attribute [rw] model
  #   @return [::String]
  #     Conversation model resource name. Format: `projects/<Project
  #     ID>/conversationModels/<Model ID>`.
  class ConversationModelConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Config to process conversation.
  # @!attribute [rw] recent_sentences_count
  #   @return [::Integer]
  #     Number of recent non-small-talk sentences to use as context for article
  #     and FAQ suggestion
  class ConversationProcessConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Configuration for analyses to run on each conversation message.
  # @!attribute [rw] enable_entity_extraction
  #   @return [::Boolean]
  #     Enable entity extraction in conversation messages on [agent assist
  #     stage](https://cloud.google.com/dialogflow/priv/docs/contact-center/basics#stages).
  #     If unspecified, defaults to false.
  #
  #     Currently, this feature is not general available, please contact Google
  #     to get access.
  # @!attribute [rw] enable_sentiment_analysis
  #   @return [::Boolean]
  #     Enable sentiment analysis in conversation messages on [agent assist
  #     stage](https://cloud.google.com/dialogflow/priv/docs/contact-center/basics#stages).
  #     If unspecified, defaults to false. Sentiment analysis inspects user input
  #     and identifies the prevailing subjective opinion, especially to determine
  #     a user's attitude as positive, negative, or neutral:
  #     https://cloud.google.com/natural-language/docs/basics#sentiment_analysis
  #     For
  #     {::Google::Cloud::Dialogflow::V2::Participants::Client#streaming_analyze_content Participants.StreamingAnalyzeContent}
  #     method, result will be in
  #     {::Google::Cloud::Dialogflow::V2::StreamingAnalyzeContentResponse#message StreamingAnalyzeContentResponse.message.SentimentAnalysisResult}.
  #     For
  #     {::Google::Cloud::Dialogflow::V2::Participants::Client#analyze_content Participants.AnalyzeContent}
  #     method, result will be in
  #     {::Google::Cloud::Dialogflow::V2::AnalyzeContentResponse#message AnalyzeContentResponse.message.SentimentAnalysisResult}
  #     For
  #     {::Google::Cloud::Dialogflow::V2::Conversations::Client#list_messages Conversations.ListMessages}
  #     method, result will be in
  #     {::Google::Cloud::Dialogflow::V2::ListMessagesResponse#messages ListMessagesResponse.messages.SentimentAnalysisResult}
  #     If Pub/Sub notification is configured, result will be in
  #     {::Google::Cloud::Dialogflow::V2::ConversationEvent#new_message_payload ConversationEvent.new_message_payload.SentimentAnalysisResult}.
  class MessageAnalysisConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#notification_config::Google::Cloud::Dialogflow::V2::NotificationConfig

Returns Pub/Sub topic on which to publish new agent assistant events.

Returns:



220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
# File 'proto_docs/google/cloud/dialogflow/v2/conversation_profile.rb', line 220

class HumanAgentAssistantConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Settings of suggestion trigger.
  # @!attribute [rw] no_smalltalk
  #   @return [::Boolean]
  #     Do not trigger if last utterance is small talk.
  # @!attribute [rw] only_end_user
  #   @return [::Boolean]
  #     Only trigger suggestion if participant role of last utterance is
  #     END_USER.
  class SuggestionTriggerSettings
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Config for suggestion features.
  # @!attribute [rw] suggestion_feature
  #   @return [::Google::Cloud::Dialogflow::V2::SuggestionFeature]
  #     The suggestion feature.
  # @!attribute [rw] enable_event_based_suggestion
  #   @return [::Boolean]
  #     Automatically iterates all participants and tries to compile
  #     suggestions.
  #
  #     Supported features: ARTICLE_SUGGESTION, FAQ, DIALOGFLOW_ASSIST.
  # @!attribute [rw] suggestion_trigger_settings
  #   @return [::Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig::SuggestionTriggerSettings]
  #     Settings of suggestion trigger.
  #
  #     Currently, only ARTICLE_SUGGESTION and FAQ will use this field.
  # @!attribute [rw] query_config
  #   @return [::Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig::SuggestionQueryConfig]
  #     Configs of query.
  # @!attribute [rw] conversation_model_config
  #   @return [::Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig::ConversationModelConfig]
  #     Configs of custom conversation model.
  # @!attribute [rw] conversation_process_config
  #   @return [::Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig::ConversationProcessConfig]
  #     Configs for processing conversation.
  class SuggestionFeatureConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Detail human agent assistant config.
  # @!attribute [rw] feature_configs
  #   @return [::Array<::Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig::SuggestionFeatureConfig>]
  #     Configuration of different suggestion features. One feature can have only
  #     one config.
  # @!attribute [rw] group_suggestion_responses
  #   @return [::Boolean]
  #     If `group_suggestion_responses` is false, and there are multiple
  #     `feature_configs` in `event based suggestion` or
  #     StreamingAnalyzeContent, we will try to deliver suggestions to customers
  #     as soon as we get new suggestion. Different type of suggestions based on
  #     the same context will be in  separate Pub/Sub event or
  #     `StreamingAnalyzeContentResponse`.
  #
  #     If `group_suggestion_responses` set to true. All the suggestions to the
  #     same participant based on the same context will be grouped into a single
  #     Pub/Sub event or StreamingAnalyzeContentResponse.
  class SuggestionConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Config for suggestion query.
  # @!attribute [rw] knowledge_base_query_source
  #   @return [::Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig::SuggestionQueryConfig::KnowledgeBaseQuerySource]
  #     Query from knowledgebase. It is used by:
  #     ARTICLE_SUGGESTION, FAQ.
  # @!attribute [rw] document_query_source
  #   @return [::Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig::SuggestionQueryConfig::DocumentQuerySource]
  #     Query from knowledge base document. It is used by:
  #     SMART_REPLY, SMART_COMPOSE.
  # @!attribute [rw] dialogflow_query_source
  #   @return [::Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig::SuggestionQueryConfig::DialogflowQuerySource]
  #     Query from Dialogflow agent. It is used by DIALOGFLOW_ASSIST.
  # @!attribute [rw] max_results
  #   @return [::Integer]
  #     Maximum number of results to return. Currently, if unset, defaults to 10.
  #     And the max number is 20.
  # @!attribute [rw] confidence_threshold
  #   @return [::Float]
  #     Confidence threshold of query result.
  #
  #     Agent Assist gives each suggestion a score in the range [0.0, 1.0], based
  #     on the relevance between the suggestion and the current conversation
  #     context. A score of 0.0 has no relevance, while a score of 1.0 has high
  #     relevance. Only suggestions with a score greater than or equal to the
  #     value of this field are included in the results.
  #
  #     For a baseline model (the default), the recommended value is in the range
  #     [0.05, 0.1].
  #
  #     For a custom model, there is no recommended value. Tune this value by
  #     starting from a very low value and slowly increasing until you have
  #     desired results.
  #
  #     If this field is not set, it defaults to 0.0, which means that all
  #     suggestions are returned.
  #
  #     Supported features: ARTICLE_SUGGESTION, FAQ, SMART_REPLY, SMART_COMPOSE.
  # @!attribute [rw] context_filter_settings
  #   @return [::Google::Cloud::Dialogflow::V2::HumanAgentAssistantConfig::SuggestionQueryConfig::ContextFilterSettings]
  #     Determines how recent conversation context is filtered when generating
  #     suggestions. If unspecified, no messages will be dropped.
  class SuggestionQueryConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Knowledge base source settings.
    #
    # Supported features: ARTICLE_SUGGESTION, FAQ.
    # @!attribute [rw] knowledge_bases
    #   @return [::Array<::String>]
    #     Required. Knowledge bases to query. Format:
    #     `projects/<Project ID>/locations/<Location
    #     ID>/knowledgeBases/<Knowledge Base ID>`. Currently, at most 5 knowledge
    #     bases are supported.
    class KnowledgeBaseQuerySource
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end

    # Document source settings.
    #
    # Supported features: SMART_REPLY, SMART_COMPOSE.
    # @!attribute [rw] documents
    #   @return [::Array<::String>]
    #     Required. Knowledge documents to query from. Format:
    #     `projects/<Project ID>/locations/<Location
    #     ID>/knowledgeBases/<KnowledgeBase ID>/documents/<Document ID>`.
    #     Currently, at most 5 documents are supported.
    class DocumentQuerySource
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end

    # Dialogflow source setting.
    #
    # Supported feature: DIALOGFLOW_ASSIST.
    # @!attribute [rw] agent
    #   @return [::String]
    #     Required. The name of a Dialogflow virtual agent used for end user side
    #     intent detection and suggestion. Format: `projects/<Project Number/
    #     ID>/locations/<Location ID>/agent`. When multiple agents are allowed in
    #     the same Dialogflow project.
    class DialogflowQuerySource
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end

    # Settings that determine how to filter recent conversation context when
    # generating suggestions.
    # @!attribute [rw] drop_handoff_messages
    #   @return [::Boolean]
    #     If set to true, the last message from virtual agent (hand off message)
    #     and the message before it (trigger message of hand off) are dropped.
    # @!attribute [rw] drop_virtual_agent_messages
    #   @return [::Boolean]
    #     If set to true, all messages from virtual agent are dropped.
    # @!attribute [rw] drop_ivr_messages
    #   @return [::Boolean]
    #     If set to true, all messages from ivr stage are dropped.
    class ContextFilterSettings
      include ::Google::Protobuf::MessageExts
      extend ::Google::Protobuf::MessageExts::ClassMethods
    end
  end

  # Custom conversation models used in agent assist feature.
  #
  # Supported feature: ARTICLE_SUGGESTION, SMART_COMPOSE, SMART_REPLY,
  # CONVERSATION_SUMMARIZATION.
  # @!attribute [rw] model
  #   @return [::String]
  #     Conversation model resource name. Format: `projects/<Project
  #     ID>/conversationModels/<Model ID>`.
  class ConversationModelConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Config to process conversation.
  # @!attribute [rw] recent_sentences_count
  #   @return [::Integer]
  #     Number of recent non-small-talk sentences to use as context for article
  #     and FAQ suggestion
  class ConversationProcessConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Configuration for analyses to run on each conversation message.
  # @!attribute [rw] enable_entity_extraction
  #   @return [::Boolean]
  #     Enable entity extraction in conversation messages on [agent assist
  #     stage](https://cloud.google.com/dialogflow/priv/docs/contact-center/basics#stages).
  #     If unspecified, defaults to false.
  #
  #     Currently, this feature is not general available, please contact Google
  #     to get access.
  # @!attribute [rw] enable_sentiment_analysis
  #   @return [::Boolean]
  #     Enable sentiment analysis in conversation messages on [agent assist
  #     stage](https://cloud.google.com/dialogflow/priv/docs/contact-center/basics#stages).
  #     If unspecified, defaults to false. Sentiment analysis inspects user input
  #     and identifies the prevailing subjective opinion, especially to determine
  #     a user's attitude as positive, negative, or neutral:
  #     https://cloud.google.com/natural-language/docs/basics#sentiment_analysis
  #     For
  #     {::Google::Cloud::Dialogflow::V2::Participants::Client#streaming_analyze_content Participants.StreamingAnalyzeContent}
  #     method, result will be in
  #     {::Google::Cloud::Dialogflow::V2::StreamingAnalyzeContentResponse#message StreamingAnalyzeContentResponse.message.SentimentAnalysisResult}.
  #     For
  #     {::Google::Cloud::Dialogflow::V2::Participants::Client#analyze_content Participants.AnalyzeContent}
  #     method, result will be in
  #     {::Google::Cloud::Dialogflow::V2::AnalyzeContentResponse#message AnalyzeContentResponse.message.SentimentAnalysisResult}
  #     For
  #     {::Google::Cloud::Dialogflow::V2::Conversations::Client#list_messages Conversations.ListMessages}
  #     method, result will be in
  #     {::Google::Cloud::Dialogflow::V2::ListMessagesResponse#messages ListMessagesResponse.messages.SentimentAnalysisResult}
  #     If Pub/Sub notification is configured, result will be in
  #     {::Google::Cloud::Dialogflow::V2::ConversationEvent#new_message_payload ConversationEvent.new_message_payload.SentimentAnalysisResult}.
  class MessageAnalysisConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end