google-apis-dialogflow_v2 0.49.0 → 0.51.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b061cbad39daad3e19d9825f82d0383899c6839e2aa491eb7b741c94f6b743b
|
4
|
+
data.tar.gz: c99a756c5aa8cf2adb344ad3fb860a71fe9239fece415feda6ee5524057a5447
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 429def06f5c1c8f9b0d9d858ce87ab2502bf627ed22f594135aee35d4bab8bf5d7bf7ad8e9626f9bf4dddda88424fadc8c18c2f3fc72fc23d3dd437ab355d3be
|
7
|
+
data.tar.gz: 54119d15ddb90ca822580d83a647f511036b5778d19fa5373e3fc55e1952e90ad83dfc92c202ea9549a0401b0a5cde5d8dcbff0050c1737e12e5a13472e326c4
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-dialogflow_v2
|
2
2
|
|
3
|
+
### v0.51.0 (2023-01-15)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230110
|
6
|
+
* Regenerated using generator version 0.11.1
|
7
|
+
|
8
|
+
### v0.50.0 (2023-01-04)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20230103
|
11
|
+
|
3
12
|
### v0.49.0 (2022-12-07)
|
4
13
|
|
5
14
|
* 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
|
@@ -1743,6 +1764,13 @@ module Google
|
|
1743
1764
|
class GoogleCloudDialogflowCxV3ResponseMessage
|
1744
1765
|
include Google::Apis::Core::Hashable
|
1745
1766
|
|
1767
|
+
# The channel which the response is associated with. Clients can specify the
|
1768
|
+
# channel via QueryParameters.channel, and only associated channel response will
|
1769
|
+
# be returned.
|
1770
|
+
# Corresponds to the JSON property `channel`
|
1771
|
+
# @return [String]
|
1772
|
+
attr_accessor :channel
|
1773
|
+
|
1746
1774
|
# Indicates that the conversation succeeded, i.e., the bot handled the issue
|
1747
1775
|
# that the customer talked to it about. Dialogflow only uses this to determine
|
1748
1776
|
# which conversations should be counted as successful and doesn't process the
|
@@ -1814,6 +1842,7 @@ module Google
|
|
1814
1842
|
|
1815
1843
|
# Update properties of this object
|
1816
1844
|
def update!(**args)
|
1845
|
+
@channel = args[:channel] if args.key?(:channel)
|
1817
1846
|
@conversation_success = args[:conversation_success] if args.key?(:conversation_success)
|
1818
1847
|
@end_interaction = args[:end_interaction] if args.key?(:end_interaction)
|
1819
1848
|
@live_agent_handoff = args[:live_agent_handoff] if args.key?(:live_agent_handoff)
|
@@ -2501,6 +2530,74 @@ module Google
|
|
2501
2530
|
end
|
2502
2531
|
end
|
2503
2532
|
|
2533
|
+
# Collection of all signals that were extracted for a single turn of the
|
2534
|
+
# conversation.
|
2535
|
+
class GoogleCloudDialogflowCxV3TurnSignals
|
2536
|
+
include Google::Apis::Core::Hashable
|
2537
|
+
|
2538
|
+
# Whether agent responded with LiveAgentHandoff fulfillment.
|
2539
|
+
# Corresponds to the JSON property `agentEscalated`
|
2540
|
+
# @return [Boolean]
|
2541
|
+
attr_accessor :agent_escalated
|
2542
|
+
alias_method :agent_escalated?, :agent_escalated
|
2543
|
+
|
2544
|
+
# Whether user was using DTMF input.
|
2545
|
+
# Corresponds to the JSON property `dtmfUsed`
|
2546
|
+
# @return [Boolean]
|
2547
|
+
attr_accessor :dtmf_used
|
2548
|
+
alias_method :dtmf_used?, :dtmf_used
|
2549
|
+
|
2550
|
+
# Failure reasons of the turn.
|
2551
|
+
# Corresponds to the JSON property `failureReasons`
|
2552
|
+
# @return [Array<String>]
|
2553
|
+
attr_accessor :failure_reasons
|
2554
|
+
|
2555
|
+
# Whether NLU predicted NO_MATCH.
|
2556
|
+
# Corresponds to the JSON property `noMatch`
|
2557
|
+
# @return [Boolean]
|
2558
|
+
attr_accessor :no_match
|
2559
|
+
alias_method :no_match?, :no_match
|
2560
|
+
|
2561
|
+
# Whether user provided no input.
|
2562
|
+
# Corresponds to the JSON property `noUserInput`
|
2563
|
+
# @return [Boolean]
|
2564
|
+
attr_accessor :no_user_input
|
2565
|
+
alias_method :no_user_input?, :no_user_input
|
2566
|
+
|
2567
|
+
# Whether turn resulted in End Session page.
|
2568
|
+
# Corresponds to the JSON property `reachedEndPage`
|
2569
|
+
# @return [Boolean]
|
2570
|
+
attr_accessor :reached_end_page
|
2571
|
+
alias_method :reached_end_page?, :reached_end_page
|
2572
|
+
|
2573
|
+
# Whether user was specifically asking for a live agent.
|
2574
|
+
# Corresponds to the JSON property `userEscalated`
|
2575
|
+
# @return [Boolean]
|
2576
|
+
attr_accessor :user_escalated
|
2577
|
+
alias_method :user_escalated?, :user_escalated
|
2578
|
+
|
2579
|
+
# Human-readable statuses of the webhooks triggered during this turn.
|
2580
|
+
# Corresponds to the JSON property `webhookStatuses`
|
2581
|
+
# @return [Array<String>]
|
2582
|
+
attr_accessor :webhook_statuses
|
2583
|
+
|
2584
|
+
def initialize(**args)
|
2585
|
+
update!(**args)
|
2586
|
+
end
|
2587
|
+
|
2588
|
+
# Update properties of this object
|
2589
|
+
def update!(**args)
|
2590
|
+
@agent_escalated = args[:agent_escalated] if args.key?(:agent_escalated)
|
2591
|
+
@dtmf_used = args[:dtmf_used] if args.key?(:dtmf_used)
|
2592
|
+
@failure_reasons = args[:failure_reasons] if args.key?(:failure_reasons)
|
2593
|
+
@no_match = args[:no_match] if args.key?(:no_match)
|
2594
|
+
@no_user_input = args[:no_user_input] if args.key?(:no_user_input)
|
2595
|
+
@reached_end_page = args[:reached_end_page] if args.key?(:reached_end_page)
|
2596
|
+
@user_escalated = args[:user_escalated] if args.key?(:user_escalated)
|
2597
|
+
@webhook_statuses = args[:webhook_statuses] if args.key?(:webhook_statuses)
|
2598
|
+
end
|
2599
|
+
end
|
2600
|
+
|
2504
2601
|
# Metadata for UpdateDocument operation.
|
2505
2602
|
class GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata
|
2506
2603
|
include Google::Apis::Core::Hashable
|
@@ -3059,6 +3156,27 @@ module Google
|
|
3059
3156
|
end
|
3060
3157
|
end
|
3061
3158
|
|
3159
|
+
# This message is used to hold all the Conversation Signals data, which will be
|
3160
|
+
# converted to JSON and exported to BigQuery.
|
3161
|
+
class GoogleCloudDialogflowCxV3beta1ConversationSignals
|
3162
|
+
include Google::Apis::Core::Hashable
|
3163
|
+
|
3164
|
+
# Collection of all signals that were extracted for a single turn of the
|
3165
|
+
# conversation.
|
3166
|
+
# Corresponds to the JSON property `turnSignals`
|
3167
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1TurnSignals]
|
3168
|
+
attr_accessor :turn_signals
|
3169
|
+
|
3170
|
+
def initialize(**args)
|
3171
|
+
update!(**args)
|
3172
|
+
end
|
3173
|
+
|
3174
|
+
# Update properties of this object
|
3175
|
+
def update!(**args)
|
3176
|
+
@turn_signals = args[:turn_signals] if args.key?(:turn_signals)
|
3177
|
+
end
|
3178
|
+
end
|
3179
|
+
|
3062
3180
|
# One interaction between a human and virtual agent. The human provides some
|
3063
3181
|
# input and the virtual agent provides a response.
|
3064
3182
|
class GoogleCloudDialogflowCxV3beta1ConversationTurn
|
@@ -4671,6 +4789,13 @@ module Google
|
|
4671
4789
|
class GoogleCloudDialogflowCxV3beta1ResponseMessage
|
4672
4790
|
include Google::Apis::Core::Hashable
|
4673
4791
|
|
4792
|
+
# The channel which the response is associated with. Clients can specify the
|
4793
|
+
# channel via QueryParameters.channel, and only associated channel response will
|
4794
|
+
# be returned.
|
4795
|
+
# Corresponds to the JSON property `channel`
|
4796
|
+
# @return [String]
|
4797
|
+
attr_accessor :channel
|
4798
|
+
|
4674
4799
|
# Indicates that the conversation succeeded, i.e., the bot handled the issue
|
4675
4800
|
# that the customer talked to it about. Dialogflow only uses this to determine
|
4676
4801
|
# which conversations should be counted as successful and doesn't process the
|
@@ -4742,6 +4867,7 @@ module Google
|
|
4742
4867
|
|
4743
4868
|
# Update properties of this object
|
4744
4869
|
def update!(**args)
|
4870
|
+
@channel = args[:channel] if args.key?(:channel)
|
4745
4871
|
@conversation_success = args[:conversation_success] if args.key?(:conversation_success)
|
4746
4872
|
@end_interaction = args[:end_interaction] if args.key?(:end_interaction)
|
4747
4873
|
@live_agent_handoff = args[:live_agent_handoff] if args.key?(:live_agent_handoff)
|
@@ -5429,6 +5555,74 @@ module Google
|
|
5429
5555
|
end
|
5430
5556
|
end
|
5431
5557
|
|
5558
|
+
# Collection of all signals that were extracted for a single turn of the
|
5559
|
+
# conversation.
|
5560
|
+
class GoogleCloudDialogflowCxV3beta1TurnSignals
|
5561
|
+
include Google::Apis::Core::Hashable
|
5562
|
+
|
5563
|
+
# Whether agent responded with LiveAgentHandoff fulfillment.
|
5564
|
+
# Corresponds to the JSON property `agentEscalated`
|
5565
|
+
# @return [Boolean]
|
5566
|
+
attr_accessor :agent_escalated
|
5567
|
+
alias_method :agent_escalated?, :agent_escalated
|
5568
|
+
|
5569
|
+
# Whether user was using DTMF input.
|
5570
|
+
# Corresponds to the JSON property `dtmfUsed`
|
5571
|
+
# @return [Boolean]
|
5572
|
+
attr_accessor :dtmf_used
|
5573
|
+
alias_method :dtmf_used?, :dtmf_used
|
5574
|
+
|
5575
|
+
# Failure reasons of the turn.
|
5576
|
+
# Corresponds to the JSON property `failureReasons`
|
5577
|
+
# @return [Array<String>]
|
5578
|
+
attr_accessor :failure_reasons
|
5579
|
+
|
5580
|
+
# Whether NLU predicted NO_MATCH.
|
5581
|
+
# Corresponds to the JSON property `noMatch`
|
5582
|
+
# @return [Boolean]
|
5583
|
+
attr_accessor :no_match
|
5584
|
+
alias_method :no_match?, :no_match
|
5585
|
+
|
5586
|
+
# Whether user provided no input.
|
5587
|
+
# Corresponds to the JSON property `noUserInput`
|
5588
|
+
# @return [Boolean]
|
5589
|
+
attr_accessor :no_user_input
|
5590
|
+
alias_method :no_user_input?, :no_user_input
|
5591
|
+
|
5592
|
+
# Whether turn resulted in End Session page.
|
5593
|
+
# Corresponds to the JSON property `reachedEndPage`
|
5594
|
+
# @return [Boolean]
|
5595
|
+
attr_accessor :reached_end_page
|
5596
|
+
alias_method :reached_end_page?, :reached_end_page
|
5597
|
+
|
5598
|
+
# Whether user was specifically asking for a live agent.
|
5599
|
+
# Corresponds to the JSON property `userEscalated`
|
5600
|
+
# @return [Boolean]
|
5601
|
+
attr_accessor :user_escalated
|
5602
|
+
alias_method :user_escalated?, :user_escalated
|
5603
|
+
|
5604
|
+
# Human-readable statuses of the webhooks triggered during this turn.
|
5605
|
+
# Corresponds to the JSON property `webhookStatuses`
|
5606
|
+
# @return [Array<String>]
|
5607
|
+
attr_accessor :webhook_statuses
|
5608
|
+
|
5609
|
+
def initialize(**args)
|
5610
|
+
update!(**args)
|
5611
|
+
end
|
5612
|
+
|
5613
|
+
# Update properties of this object
|
5614
|
+
def update!(**args)
|
5615
|
+
@agent_escalated = args[:agent_escalated] if args.key?(:agent_escalated)
|
5616
|
+
@dtmf_used = args[:dtmf_used] if args.key?(:dtmf_used)
|
5617
|
+
@failure_reasons = args[:failure_reasons] if args.key?(:failure_reasons)
|
5618
|
+
@no_match = args[:no_match] if args.key?(:no_match)
|
5619
|
+
@no_user_input = args[:no_user_input] if args.key?(:no_user_input)
|
5620
|
+
@reached_end_page = args[:reached_end_page] if args.key?(:reached_end_page)
|
5621
|
+
@user_escalated = args[:user_escalated] if args.key?(:user_escalated)
|
5622
|
+
@webhook_statuses = args[:webhook_statuses] if args.key?(:webhook_statuses)
|
5623
|
+
end
|
5624
|
+
end
|
5625
|
+
|
5432
5626
|
# Metadata for UpdateDocument operation.
|
5433
5627
|
class GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata
|
5434
5628
|
include Google::Apis::Core::Hashable
|
@@ -6015,6 +6209,11 @@ module Google
|
|
6015
6209
|
# @return [String]
|
6016
6210
|
attr_accessor :document_efficiency
|
6017
6211
|
|
6212
|
+
# Feedback for conversation summarization.
|
6213
|
+
# Corresponds to the JSON property `summarizationFeedback`
|
6214
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentAssistantFeedbackSummarizationFeedback]
|
6215
|
+
attr_accessor :summarization_feedback
|
6216
|
+
|
6018
6217
|
def initialize(**args)
|
6019
6218
|
update!(**args)
|
6020
6219
|
end
|
@@ -6024,6 +6223,38 @@ module Google
|
|
6024
6223
|
@answer_relevance = args[:answer_relevance] if args.key?(:answer_relevance)
|
6025
6224
|
@document_correctness = args[:document_correctness] if args.key?(:document_correctness)
|
6026
6225
|
@document_efficiency = args[:document_efficiency] if args.key?(:document_efficiency)
|
6226
|
+
@summarization_feedback = args[:summarization_feedback] if args.key?(:summarization_feedback)
|
6227
|
+
end
|
6228
|
+
end
|
6229
|
+
|
6230
|
+
# Feedback for conversation summarization.
|
6231
|
+
class GoogleCloudDialogflowV2AgentAssistantFeedbackSummarizationFeedback
|
6232
|
+
include Google::Apis::Core::Hashable
|
6233
|
+
|
6234
|
+
# Timestamp when composing of the summary starts.
|
6235
|
+
# Corresponds to the JSON property `startTime`
|
6236
|
+
# @return [String]
|
6237
|
+
attr_accessor :start_time
|
6238
|
+
|
6239
|
+
# Timestamp when the summary was submitted.
|
6240
|
+
# Corresponds to the JSON property `submitTime`
|
6241
|
+
# @return [String]
|
6242
|
+
attr_accessor :submit_time
|
6243
|
+
|
6244
|
+
# Text of actual submitted summary.
|
6245
|
+
# Corresponds to the JSON property `summaryText`
|
6246
|
+
# @return [String]
|
6247
|
+
attr_accessor :summary_text
|
6248
|
+
|
6249
|
+
def initialize(**args)
|
6250
|
+
update!(**args)
|
6251
|
+
end
|
6252
|
+
|
6253
|
+
# Update properties of this object
|
6254
|
+
def update!(**args)
|
6255
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
6256
|
+
@submit_time = args[:submit_time] if args.key?(:submit_time)
|
6257
|
+
@summary_text = args[:summary_text] if args.key?(:summary_text)
|
6027
6258
|
end
|
6028
6259
|
end
|
6029
6260
|
|
@@ -12277,6 +12508,102 @@ module Google
|
|
12277
12508
|
end
|
12278
12509
|
end
|
12279
12510
|
|
12511
|
+
# The request message for Conversations.SuggestConversationSummary.
|
12512
|
+
class GoogleCloudDialogflowV2SuggestConversationSummaryRequest
|
12513
|
+
include Google::Apis::Core::Hashable
|
12514
|
+
|
12515
|
+
# Max number of messages prior to and including [latest_message] to use as
|
12516
|
+
# context when compiling the suggestion. By default 500 and at most 1000.
|
12517
|
+
# Corresponds to the JSON property `contextSize`
|
12518
|
+
# @return [Fixnum]
|
12519
|
+
attr_accessor :context_size
|
12520
|
+
|
12521
|
+
# The name of the latest conversation message used as context for compiling
|
12522
|
+
# suggestion. If empty, the latest message of the conversation will be used.
|
12523
|
+
# Format: `projects//locations//conversations//messages/`.
|
12524
|
+
# Corresponds to the JSON property `latestMessage`
|
12525
|
+
# @return [String]
|
12526
|
+
attr_accessor :latest_message
|
12527
|
+
|
12528
|
+
def initialize(**args)
|
12529
|
+
update!(**args)
|
12530
|
+
end
|
12531
|
+
|
12532
|
+
# Update properties of this object
|
12533
|
+
def update!(**args)
|
12534
|
+
@context_size = args[:context_size] if args.key?(:context_size)
|
12535
|
+
@latest_message = args[:latest_message] if args.key?(:latest_message)
|
12536
|
+
end
|
12537
|
+
end
|
12538
|
+
|
12539
|
+
# The response message for Conversations.SuggestConversationSummary.
|
12540
|
+
class GoogleCloudDialogflowV2SuggestConversationSummaryResponse
|
12541
|
+
include Google::Apis::Core::Hashable
|
12542
|
+
|
12543
|
+
# Number of messages prior to and including last_conversation_message used to
|
12544
|
+
# compile the suggestion. It may be smaller than the SuggestSummaryRequest.
|
12545
|
+
# context_size field in the request if there weren't that many messages in the
|
12546
|
+
# conversation.
|
12547
|
+
# Corresponds to the JSON property `contextSize`
|
12548
|
+
# @return [Fixnum]
|
12549
|
+
attr_accessor :context_size
|
12550
|
+
|
12551
|
+
# The name of the latest conversation message used as context for compiling
|
12552
|
+
# suggestion. Format: `projects//locations//conversations//messages/`.
|
12553
|
+
# Corresponds to the JSON property `latestMessage`
|
12554
|
+
# @return [String]
|
12555
|
+
attr_accessor :latest_message
|
12556
|
+
|
12557
|
+
# Generated summary for a conversation.
|
12558
|
+
# Corresponds to the JSON property `summary`
|
12559
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestConversationSummaryResponseSummary]
|
12560
|
+
attr_accessor :summary
|
12561
|
+
|
12562
|
+
def initialize(**args)
|
12563
|
+
update!(**args)
|
12564
|
+
end
|
12565
|
+
|
12566
|
+
# Update properties of this object
|
12567
|
+
def update!(**args)
|
12568
|
+
@context_size = args[:context_size] if args.key?(:context_size)
|
12569
|
+
@latest_message = args[:latest_message] if args.key?(:latest_message)
|
12570
|
+
@summary = args[:summary] if args.key?(:summary)
|
12571
|
+
end
|
12572
|
+
end
|
12573
|
+
|
12574
|
+
# Generated summary for a conversation.
|
12575
|
+
class GoogleCloudDialogflowV2SuggestConversationSummaryResponseSummary
|
12576
|
+
include Google::Apis::Core::Hashable
|
12577
|
+
|
12578
|
+
# The name of the answer record. Format: "projects//answerRecords/"
|
12579
|
+
# Corresponds to the JSON property `answerRecord`
|
12580
|
+
# @return [String]
|
12581
|
+
attr_accessor :answer_record
|
12582
|
+
|
12583
|
+
# The summary content that is concatenated into one string.
|
12584
|
+
# Corresponds to the JSON property `text`
|
12585
|
+
# @return [String]
|
12586
|
+
attr_accessor :text
|
12587
|
+
|
12588
|
+
# The summary content that is divided into sections. The key is the section's
|
12589
|
+
# name and the value is the section's content. There is no specific format for
|
12590
|
+
# the key or value.
|
12591
|
+
# Corresponds to the JSON property `textSections`
|
12592
|
+
# @return [Hash<String,String>]
|
12593
|
+
attr_accessor :text_sections
|
12594
|
+
|
12595
|
+
def initialize(**args)
|
12596
|
+
update!(**args)
|
12597
|
+
end
|
12598
|
+
|
12599
|
+
# Update properties of this object
|
12600
|
+
def update!(**args)
|
12601
|
+
@answer_record = args[:answer_record] if args.key?(:answer_record)
|
12602
|
+
@text = args[:text] if args.key?(:text)
|
12603
|
+
@text_sections = args[:text_sections] if args.key?(:text_sections)
|
12604
|
+
end
|
12605
|
+
end
|
12606
|
+
|
12280
12607
|
# The request message for Participants.SuggestFaqAnswers.
|
12281
12608
|
class GoogleCloudDialogflowV2SuggestFaqAnswersRequest
|
12282
12609
|
include Google::Apis::Core::Hashable
|
@@ -16136,6 +16463,27 @@ module Google
|
|
16136
16463
|
end
|
16137
16464
|
end
|
16138
16465
|
|
16466
|
+
# This message is used to hold all the Conversation Signals data, which will be
|
16467
|
+
# converted to JSON and exported to BigQuery.
|
16468
|
+
class GoogleCloudDialogflowV3alpha1ConversationSignals
|
16469
|
+
include Google::Apis::Core::Hashable
|
16470
|
+
|
16471
|
+
# Collection of all signals that were extracted for a single turn of the
|
16472
|
+
# conversation.
|
16473
|
+
# Corresponds to the JSON property `turnSignals`
|
16474
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV3alpha1TurnSignals]
|
16475
|
+
attr_accessor :turn_signals
|
16476
|
+
|
16477
|
+
def initialize(**args)
|
16478
|
+
update!(**args)
|
16479
|
+
end
|
16480
|
+
|
16481
|
+
# Update properties of this object
|
16482
|
+
def update!(**args)
|
16483
|
+
@turn_signals = args[:turn_signals] if args.key?(:turn_signals)
|
16484
|
+
end
|
16485
|
+
end
|
16486
|
+
|
16139
16487
|
# Metadata for CreateDocument operation.
|
16140
16488
|
class GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata
|
16141
16489
|
include Google::Apis::Core::Hashable
|
@@ -16250,6 +16598,82 @@ module Google
|
|
16250
16598
|
end
|
16251
16599
|
end
|
16252
16600
|
|
16601
|
+
# Collection of all signals that were extracted for a single turn of the
|
16602
|
+
# conversation.
|
16603
|
+
class GoogleCloudDialogflowV3alpha1TurnSignals
|
16604
|
+
include Google::Apis::Core::Hashable
|
16605
|
+
|
16606
|
+
# Whether agent responded with LiveAgentHandoff fulfillment.
|
16607
|
+
# Corresponds to the JSON property `agentEscalated`
|
16608
|
+
# @return [Boolean]
|
16609
|
+
attr_accessor :agent_escalated
|
16610
|
+
alias_method :agent_escalated?, :agent_escalated
|
16611
|
+
|
16612
|
+
# Whether user was using DTMF input.
|
16613
|
+
# Corresponds to the JSON property `dtmfUsed`
|
16614
|
+
# @return [Boolean]
|
16615
|
+
attr_accessor :dtmf_used
|
16616
|
+
alias_method :dtmf_used?, :dtmf_used
|
16617
|
+
|
16618
|
+
# Failure reasons of the turn.
|
16619
|
+
# Corresponds to the JSON property `failureReasons`
|
16620
|
+
# @return [Array<String>]
|
16621
|
+
attr_accessor :failure_reasons
|
16622
|
+
|
16623
|
+
# Whether NLU predicted NO_MATCH.
|
16624
|
+
# Corresponds to the JSON property `noMatch`
|
16625
|
+
# @return [Boolean]
|
16626
|
+
attr_accessor :no_match
|
16627
|
+
alias_method :no_match?, :no_match
|
16628
|
+
|
16629
|
+
# Whether user provided no input.
|
16630
|
+
# Corresponds to the JSON property `noUserInput`
|
16631
|
+
# @return [Boolean]
|
16632
|
+
attr_accessor :no_user_input
|
16633
|
+
alias_method :no_user_input?, :no_user_input
|
16634
|
+
|
16635
|
+
# Whether turn resulted in End Session page.
|
16636
|
+
# Corresponds to the JSON property `reachedEndPage`
|
16637
|
+
# @return [Boolean]
|
16638
|
+
attr_accessor :reached_end_page
|
16639
|
+
alias_method :reached_end_page?, :reached_end_page
|
16640
|
+
|
16641
|
+
# Whether agent has triggered the event corresponding to user abandoning the
|
16642
|
+
# conversation.
|
16643
|
+
# Corresponds to the JSON property `triggeredAbandonmentEvent`
|
16644
|
+
# @return [Boolean]
|
16645
|
+
attr_accessor :triggered_abandonment_event
|
16646
|
+
alias_method :triggered_abandonment_event?, :triggered_abandonment_event
|
16647
|
+
|
16648
|
+
# Whether user was specifically asking for a live agent.
|
16649
|
+
# Corresponds to the JSON property `userEscalated`
|
16650
|
+
# @return [Boolean]
|
16651
|
+
attr_accessor :user_escalated
|
16652
|
+
alias_method :user_escalated?, :user_escalated
|
16653
|
+
|
16654
|
+
# Human-readable statuses of the webhooks triggered during this turn.
|
16655
|
+
# Corresponds to the JSON property `webhookStatuses`
|
16656
|
+
# @return [Array<String>]
|
16657
|
+
attr_accessor :webhook_statuses
|
16658
|
+
|
16659
|
+
def initialize(**args)
|
16660
|
+
update!(**args)
|
16661
|
+
end
|
16662
|
+
|
16663
|
+
# Update properties of this object
|
16664
|
+
def update!(**args)
|
16665
|
+
@agent_escalated = args[:agent_escalated] if args.key?(:agent_escalated)
|
16666
|
+
@dtmf_used = args[:dtmf_used] if args.key?(:dtmf_used)
|
16667
|
+
@failure_reasons = args[:failure_reasons] if args.key?(:failure_reasons)
|
16668
|
+
@no_match = args[:no_match] if args.key?(:no_match)
|
16669
|
+
@no_user_input = args[:no_user_input] if args.key?(:no_user_input)
|
16670
|
+
@reached_end_page = args[:reached_end_page] if args.key?(:reached_end_page)
|
16671
|
+
@triggered_abandonment_event = args[:triggered_abandonment_event] if args.key?(:triggered_abandonment_event)
|
16672
|
+
@user_escalated = args[:user_escalated] if args.key?(:user_escalated)
|
16673
|
+
@webhook_statuses = args[:webhook_statuses] if args.key?(:webhook_statuses)
|
16674
|
+
end
|
16675
|
+
end
|
16676
|
+
|
16253
16677
|
# Metadata for UpdateDocument operation.
|
16254
16678
|
class GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata
|
16255
16679
|
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.
|
19
|
+
GEM_VERSION = "0.51.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.11.
|
22
|
+
GENERATOR_VERSION = "0.11.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230110"
|
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
|
@@ -3210,6 +3278,7 @@ module Google
|
|
3210
3278
|
class GoogleCloudDialogflowCxV3ResponseMessage
|
3211
3279
|
# @private
|
3212
3280
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3281
|
+
property :channel, as: 'channel'
|
3213
3282
|
property :conversation_success, as: 'conversationSuccess', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess::Representation
|
3214
3283
|
|
3215
3284
|
property :end_interaction, as: 'endInteraction', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageEndInteraction, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessageEndInteraction::Representation
|
@@ -3423,6 +3492,20 @@ module Google
|
|
3423
3492
|
end
|
3424
3493
|
end
|
3425
3494
|
|
3495
|
+
class GoogleCloudDialogflowCxV3TurnSignals
|
3496
|
+
# @private
|
3497
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3498
|
+
property :agent_escalated, as: 'agentEscalated'
|
3499
|
+
property :dtmf_used, as: 'dtmfUsed'
|
3500
|
+
collection :failure_reasons, as: 'failureReasons'
|
3501
|
+
property :no_match, as: 'noMatch'
|
3502
|
+
property :no_user_input, as: 'noUserInput'
|
3503
|
+
property :reached_end_page, as: 'reachedEndPage'
|
3504
|
+
property :user_escalated, as: 'userEscalated'
|
3505
|
+
collection :webhook_statuses, as: 'webhookStatuses'
|
3506
|
+
end
|
3507
|
+
end
|
3508
|
+
|
3426
3509
|
class GoogleCloudDialogflowCxV3UpdateDocumentOperationMetadata
|
3427
3510
|
# @private
|
3428
3511
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3583,6 +3666,14 @@ module Google
|
|
3583
3666
|
end
|
3584
3667
|
end
|
3585
3668
|
|
3669
|
+
class GoogleCloudDialogflowCxV3beta1ConversationSignals
|
3670
|
+
# @private
|
3671
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3672
|
+
property :turn_signals, as: 'turnSignals', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1TurnSignals, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1TurnSignals::Representation
|
3673
|
+
|
3674
|
+
end
|
3675
|
+
end
|
3676
|
+
|
3586
3677
|
class GoogleCloudDialogflowCxV3beta1ConversationTurn
|
3587
3678
|
# @private
|
3588
3679
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4024,6 +4115,7 @@ module Google
|
|
4024
4115
|
class GoogleCloudDialogflowCxV3beta1ResponseMessage
|
4025
4116
|
# @private
|
4026
4117
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4118
|
+
property :channel, as: 'channel'
|
4027
4119
|
property :conversation_success, as: 'conversationSuccess', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess::Representation
|
4028
4120
|
|
4029
4121
|
property :end_interaction, as: 'endInteraction', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction::Representation
|
@@ -4237,6 +4329,20 @@ module Google
|
|
4237
4329
|
end
|
4238
4330
|
end
|
4239
4331
|
|
4332
|
+
class GoogleCloudDialogflowCxV3beta1TurnSignals
|
4333
|
+
# @private
|
4334
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4335
|
+
property :agent_escalated, as: 'agentEscalated'
|
4336
|
+
property :dtmf_used, as: 'dtmfUsed'
|
4337
|
+
collection :failure_reasons, as: 'failureReasons'
|
4338
|
+
property :no_match, as: 'noMatch'
|
4339
|
+
property :no_user_input, as: 'noUserInput'
|
4340
|
+
property :reached_end_page, as: 'reachedEndPage'
|
4341
|
+
property :user_escalated, as: 'userEscalated'
|
4342
|
+
collection :webhook_statuses, as: 'webhookStatuses'
|
4343
|
+
end
|
4344
|
+
end
|
4345
|
+
|
4240
4346
|
class GoogleCloudDialogflowCxV3beta1UpdateDocumentOperationMetadata
|
4241
4347
|
# @private
|
4242
4348
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4386,6 +4492,17 @@ module Google
|
|
4386
4492
|
property :answer_relevance, as: 'answerRelevance'
|
4387
4493
|
property :document_correctness, as: 'documentCorrectness'
|
4388
4494
|
property :document_efficiency, as: 'documentEfficiency'
|
4495
|
+
property :summarization_feedback, as: 'summarizationFeedback', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentAssistantFeedbackSummarizationFeedback, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentAssistantFeedbackSummarizationFeedback::Representation
|
4496
|
+
|
4497
|
+
end
|
4498
|
+
end
|
4499
|
+
|
4500
|
+
class GoogleCloudDialogflowV2AgentAssistantFeedbackSummarizationFeedback
|
4501
|
+
# @private
|
4502
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4503
|
+
property :start_time, as: 'startTime'
|
4504
|
+
property :submit_time, as: 'submitTime'
|
4505
|
+
property :summary_text, as: 'summaryText'
|
4389
4506
|
end
|
4390
4507
|
end
|
4391
4508
|
|
@@ -6116,6 +6233,33 @@ module Google
|
|
6116
6233
|
end
|
6117
6234
|
end
|
6118
6235
|
|
6236
|
+
class GoogleCloudDialogflowV2SuggestConversationSummaryRequest
|
6237
|
+
# @private
|
6238
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6239
|
+
property :context_size, as: 'contextSize'
|
6240
|
+
property :latest_message, as: 'latestMessage'
|
6241
|
+
end
|
6242
|
+
end
|
6243
|
+
|
6244
|
+
class GoogleCloudDialogflowV2SuggestConversationSummaryResponse
|
6245
|
+
# @private
|
6246
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6247
|
+
property :context_size, as: 'contextSize'
|
6248
|
+
property :latest_message, as: 'latestMessage'
|
6249
|
+
property :summary, as: 'summary', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestConversationSummaryResponseSummary, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestConversationSummaryResponseSummary::Representation
|
6250
|
+
|
6251
|
+
end
|
6252
|
+
end
|
6253
|
+
|
6254
|
+
class GoogleCloudDialogflowV2SuggestConversationSummaryResponseSummary
|
6255
|
+
# @private
|
6256
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6257
|
+
property :answer_record, as: 'answerRecord'
|
6258
|
+
property :text, as: 'text'
|
6259
|
+
hash :text_sections, as: 'textSections'
|
6260
|
+
end
|
6261
|
+
end
|
6262
|
+
|
6119
6263
|
class GoogleCloudDialogflowV2SuggestFaqAnswersRequest
|
6120
6264
|
# @private
|
6121
6265
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -7154,6 +7298,14 @@ module Google
|
|
7154
7298
|
end
|
7155
7299
|
end
|
7156
7300
|
|
7301
|
+
class GoogleCloudDialogflowV3alpha1ConversationSignals
|
7302
|
+
# @private
|
7303
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7304
|
+
property :turn_signals, as: 'turnSignals', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV3alpha1TurnSignals, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV3alpha1TurnSignals::Representation
|
7305
|
+
|
7306
|
+
end
|
7307
|
+
end
|
7308
|
+
|
7157
7309
|
class GoogleCloudDialogflowV3alpha1CreateDocumentOperationMetadata
|
7158
7310
|
# @private
|
7159
7311
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -7201,6 +7353,21 @@ module Google
|
|
7201
7353
|
end
|
7202
7354
|
end
|
7203
7355
|
|
7356
|
+
class GoogleCloudDialogflowV3alpha1TurnSignals
|
7357
|
+
# @private
|
7358
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7359
|
+
property :agent_escalated, as: 'agentEscalated'
|
7360
|
+
property :dtmf_used, as: 'dtmfUsed'
|
7361
|
+
collection :failure_reasons, as: 'failureReasons'
|
7362
|
+
property :no_match, as: 'noMatch'
|
7363
|
+
property :no_user_input, as: 'noUserInput'
|
7364
|
+
property :reached_end_page, as: 'reachedEndPage'
|
7365
|
+
property :triggered_abandonment_event, as: 'triggeredAbandonmentEvent'
|
7366
|
+
property :user_escalated, as: 'userEscalated'
|
7367
|
+
collection :webhook_statuses, as: 'webhookStatuses'
|
7368
|
+
end
|
7369
|
+
end
|
7370
|
+
|
7204
7371
|
class GoogleCloudDialogflowV3alpha1UpdateDocumentOperationMetadata
|
7205
7372
|
# @private
|
7206
7373
|
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.
|
4
|
+
version: 0.51.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:
|
11
|
+
date: 2023-01-15 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.51.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: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.4.2
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Dialogflow API V2
|