google-apis-dialogflow_v2 0.49.0 → 0.50.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f34b7c5e470f86800d59d31be37d1a6e2c4d0a1018a1fb77c565be6fddf82b6c
4
- data.tar.gz: 8d1dc40cca6382b834bdc493f1dc4dab47aab875c31a3164be5f6432521653aa
3
+ metadata.gz: 622e57e84d133055fe02ff8eb58c6029fb434cc5d8546bb00aef440eb5664f47
4
+ data.tar.gz: 1029a4e8c3295832d1bcff43c2a5353d1aa7ac310f6c75a3ceaaddeff9cab2b6
5
5
  SHA512:
6
- metadata.gz: 0e0b297710c72fe27b80289caa1a0f103f49fa08b249fe1827ff6dafcf765c35848cc20753dd14c6d66f0fe75456d5e300701b95da3f5c2e410b181fe6ee4a92
7
- data.tar.gz: 64c566220029fbb894be24b1d53a4c485d851095813f75d3bcb41b4a6a390d74ab7dd982917dbdcdb0b9cace1dbec5c2109adc6c5acb61a4b31211951e42ec1e
6
+ metadata.gz: 6626cf9cf6b8ddc36f9e59a42dbbdc4e127b96627f4afbe5d36521ff25061e5cafcccfff5129af7bf8a064d68b996aaab6ab576d223ce96dd593a6ddc58a4963
7
+ data.tar.gz: 29244ed077d17e8c8d537ff2d2a04ac53c5f427921d8fa11ced769498d11c8dda2944f2d7aa38571ae307b5c8fdf8575bfc501f93b3ee3bbfe5361575e6a68ba
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dialogflow_v2
2
2
 
3
+ ### v0.50.0 (2023-01-04)
4
+
5
+ * Regenerated from discovery document revision 20230103
6
+
3
7
  ### v0.49.0 (2022-12-07)
4
8
 
5
9
  * Regenerated from discovery document revision 20221129
@@ -131,6 +131,27 @@ module Google
131
131
  end
132
132
  end
133
133
 
134
+ # This message is used to hold all the Conversation Signals data, which will be
135
+ # converted to JSON and exported to BigQuery.
136
+ class GoogleCloudDialogflowCxV3ConversationSignals
137
+ include Google::Apis::Core::Hashable
138
+
139
+ # Collection of all signals that were extracted for a single turn of the
140
+ # conversation.
141
+ # Corresponds to the JSON property `turnSignals`
142
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3TurnSignals]
143
+ attr_accessor :turn_signals
144
+
145
+ def initialize(**args)
146
+ update!(**args)
147
+ end
148
+
149
+ # Update properties of this object
150
+ def update!(**args)
151
+ @turn_signals = args[:turn_signals] if args.key?(:turn_signals)
152
+ end
153
+ end
154
+
134
155
  # One interaction between a human and virtual agent. The human provides some
135
156
  # input and the virtual agent provides a response.
136
157
  class GoogleCloudDialogflowCxV3ConversationTurn
@@ -2501,6 +2522,74 @@ module Google
2501
2522
  end
2502
2523
  end
2503
2524
 
2525
+ # Collection of all signals that were extracted for a single turn of the
2526
+ # conversation.
2527
+ class GoogleCloudDialogflowCxV3TurnSignals
2528
+ include Google::Apis::Core::Hashable
2529
+
2530
+ # Whether agent responded with LiveAgentHandoff fulfillment.
2531
+ # Corresponds to the JSON property `agentEscalated`
2532
+ # @return [Boolean]
2533
+ attr_accessor :agent_escalated
2534
+ alias_method :agent_escalated?, :agent_escalated
2535
+
2536
+ # Whether user was using DTMF input.
2537
+ # Corresponds to the JSON property `dtmfUsed`
2538
+ # @return [Boolean]
2539
+ attr_accessor :dtmf_used
2540
+ alias_method :dtmf_used?, :dtmf_used
2541
+
2542
+ # Failure reasons of the turn.
2543
+ # Corresponds to the JSON property `failureReasons`
2544
+ # @return [Array<String>]
2545
+ attr_accessor :failure_reasons
2546
+
2547
+ # Whether NLU predicted NO_MATCH.
2548
+ # Corresponds to the JSON property `noMatch`
2549
+ # @return [Boolean]
2550
+ attr_accessor :no_match
2551
+ alias_method :no_match?, :no_match
2552
+
2553
+ # Whether user provided no input.
2554
+ # Corresponds to the JSON property `noUserInput`
2555
+ # @return [Boolean]
2556
+ attr_accessor :no_user_input
2557
+ alias_method :no_user_input?, :no_user_input
2558
+
2559
+ # Whether turn resulted in End Session page.
2560
+ # Corresponds to the JSON property `reachedEndPage`
2561
+ # @return [Boolean]
2562
+ attr_accessor :reached_end_page
2563
+ alias_method :reached_end_page?, :reached_end_page
2564
+
2565
+ # Whether user was specifically asking for a live agent.
2566
+ # Corresponds to the JSON property `userEscalated`
2567
+ # @return [Boolean]
2568
+ attr_accessor :user_escalated
2569
+ alias_method :user_escalated?, :user_escalated
2570
+
2571
+ # Human-readable statuses of the webhooks triggered during this turn.
2572
+ # Corresponds to the JSON property `webhookStatuses`
2573
+ # @return [Array<String>]
2574
+ attr_accessor :webhook_statuses
2575
+
2576
+ def initialize(**args)
2577
+ update!(**args)
2578
+ end
2579
+
2580
+ # Update properties of this object
2581
+ def update!(**args)
2582
+ @agent_escalated = args[:agent_escalated] if args.key?(:agent_escalated)
2583
+ @dtmf_used = args[:dtmf_used] if args.key?(:dtmf_used)
2584
+ @failure_reasons = args[:failure_reasons] if args.key?(:failure_reasons)
2585
+ @no_match = args[:no_match] if args.key?(:no_match)
2586
+ @no_user_input = args[:no_user_input] if args.key?(:no_user_input)
2587
+ @reached_end_page = args[:reached_end_page] if args.key?(:reached_end_page)
2588
+ @user_escalated = args[:user_escalated] if args.key?(:user_escalated)
2589
+ @webhook_statuses = args[:webhook_statuses] if args.key?(:webhook_statuses)
2590
+ end
2591
+ end
2592
+
2504
2593
  # Metadata for UpdateDocument operation.
2505
2594
  class GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata
2506
2595
  include Google::Apis::Core::Hashable
@@ -3059,6 +3148,27 @@ module Google
3059
3148
  end
3060
3149
  end
3061
3150
 
3151
+ # This message is used to hold all the Conversation Signals data, which will be
3152
+ # converted to JSON and exported to BigQuery.
3153
+ class GoogleCloudDialogflowCxV3beta1ConversationSignals
3154
+ include Google::Apis::Core::Hashable
3155
+
3156
+ # Collection of all signals that were extracted for a single turn of the
3157
+ # conversation.
3158
+ # Corresponds to the JSON property `turnSignals`
3159
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1TurnSignals]
3160
+ attr_accessor :turn_signals
3161
+
3162
+ def initialize(**args)
3163
+ update!(**args)
3164
+ end
3165
+
3166
+ # Update properties of this object
3167
+ def update!(**args)
3168
+ @turn_signals = args[:turn_signals] if args.key?(:turn_signals)
3169
+ end
3170
+ end
3171
+
3062
3172
  # One interaction between a human and virtual agent. The human provides some
3063
3173
  # input and the virtual agent provides a response.
3064
3174
  class GoogleCloudDialogflowCxV3beta1ConversationTurn
@@ -5429,6 +5539,74 @@ module Google
5429
5539
  end
5430
5540
  end
5431
5541
 
5542
+ # Collection of all signals that were extracted for a single turn of the
5543
+ # conversation.
5544
+ class GoogleCloudDialogflowCxV3beta1TurnSignals
5545
+ include Google::Apis::Core::Hashable
5546
+
5547
+ # Whether agent responded with LiveAgentHandoff fulfillment.
5548
+ # Corresponds to the JSON property `agentEscalated`
5549
+ # @return [Boolean]
5550
+ attr_accessor :agent_escalated
5551
+ alias_method :agent_escalated?, :agent_escalated
5552
+
5553
+ # Whether user was using DTMF input.
5554
+ # Corresponds to the JSON property `dtmfUsed`
5555
+ # @return [Boolean]
5556
+ attr_accessor :dtmf_used
5557
+ alias_method :dtmf_used?, :dtmf_used
5558
+
5559
+ # Failure reasons of the turn.
5560
+ # Corresponds to the JSON property `failureReasons`
5561
+ # @return [Array<String>]
5562
+ attr_accessor :failure_reasons
5563
+
5564
+ # Whether NLU predicted NO_MATCH.
5565
+ # Corresponds to the JSON property `noMatch`
5566
+ # @return [Boolean]
5567
+ attr_accessor :no_match
5568
+ alias_method :no_match?, :no_match
5569
+
5570
+ # Whether user provided no input.
5571
+ # Corresponds to the JSON property `noUserInput`
5572
+ # @return [Boolean]
5573
+ attr_accessor :no_user_input
5574
+ alias_method :no_user_input?, :no_user_input
5575
+
5576
+ # Whether turn resulted in End Session page.
5577
+ # Corresponds to the JSON property `reachedEndPage`
5578
+ # @return [Boolean]
5579
+ attr_accessor :reached_end_page
5580
+ alias_method :reached_end_page?, :reached_end_page
5581
+
5582
+ # Whether user was specifically asking for a live agent.
5583
+ # Corresponds to the JSON property `userEscalated`
5584
+ # @return [Boolean]
5585
+ attr_accessor :user_escalated
5586
+ alias_method :user_escalated?, :user_escalated
5587
+
5588
+ # Human-readable statuses of the webhooks triggered during this turn.
5589
+ # Corresponds to the JSON property `webhookStatuses`
5590
+ # @return [Array<String>]
5591
+ attr_accessor :webhook_statuses
5592
+
5593
+ def initialize(**args)
5594
+ update!(**args)
5595
+ end
5596
+
5597
+ # Update properties of this object
5598
+ def update!(**args)
5599
+ @agent_escalated = args[:agent_escalated] if args.key?(:agent_escalated)
5600
+ @dtmf_used = args[:dtmf_used] if args.key?(:dtmf_used)
5601
+ @failure_reasons = args[:failure_reasons] if args.key?(:failure_reasons)
5602
+ @no_match = args[:no_match] if args.key?(:no_match)
5603
+ @no_user_input = args[:no_user_input] if args.key?(:no_user_input)
5604
+ @reached_end_page = args[:reached_end_page] if args.key?(:reached_end_page)
5605
+ @user_escalated = args[:user_escalated] if args.key?(:user_escalated)
5606
+ @webhook_statuses = args[:webhook_statuses] if args.key?(:webhook_statuses)
5607
+ end
5608
+ end
5609
+
5432
5610
  # Metadata for UpdateDocument operation.
5433
5611
  class GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata
5434
5612
  include Google::Apis::Core::Hashable
@@ -6015,6 +6193,11 @@ module Google
6015
6193
  # @return [String]
6016
6194
  attr_accessor :document_efficiency
6017
6195
 
6196
+ # Feedback for conversation summarization.
6197
+ # Corresponds to the JSON property `summarizationFeedback`
6198
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentAssistantFeedbackSummarizationFeedback]
6199
+ attr_accessor :summarization_feedback
6200
+
6018
6201
  def initialize(**args)
6019
6202
  update!(**args)
6020
6203
  end
@@ -6024,6 +6207,38 @@ module Google
6024
6207
  @answer_relevance = args[:answer_relevance] if args.key?(:answer_relevance)
6025
6208
  @document_correctness = args[:document_correctness] if args.key?(:document_correctness)
6026
6209
  @document_efficiency = args[:document_efficiency] if args.key?(:document_efficiency)
6210
+ @summarization_feedback = args[:summarization_feedback] if args.key?(:summarization_feedback)
6211
+ end
6212
+ end
6213
+
6214
+ # Feedback for conversation summarization.
6215
+ class GoogleCloudDialogflowV2AgentAssistantFeedbackSummarizationFeedback
6216
+ include Google::Apis::Core::Hashable
6217
+
6218
+ # Timestamp when composing of the summary starts.
6219
+ # Corresponds to the JSON property `startTime`
6220
+ # @return [String]
6221
+ attr_accessor :start_time
6222
+
6223
+ # Timestamp when the summary was submitted.
6224
+ # Corresponds to the JSON property `submitTime`
6225
+ # @return [String]
6226
+ attr_accessor :submit_time
6227
+
6228
+ # Text of actual submitted summary.
6229
+ # Corresponds to the JSON property `summaryText`
6230
+ # @return [String]
6231
+ attr_accessor :summary_text
6232
+
6233
+ def initialize(**args)
6234
+ update!(**args)
6235
+ end
6236
+
6237
+ # Update properties of this object
6238
+ def update!(**args)
6239
+ @start_time = args[:start_time] if args.key?(:start_time)
6240
+ @submit_time = args[:submit_time] if args.key?(:submit_time)
6241
+ @summary_text = args[:summary_text] if args.key?(:summary_text)
6027
6242
  end
6028
6243
  end
6029
6244
 
@@ -12277,6 +12492,102 @@ module Google
12277
12492
  end
12278
12493
  end
12279
12494
 
12495
+ # The request message for Conversations.SuggestConversationSummary.
12496
+ class GoogleCloudDialogflowV2SuggestConversationSummaryRequest
12497
+ include Google::Apis::Core::Hashable
12498
+
12499
+ # Max number of messages prior to and including [latest_message] to use as
12500
+ # context when compiling the suggestion. By default 500 and at most 1000.
12501
+ # Corresponds to the JSON property `contextSize`
12502
+ # @return [Fixnum]
12503
+ attr_accessor :context_size
12504
+
12505
+ # The name of the latest conversation message used as context for compiling
12506
+ # suggestion. If empty, the latest message of the conversation will be used.
12507
+ # Format: `projects//locations//conversations//messages/`.
12508
+ # Corresponds to the JSON property `latestMessage`
12509
+ # @return [String]
12510
+ attr_accessor :latest_message
12511
+
12512
+ def initialize(**args)
12513
+ update!(**args)
12514
+ end
12515
+
12516
+ # Update properties of this object
12517
+ def update!(**args)
12518
+ @context_size = args[:context_size] if args.key?(:context_size)
12519
+ @latest_message = args[:latest_message] if args.key?(:latest_message)
12520
+ end
12521
+ end
12522
+
12523
+ # The response message for Conversations.SuggestConversationSummary.
12524
+ class GoogleCloudDialogflowV2SuggestConversationSummaryResponse
12525
+ include Google::Apis::Core::Hashable
12526
+
12527
+ # Number of messages prior to and including last_conversation_message used to
12528
+ # compile the suggestion. It may be smaller than the SuggestSummaryRequest.
12529
+ # context_size field in the request if there weren't that many messages in the
12530
+ # conversation.
12531
+ # Corresponds to the JSON property `contextSize`
12532
+ # @return [Fixnum]
12533
+ attr_accessor :context_size
12534
+
12535
+ # The name of the latest conversation message used as context for compiling
12536
+ # suggestion. Format: `projects//locations//conversations//messages/`.
12537
+ # Corresponds to the JSON property `latestMessage`
12538
+ # @return [String]
12539
+ attr_accessor :latest_message
12540
+
12541
+ # Generated summary for a conversation.
12542
+ # Corresponds to the JSON property `summary`
12543
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestConversationSummaryResponseSummary]
12544
+ attr_accessor :summary
12545
+
12546
+ def initialize(**args)
12547
+ update!(**args)
12548
+ end
12549
+
12550
+ # Update properties of this object
12551
+ def update!(**args)
12552
+ @context_size = args[:context_size] if args.key?(:context_size)
12553
+ @latest_message = args[:latest_message] if args.key?(:latest_message)
12554
+ @summary = args[:summary] if args.key?(:summary)
12555
+ end
12556
+ end
12557
+
12558
+ # Generated summary for a conversation.
12559
+ class GoogleCloudDialogflowV2SuggestConversationSummaryResponseSummary
12560
+ include Google::Apis::Core::Hashable
12561
+
12562
+ # The name of the answer record. Format: "projects//answerRecords/"
12563
+ # Corresponds to the JSON property `answerRecord`
12564
+ # @return [String]
12565
+ attr_accessor :answer_record
12566
+
12567
+ # The summary content that is concatenated into one string.
12568
+ # Corresponds to the JSON property `text`
12569
+ # @return [String]
12570
+ attr_accessor :text
12571
+
12572
+ # The summary content that is divided into sections. The key is the section's
12573
+ # name and the value is the section's content. There is no specific format for
12574
+ # the key or value.
12575
+ # Corresponds to the JSON property `textSections`
12576
+ # @return [Hash<String,String>]
12577
+ attr_accessor :text_sections
12578
+
12579
+ def initialize(**args)
12580
+ update!(**args)
12581
+ end
12582
+
12583
+ # Update properties of this object
12584
+ def update!(**args)
12585
+ @answer_record = args[:answer_record] if args.key?(:answer_record)
12586
+ @text = args[:text] if args.key?(:text)
12587
+ @text_sections = args[:text_sections] if args.key?(:text_sections)
12588
+ end
12589
+ end
12590
+
12280
12591
  # The request message for Participants.SuggestFaqAnswers.
12281
12592
  class GoogleCloudDialogflowV2SuggestFaqAnswersRequest
12282
12593
  include Google::Apis::Core::Hashable
@@ -16136,6 +16447,27 @@ module Google
16136
16447
  end
16137
16448
  end
16138
16449
 
16450
+ # This message is used to hold all the Conversation Signals data, which will be
16451
+ # converted to JSON and exported to BigQuery.
16452
+ class GoogleCloudDialogflowV3alpha1ConversationSignals
16453
+ include Google::Apis::Core::Hashable
16454
+
16455
+ # Collection of all signals that were extracted for a single turn of the
16456
+ # conversation.
16457
+ # Corresponds to the JSON property `turnSignals`
16458
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV3alpha1TurnSignals]
16459
+ attr_accessor :turn_signals
16460
+
16461
+ def initialize(**args)
16462
+ update!(**args)
16463
+ end
16464
+
16465
+ # Update properties of this object
16466
+ def update!(**args)
16467
+ @turn_signals = args[:turn_signals] if args.key?(:turn_signals)
16468
+ end
16469
+ end
16470
+
16139
16471
  # Metadata for CreateDocument operation.
16140
16472
  class GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata
16141
16473
  include Google::Apis::Core::Hashable
@@ -16250,6 +16582,82 @@ module Google
16250
16582
  end
16251
16583
  end
16252
16584
 
16585
+ # Collection of all signals that were extracted for a single turn of the
16586
+ # conversation.
16587
+ class GoogleCloudDialogflowV3alpha1TurnSignals
16588
+ include Google::Apis::Core::Hashable
16589
+
16590
+ # Whether agent responded with LiveAgentHandoff fulfillment.
16591
+ # Corresponds to the JSON property `agentEscalated`
16592
+ # @return [Boolean]
16593
+ attr_accessor :agent_escalated
16594
+ alias_method :agent_escalated?, :agent_escalated
16595
+
16596
+ # Whether user was using DTMF input.
16597
+ # Corresponds to the JSON property `dtmfUsed`
16598
+ # @return [Boolean]
16599
+ attr_accessor :dtmf_used
16600
+ alias_method :dtmf_used?, :dtmf_used
16601
+
16602
+ # Failure reasons of the turn.
16603
+ # Corresponds to the JSON property `failureReasons`
16604
+ # @return [Array<String>]
16605
+ attr_accessor :failure_reasons
16606
+
16607
+ # Whether NLU predicted NO_MATCH.
16608
+ # Corresponds to the JSON property `noMatch`
16609
+ # @return [Boolean]
16610
+ attr_accessor :no_match
16611
+ alias_method :no_match?, :no_match
16612
+
16613
+ # Whether user provided no input.
16614
+ # Corresponds to the JSON property `noUserInput`
16615
+ # @return [Boolean]
16616
+ attr_accessor :no_user_input
16617
+ alias_method :no_user_input?, :no_user_input
16618
+
16619
+ # Whether turn resulted in End Session page.
16620
+ # Corresponds to the JSON property `reachedEndPage`
16621
+ # @return [Boolean]
16622
+ attr_accessor :reached_end_page
16623
+ alias_method :reached_end_page?, :reached_end_page
16624
+
16625
+ # Whether agent has triggered the event corresponding to user abandoning the
16626
+ # conversation.
16627
+ # Corresponds to the JSON property `triggeredAbandonmentEvent`
16628
+ # @return [Boolean]
16629
+ attr_accessor :triggered_abandonment_event
16630
+ alias_method :triggered_abandonment_event?, :triggered_abandonment_event
16631
+
16632
+ # Whether user was specifically asking for a live agent.
16633
+ # Corresponds to the JSON property `userEscalated`
16634
+ # @return [Boolean]
16635
+ attr_accessor :user_escalated
16636
+ alias_method :user_escalated?, :user_escalated
16637
+
16638
+ # Human-readable statuses of the webhooks triggered during this turn.
16639
+ # Corresponds to the JSON property `webhookStatuses`
16640
+ # @return [Array<String>]
16641
+ attr_accessor :webhook_statuses
16642
+
16643
+ def initialize(**args)
16644
+ update!(**args)
16645
+ end
16646
+
16647
+ # Update properties of this object
16648
+ def update!(**args)
16649
+ @agent_escalated = args[:agent_escalated] if args.key?(:agent_escalated)
16650
+ @dtmf_used = args[:dtmf_used] if args.key?(:dtmf_used)
16651
+ @failure_reasons = args[:failure_reasons] if args.key?(:failure_reasons)
16652
+ @no_match = args[:no_match] if args.key?(:no_match)
16653
+ @no_user_input = args[:no_user_input] if args.key?(:no_user_input)
16654
+ @reached_end_page = args[:reached_end_page] if args.key?(:reached_end_page)
16655
+ @triggered_abandonment_event = args[:triggered_abandonment_event] if args.key?(:triggered_abandonment_event)
16656
+ @user_escalated = args[:user_escalated] if args.key?(:user_escalated)
16657
+ @webhook_statuses = args[:webhook_statuses] if args.key?(:webhook_statuses)
16658
+ end
16659
+ end
16660
+
16253
16661
  # Metadata for UpdateDocument operation.
16254
16662
  class GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata
16255
16663
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DialogflowV2
18
18
  # Version of the google-apis-dialogflow_v2 gem
19
- GEM_VERSION = "0.49.0"
19
+ GEM_VERSION = "0.50.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.11.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20221129"
25
+ REVISION = "20230103"
26
26
  end
27
27
  end
28
28
  end
@@ -46,6 +46,12 @@ module Google
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
+ class GoogleCloudDialogflowCxV3ConversationSignals
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
49
55
  class GoogleCloudDialogflowCxV3ConversationTurn
50
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
57
 
@@ -454,6 +460,12 @@ module Google
454
460
  include Google::Apis::Core::JsonObjectSupport
455
461
  end
456
462
 
463
+ class GoogleCloudDialogflowCxV3TurnSignals
464
+ class Representation < Google::Apis::Core::JsonRepresentation; end
465
+
466
+ include Google::Apis::Core::JsonObjectSupport
467
+ end
468
+
457
469
  class GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata
458
470
  class Representation < Google::Apis::Core::JsonRepresentation; end
459
471
 
@@ -544,6 +556,12 @@ module Google
544
556
  include Google::Apis::Core::JsonObjectSupport
545
557
  end
546
558
 
559
+ class GoogleCloudDialogflowCxV3beta1ConversationSignals
560
+ class Representation < Google::Apis::Core::JsonRepresentation; end
561
+
562
+ include Google::Apis::Core::JsonObjectSupport
563
+ end
564
+
547
565
  class GoogleCloudDialogflowCxV3beta1ConversationTurn
548
566
  class Representation < Google::Apis::Core::JsonRepresentation; end
549
567
 
@@ -952,6 +970,12 @@ module Google
952
970
  include Google::Apis::Core::JsonObjectSupport
953
971
  end
954
972
 
973
+ class GoogleCloudDialogflowCxV3beta1TurnSignals
974
+ class Representation < Google::Apis::Core::JsonRepresentation; end
975
+
976
+ include Google::Apis::Core::JsonObjectSupport
977
+ end
978
+
955
979
  class GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata
956
980
  class Representation < Google::Apis::Core::JsonRepresentation; end
957
981
 
@@ -1030,6 +1054,12 @@ module Google
1030
1054
  include Google::Apis::Core::JsonObjectSupport
1031
1055
  end
1032
1056
 
1057
+ class GoogleCloudDialogflowV2AgentAssistantFeedbackSummarizationFeedback
1058
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1059
+
1060
+ include Google::Apis::Core::JsonObjectSupport
1061
+ end
1062
+
1033
1063
  class GoogleCloudDialogflowV2AgentAssistantRecord
1034
1064
  class Representation < Google::Apis::Core::JsonRepresentation; end
1035
1065
 
@@ -2056,6 +2086,24 @@ module Google
2056
2086
  include Google::Apis::Core::JsonObjectSupport
2057
2087
  end
2058
2088
 
2089
+ class GoogleCloudDialogflowV2SuggestConversationSummaryRequest
2090
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2091
+
2092
+ include Google::Apis::Core::JsonObjectSupport
2093
+ end
2094
+
2095
+ class GoogleCloudDialogflowV2SuggestConversationSummaryResponse
2096
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2097
+
2098
+ include Google::Apis::Core::JsonObjectSupport
2099
+ end
2100
+
2101
+ class GoogleCloudDialogflowV2SuggestConversationSummaryResponseSummary
2102
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2103
+
2104
+ include Google::Apis::Core::JsonObjectSupport
2105
+ end
2106
+
2059
2107
  class GoogleCloudDialogflowV2SuggestFaqAnswersRequest
2060
2108
  class Representation < Google::Apis::Core::JsonRepresentation; end
2061
2109
 
@@ -2650,6 +2698,12 @@ module Google
2650
2698
  include Google::Apis::Core::JsonObjectSupport
2651
2699
  end
2652
2700
 
2701
+ class GoogleCloudDialogflowV3alpha1ConversationSignals
2702
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2703
+
2704
+ include Google::Apis::Core::JsonObjectSupport
2705
+ end
2706
+
2653
2707
  class GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata
2654
2708
  class Representation < Google::Apis::Core::JsonRepresentation; end
2655
2709
 
@@ -2686,6 +2740,12 @@ module Google
2686
2740
  include Google::Apis::Core::JsonObjectSupport
2687
2741
  end
2688
2742
 
2743
+ class GoogleCloudDialogflowV3alpha1TurnSignals
2744
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2745
+
2746
+ include Google::Apis::Core::JsonObjectSupport
2747
+ end
2748
+
2689
2749
  class GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata
2690
2750
  class Representation < Google::Apis::Core::JsonRepresentation; end
2691
2751
 
@@ -2769,6 +2829,14 @@ module Google
2769
2829
  end
2770
2830
  end
2771
2831
 
2832
+ class GoogleCloudDialogflowCxV3ConversationSignals
2833
+ # @private
2834
+ class Representation < Google::Apis::Core::JsonRepresentation
2835
+ property :turn_signals, as: 'turnSignals', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3TurnSignals, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3TurnSignals::Representation
2836
+
2837
+ end
2838
+ end
2839
+
2772
2840
  class GoogleCloudDialogflowCxV3ConversationTurn
2773
2841
  # @private
2774
2842
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3423,6 +3491,20 @@ module Google
3423
3491
  end
3424
3492
  end
3425
3493
 
3494
+ class GoogleCloudDialogflowCxV3TurnSignals
3495
+ # @private
3496
+ class Representation < Google::Apis::Core::JsonRepresentation
3497
+ property :agent_escalated, as: 'agentEscalated'
3498
+ property :dtmf_used, as: 'dtmfUsed'
3499
+ collection :failure_reasons, as: 'failureReasons'
3500
+ property :no_match, as: 'noMatch'
3501
+ property :no_user_input, as: 'noUserInput'
3502
+ property :reached_end_page, as: 'reachedEndPage'
3503
+ property :user_escalated, as: 'userEscalated'
3504
+ collection :webhook_statuses, as: 'webhookStatuses'
3505
+ end
3506
+ end
3507
+
3426
3508
  class GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata
3427
3509
  # @private
3428
3510
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3583,6 +3665,14 @@ module Google
3583
3665
  end
3584
3666
  end
3585
3667
 
3668
+ class GoogleCloudDialogflowCxV3beta1ConversationSignals
3669
+ # @private
3670
+ class Representation < Google::Apis::Core::JsonRepresentation
3671
+ property :turn_signals, as: 'turnSignals', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1TurnSignals, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1TurnSignals::Representation
3672
+
3673
+ end
3674
+ end
3675
+
3586
3676
  class GoogleCloudDialogflowCxV3beta1ConversationTurn
3587
3677
  # @private
3588
3678
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4237,6 +4327,20 @@ module Google
4237
4327
  end
4238
4328
  end
4239
4329
 
4330
+ class GoogleCloudDialogflowCxV3beta1TurnSignals
4331
+ # @private
4332
+ class Representation < Google::Apis::Core::JsonRepresentation
4333
+ property :agent_escalated, as: 'agentEscalated'
4334
+ property :dtmf_used, as: 'dtmfUsed'
4335
+ collection :failure_reasons, as: 'failureReasons'
4336
+ property :no_match, as: 'noMatch'
4337
+ property :no_user_input, as: 'noUserInput'
4338
+ property :reached_end_page, as: 'reachedEndPage'
4339
+ property :user_escalated, as: 'userEscalated'
4340
+ collection :webhook_statuses, as: 'webhookStatuses'
4341
+ end
4342
+ end
4343
+
4240
4344
  class GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata
4241
4345
  # @private
4242
4346
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4386,6 +4490,17 @@ module Google
4386
4490
  property :answer_relevance, as: 'answerRelevance'
4387
4491
  property :document_correctness, as: 'documentCorrectness'
4388
4492
  property :document_efficiency, as: 'documentEfficiency'
4493
+ property :summarization_feedback, as: 'summarizationFeedback', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentAssistantFeedbackSummarizationFeedback, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentAssistantFeedbackSummarizationFeedback::Representation
4494
+
4495
+ end
4496
+ end
4497
+
4498
+ class GoogleCloudDialogflowV2AgentAssistantFeedbackSummarizationFeedback
4499
+ # @private
4500
+ class Representation < Google::Apis::Core::JsonRepresentation
4501
+ property :start_time, as: 'startTime'
4502
+ property :submit_time, as: 'submitTime'
4503
+ property :summary_text, as: 'summaryText'
4389
4504
  end
4390
4505
  end
4391
4506
 
@@ -6116,6 +6231,33 @@ module Google
6116
6231
  end
6117
6232
  end
6118
6233
 
6234
+ class GoogleCloudDialogflowV2SuggestConversationSummaryRequest
6235
+ # @private
6236
+ class Representation < Google::Apis::Core::JsonRepresentation
6237
+ property :context_size, as: 'contextSize'
6238
+ property :latest_message, as: 'latestMessage'
6239
+ end
6240
+ end
6241
+
6242
+ class GoogleCloudDialogflowV2SuggestConversationSummaryResponse
6243
+ # @private
6244
+ class Representation < Google::Apis::Core::JsonRepresentation
6245
+ property :context_size, as: 'contextSize'
6246
+ property :latest_message, as: 'latestMessage'
6247
+ property :summary, as: 'summary', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestConversationSummaryResponseSummary, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestConversationSummaryResponseSummary::Representation
6248
+
6249
+ end
6250
+ end
6251
+
6252
+ class GoogleCloudDialogflowV2SuggestConversationSummaryResponseSummary
6253
+ # @private
6254
+ class Representation < Google::Apis::Core::JsonRepresentation
6255
+ property :answer_record, as: 'answerRecord'
6256
+ property :text, as: 'text'
6257
+ hash :text_sections, as: 'textSections'
6258
+ end
6259
+ end
6260
+
6119
6261
  class GoogleCloudDialogflowV2SuggestFaqAnswersRequest
6120
6262
  # @private
6121
6263
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7154,6 +7296,14 @@ module Google
7154
7296
  end
7155
7297
  end
7156
7298
 
7299
+ class GoogleCloudDialogflowV3alpha1ConversationSignals
7300
+ # @private
7301
+ class Representation < Google::Apis::Core::JsonRepresentation
7302
+ property :turn_signals, as: 'turnSignals', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV3alpha1TurnSignals, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV3alpha1TurnSignals::Representation
7303
+
7304
+ end
7305
+ end
7306
+
7157
7307
  class GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata
7158
7308
  # @private
7159
7309
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7201,6 +7351,21 @@ module Google
7201
7351
  end
7202
7352
  end
7203
7353
 
7354
+ class GoogleCloudDialogflowV3alpha1TurnSignals
7355
+ # @private
7356
+ class Representation < Google::Apis::Core::JsonRepresentation
7357
+ property :agent_escalated, as: 'agentEscalated'
7358
+ property :dtmf_used, as: 'dtmfUsed'
7359
+ collection :failure_reasons, as: 'failureReasons'
7360
+ property :no_match, as: 'noMatch'
7361
+ property :no_user_input, as: 'noUserInput'
7362
+ property :reached_end_page, as: 'reachedEndPage'
7363
+ property :triggered_abandonment_event, as: 'triggeredAbandonmentEvent'
7364
+ property :user_escalated, as: 'userEscalated'
7365
+ collection :webhook_statuses, as: 'webhookStatuses'
7366
+ end
7367
+ end
7368
+
7204
7369
  class GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata
7205
7370
  # @private
7206
7371
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4236,6 +4236,41 @@ module Google
4236
4236
  execute_or_queue_command(command, &block)
4237
4237
  end
4238
4238
 
4239
+ # Suggests summary for a conversation based on specific historical messages. The
4240
+ # range of the messages to be used for summary can be specified in the request.
4241
+ # @param [String] conversation
4242
+ # Required. The conversation to fetch suggestion for. Format: `projects//
4243
+ # locations//conversations/`.
4244
+ # @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestConversationSummaryRequest] google_cloud_dialogflow_v2_suggest_conversation_summary_request_object
4245
+ # @param [String] fields
4246
+ # Selector specifying which fields to include in a partial response.
4247
+ # @param [String] quota_user
4248
+ # Available to use for quota purposes for server-side applications. Can be any
4249
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4250
+ # @param [Google::Apis::RequestOptions] options
4251
+ # Request-specific options
4252
+ #
4253
+ # @yield [result, err] Result & error if block supplied
4254
+ # @yieldparam result [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestConversationSummaryResponse] parsed result object
4255
+ # @yieldparam err [StandardError] error object if request failed
4256
+ #
4257
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestConversationSummaryResponse]
4258
+ #
4259
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4260
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4261
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4262
+ def suggest_project_conversation_suggestion_conversation_summary(conversation, google_cloud_dialogflow_v2_suggest_conversation_summary_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
4263
+ command = make_simple_command(:post, 'v2/{+conversation}/suggestions:suggestConversationSummary', options)
4264
+ command.request_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestConversationSummaryRequest::Representation
4265
+ command.request_object = google_cloud_dialogflow_v2_suggest_conversation_summary_request_object
4266
+ command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestConversationSummaryResponse::Representation
4267
+ command.response_class = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestConversationSummaryResponse
4268
+ command.params['conversation'] = conversation unless conversation.nil?
4269
+ command.query['fields'] = fields unless fields.nil?
4270
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4271
+ execute_or_queue_command(command, &block)
4272
+ end
4273
+
4239
4274
  # Creates a knowledge base.
4240
4275
  # @param [String] parent
4241
4276
  # Required. The project to create a knowledge base for. Format: `projects//
@@ -8680,6 +8715,41 @@ module Google
8680
8715
  execute_or_queue_command(command, &block)
8681
8716
  end
8682
8717
 
8718
+ # Suggests summary for a conversation based on specific historical messages. The
8719
+ # range of the messages to be used for summary can be specified in the request.
8720
+ # @param [String] conversation
8721
+ # Required. The conversation to fetch suggestion for. Format: `projects//
8722
+ # locations//conversations/`.
8723
+ # @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestConversationSummaryRequest] google_cloud_dialogflow_v2_suggest_conversation_summary_request_object
8724
+ # @param [String] fields
8725
+ # Selector specifying which fields to include in a partial response.
8726
+ # @param [String] quota_user
8727
+ # Available to use for quota purposes for server-side applications. Can be any
8728
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
8729
+ # @param [Google::Apis::RequestOptions] options
8730
+ # Request-specific options
8731
+ #
8732
+ # @yield [result, err] Result & error if block supplied
8733
+ # @yieldparam result [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestConversationSummaryResponse] parsed result object
8734
+ # @yieldparam err [StandardError] error object if request failed
8735
+ #
8736
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestConversationSummaryResponse]
8737
+ #
8738
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8739
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8740
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
8741
+ def suggest_project_location_conversation_suggestion_conversation_summary(conversation, google_cloud_dialogflow_v2_suggest_conversation_summary_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
8742
+ command = make_simple_command(:post, 'v2/{+conversation}/suggestions:suggestConversationSummary', options)
8743
+ command.request_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestConversationSummaryRequest::Representation
8744
+ command.request_object = google_cloud_dialogflow_v2_suggest_conversation_summary_request_object
8745
+ command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestConversationSummaryResponse::Representation
8746
+ command.response_class = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestConversationSummaryResponse
8747
+ command.params['conversation'] = conversation unless conversation.nil?
8748
+ command.query['fields'] = fields unless fields.nil?
8749
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
8750
+ execute_or_queue_command(command, &block)
8751
+ end
8752
+
8683
8753
  # Creates a knowledge base.
8684
8754
  # @param [String] parent
8685
8755
  # Required. The project to create a knowledge base for. Format: `projects//
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dialogflow_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.49.0
4
+ version: 0.50.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-12 00:00:00.000000000 Z
11
+ date: 2023-01-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.49.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.50.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2
63
63
  post_install_message:
64
64
  rdoc_options: []