google-apis-dialogflow_v3beta1 0.26.0 → 0.27.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: 8fdb3e54c538ba86f376aacf1fab65c98c24c6745eadd48a246da2d959ae8fbf
|
4
|
+
data.tar.gz: 2f43fafcf71309931f14ce5e15acdbd67499b4a4fdcee0bb0ced31fd6ac21e48
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc879576d467ce6f3e738f99df9f8632b0ef97b73a753671f74af89b7bbcfdf86be3b06674205513a9e5d483ae8be74df160c61c088d2b1c07fa942f460dd781
|
7
|
+
data.tar.gz: 5a6acc7ffb89ee8833e73141f80387573b3686d821445d0ddd3a3f1b6eb76b2f60237ed044c2a1119aae006d3bd89c7c8db4a1150691657b898b8c4df9246b46
|
data/CHANGELOG.md
CHANGED
data/OVERVIEW.md
CHANGED
@@ -51,7 +51,7 @@ require "google/apis/dialogflow_v3beta1"
|
|
51
51
|
client = Google::Apis::DialogflowV3beta1::DialogflowService.new
|
52
52
|
|
53
53
|
# Authenticate calls
|
54
|
-
client.
|
54
|
+
client.authorization = # ... use the googleauth gem to create credentials
|
55
55
|
```
|
56
56
|
|
57
57
|
See the class reference docs for information on the methods you can call from a client.
|
@@ -1526,6 +1526,12 @@ module Google
|
|
1526
1526
|
# @return [String]
|
1527
1527
|
attr_accessor :current_page
|
1528
1528
|
|
1529
|
+
# Always present for WebhookRequest. Ignored for WebhookResponse. The display
|
1530
|
+
# name of the current page.
|
1531
|
+
# Corresponds to the JSON property `displayName`
|
1532
|
+
# @return [String]
|
1533
|
+
attr_accessor :display_name
|
1534
|
+
|
1529
1535
|
# Represents form information.
|
1530
1536
|
# Corresponds to the JSON property `formInfo`
|
1531
1537
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3PageInfoFormInfo]
|
@@ -1538,6 +1544,7 @@ module Google
|
|
1538
1544
|
# Update properties of this object
|
1539
1545
|
def update!(**args)
|
1540
1546
|
@current_page = args[:current_page] if args.key?(:current_page)
|
1547
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
1541
1548
|
@form_info = args[:form_info] if args.key?(:form_info)
|
1542
1549
|
end
|
1543
1550
|
end
|
@@ -6413,6 +6420,12 @@ module Google
|
|
6413
6420
|
# @return [String]
|
6414
6421
|
attr_accessor :current_page
|
6415
6422
|
|
6423
|
+
# Always present for WebhookRequest. Ignored for WebhookResponse. The display
|
6424
|
+
# name of the current page.
|
6425
|
+
# Corresponds to the JSON property `displayName`
|
6426
|
+
# @return [String]
|
6427
|
+
attr_accessor :display_name
|
6428
|
+
|
6416
6429
|
# Represents form information.
|
6417
6430
|
# Corresponds to the JSON property `formInfo`
|
6418
6431
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PageInfoFormInfo]
|
@@ -6425,6 +6438,7 @@ module Google
|
|
6425
6438
|
# Update properties of this object
|
6426
6439
|
def update!(**args)
|
6427
6440
|
@current_page = args[:current_page] if args.key?(:current_page)
|
6441
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
6428
6442
|
@form_info = args[:form_info] if args.key?(:form_info)
|
6429
6443
|
end
|
6430
6444
|
end
|
@@ -10816,7 +10830,7 @@ module Google
|
|
10816
10830
|
# @return [String]
|
10817
10831
|
attr_accessor :content
|
10818
10832
|
|
10819
|
-
# Output only. The time when the message was created.
|
10833
|
+
# Output only. The time when the message was created in Contact Center AI.
|
10820
10834
|
# Corresponds to the JSON property `createTime`
|
10821
10835
|
# @return [String]
|
10822
10836
|
attr_accessor :create_time
|
@@ -10832,7 +10846,7 @@ module Google
|
|
10832
10846
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2MessageAnnotation]
|
10833
10847
|
attr_accessor :message_annotation
|
10834
10848
|
|
10835
|
-
# The unique identifier of the message. Format: `projects//locations//
|
10849
|
+
# Optional. The unique identifier of the message. Format: `projects//locations//
|
10836
10850
|
# conversations//messages/`.
|
10837
10851
|
# Corresponds to the JSON property `name`
|
10838
10852
|
# @return [String]
|
@@ -10848,6 +10862,23 @@ module Google
|
|
10848
10862
|
# @return [String]
|
10849
10863
|
attr_accessor :participant_role
|
10850
10864
|
|
10865
|
+
# Optional. The time when the message was sent.
|
10866
|
+
# Corresponds to the JSON property `sendTime`
|
10867
|
+
# @return [String]
|
10868
|
+
attr_accessor :send_time
|
10869
|
+
|
10870
|
+
# The result of sentiment analysis. Sentiment analysis inspects user input and
|
10871
|
+
# identifies the prevailing subjective opinion, especially to determine a user's
|
10872
|
+
# attitude as positive, negative, or neutral. For Participants.DetectIntent, it
|
10873
|
+
# needs to be configured in DetectIntentRequest.query_params. For Participants.
|
10874
|
+
# StreamingDetectIntent, it needs to be configured in
|
10875
|
+
# StreamingDetectIntentRequest.query_params. And for Participants.AnalyzeContent
|
10876
|
+
# and Participants.StreamingAnalyzeContent, it needs to be configured in
|
10877
|
+
# ConversationProfile.human_agent_assistant_config
|
10878
|
+
# Corresponds to the JSON property `sentimentAnalysis`
|
10879
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SentimentAnalysisResult]
|
10880
|
+
attr_accessor :sentiment_analysis
|
10881
|
+
|
10851
10882
|
def initialize(**args)
|
10852
10883
|
update!(**args)
|
10853
10884
|
end
|
@@ -10861,6 +10892,8 @@ module Google
|
|
10861
10892
|
@name = args[:name] if args.key?(:name)
|
10862
10893
|
@participant = args[:participant] if args.key?(:participant)
|
10863
10894
|
@participant_role = args[:participant_role] if args.key?(:participant_role)
|
10895
|
+
@send_time = args[:send_time] if args.key?(:send_time)
|
10896
|
+
@sentiment_analysis = args[:sentiment_analysis] if args.key?(:sentiment_analysis)
|
10864
10897
|
end
|
10865
10898
|
end
|
10866
10899
|
|
@@ -11191,6 +11224,40 @@ module Google
|
|
11191
11224
|
end
|
11192
11225
|
end
|
11193
11226
|
|
11227
|
+
# Represents a smart reply answer.
|
11228
|
+
class GoogleCloudDialogflowV2SmartReplyAnswer
|
11229
|
+
include Google::Apis::Core::Hashable
|
11230
|
+
|
11231
|
+
# The name of answer record, in the format of "projects//locations//
|
11232
|
+
# answerRecords/"
|
11233
|
+
# Corresponds to the JSON property `answerRecord`
|
11234
|
+
# @return [String]
|
11235
|
+
attr_accessor :answer_record
|
11236
|
+
|
11237
|
+
# Smart reply confidence. The system's confidence score that this reply is a
|
11238
|
+
# good match for this conversation, as a value from 0.0 (completely uncertain)
|
11239
|
+
# to 1.0 (completely certain).
|
11240
|
+
# Corresponds to the JSON property `confidence`
|
11241
|
+
# @return [Float]
|
11242
|
+
attr_accessor :confidence
|
11243
|
+
|
11244
|
+
# The content of the reply.
|
11245
|
+
# Corresponds to the JSON property `reply`
|
11246
|
+
# @return [String]
|
11247
|
+
attr_accessor :reply
|
11248
|
+
|
11249
|
+
def initialize(**args)
|
11250
|
+
update!(**args)
|
11251
|
+
end
|
11252
|
+
|
11253
|
+
# Update properties of this object
|
11254
|
+
def update!(**args)
|
11255
|
+
@answer_record = args[:answer_record] if args.key?(:answer_record)
|
11256
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
11257
|
+
@reply = args[:reply] if args.key?(:reply)
|
11258
|
+
end
|
11259
|
+
end
|
11260
|
+
|
11194
11261
|
# The response message for Participants.SuggestArticles.
|
11195
11262
|
class GoogleCloudDialogflowV2SuggestArticlesResponse
|
11196
11263
|
include Google::Apis::Core::Hashable
|
@@ -11259,6 +11326,42 @@ module Google
|
|
11259
11326
|
end
|
11260
11327
|
end
|
11261
11328
|
|
11329
|
+
# The response message for Participants.SuggestSmartReplies.
|
11330
|
+
class GoogleCloudDialogflowV2SuggestSmartRepliesResponse
|
11331
|
+
include Google::Apis::Core::Hashable
|
11332
|
+
|
11333
|
+
# Number of messages prior to and including latest_message to compile the
|
11334
|
+
# suggestion. It may be smaller than the SuggestSmartRepliesRequest.context_size
|
11335
|
+
# field in the request if there aren't that many messages in the conversation.
|
11336
|
+
# Corresponds to the JSON property `contextSize`
|
11337
|
+
# @return [Fixnum]
|
11338
|
+
attr_accessor :context_size
|
11339
|
+
|
11340
|
+
# The name of the latest conversation message used to compile suggestion for.
|
11341
|
+
# Format: `projects//locations//conversations//messages/`.
|
11342
|
+
# Corresponds to the JSON property `latestMessage`
|
11343
|
+
# @return [String]
|
11344
|
+
attr_accessor :latest_message
|
11345
|
+
|
11346
|
+
# Output only. Multiple reply options provided by smart reply service. The order
|
11347
|
+
# is based on the rank of the model prediction. The maximum number of the
|
11348
|
+
# returned replies is set in SmartReplyConfig.
|
11349
|
+
# Corresponds to the JSON property `smartReplyAnswers`
|
11350
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SmartReplyAnswer>]
|
11351
|
+
attr_accessor :smart_reply_answers
|
11352
|
+
|
11353
|
+
def initialize(**args)
|
11354
|
+
update!(**args)
|
11355
|
+
end
|
11356
|
+
|
11357
|
+
# Update properties of this object
|
11358
|
+
def update!(**args)
|
11359
|
+
@context_size = args[:context_size] if args.key?(:context_size)
|
11360
|
+
@latest_message = args[:latest_message] if args.key?(:latest_message)
|
11361
|
+
@smart_reply_answers = args[:smart_reply_answers] if args.key?(:smart_reply_answers)
|
11362
|
+
end
|
11363
|
+
end
|
11364
|
+
|
11262
11365
|
# One response of different type of suggestion response which is used in the
|
11263
11366
|
# response of Participants.AnalyzeContent and Participants.AnalyzeContent, as
|
11264
11367
|
# well as HumanAgentAssistantEvent.
|
@@ -11285,6 +11388,11 @@ module Google
|
|
11285
11388
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SuggestFaqAnswersResponse]
|
11286
11389
|
attr_accessor :suggest_faq_answers_response
|
11287
11390
|
|
11391
|
+
# The response message for Participants.SuggestSmartReplies.
|
11392
|
+
# Corresponds to the JSON property `suggestSmartRepliesResponse`
|
11393
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SuggestSmartRepliesResponse]
|
11394
|
+
attr_accessor :suggest_smart_replies_response
|
11395
|
+
|
11288
11396
|
def initialize(**args)
|
11289
11397
|
update!(**args)
|
11290
11398
|
end
|
@@ -11294,6 +11402,7 @@ module Google
|
|
11294
11402
|
@error = args[:error] if args.key?(:error)
|
11295
11403
|
@suggest_articles_response = args[:suggest_articles_response] if args.key?(:suggest_articles_response)
|
11296
11404
|
@suggest_faq_answers_response = args[:suggest_faq_answers_response] if args.key?(:suggest_faq_answers_response)
|
11405
|
+
@suggest_smart_replies_response = args[:suggest_smart_replies_response] if args.key?(:suggest_smart_replies_response)
|
11297
11406
|
end
|
11298
11407
|
end
|
11299
11408
|
|
@@ -13728,6 +13837,11 @@ module Google
|
|
13728
13837
|
class GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata
|
13729
13838
|
include Google::Apis::Core::Hashable
|
13730
13839
|
|
13840
|
+
# The name of the knowledge base interacted with during the operation.
|
13841
|
+
# Corresponds to the JSON property `knowledgeBase`
|
13842
|
+
# @return [String]
|
13843
|
+
attr_accessor :knowledge_base
|
13844
|
+
|
13731
13845
|
# Required. Output only. The current state of this operation.
|
13732
13846
|
# Corresponds to the JSON property `state`
|
13733
13847
|
# @return [String]
|
@@ -13739,6 +13853,7 @@ module Google
|
|
13739
13853
|
|
13740
13854
|
# Update properties of this object
|
13741
13855
|
def update!(**args)
|
13856
|
+
@knowledge_base = args[:knowledge_base] if args.key?(:knowledge_base)
|
13742
13857
|
@state = args[:state] if args.key?(:state)
|
13743
13858
|
end
|
13744
13859
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DialogflowV3beta1
|
18
18
|
# Version of the google-apis-dialogflow_v3beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.27.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211231"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1858,6 +1858,12 @@ module Google
|
|
1858
1858
|
include Google::Apis::Core::JsonObjectSupport
|
1859
1859
|
end
|
1860
1860
|
|
1861
|
+
class GoogleCloudDialogflowV2SmartReplyAnswer
|
1862
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1863
|
+
|
1864
|
+
include Google::Apis::Core::JsonObjectSupport
|
1865
|
+
end
|
1866
|
+
|
1861
1867
|
class GoogleCloudDialogflowV2SuggestArticlesResponse
|
1862
1868
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1863
1869
|
|
@@ -1870,6 +1876,12 @@ module Google
|
|
1870
1876
|
include Google::Apis::Core::JsonObjectSupport
|
1871
1877
|
end
|
1872
1878
|
|
1879
|
+
class GoogleCloudDialogflowV2SuggestSmartRepliesResponse
|
1880
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1881
|
+
|
1882
|
+
include Google::Apis::Core::JsonObjectSupport
|
1883
|
+
end
|
1884
|
+
|
1873
1885
|
class GoogleCloudDialogflowV2SuggestionResult
|
1874
1886
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1875
1887
|
|
@@ -2847,6 +2859,7 @@ module Google
|
|
2847
2859
|
# @private
|
2848
2860
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2849
2861
|
property :current_page, as: 'currentPage'
|
2862
|
+
property :display_name, as: 'displayName'
|
2850
2863
|
property :form_info, as: 'formInfo', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3PageInfoFormInfo, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3PageInfoFormInfo::Representation
|
2851
2864
|
|
2852
2865
|
end
|
@@ -4214,6 +4227,7 @@ module Google
|
|
4214
4227
|
# @private
|
4215
4228
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4216
4229
|
property :current_page, as: 'currentPage'
|
4230
|
+
property :display_name, as: 'displayName'
|
4217
4231
|
property :form_info, as: 'formInfo', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PageInfoFormInfo, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1PageInfoFormInfo::Representation
|
4218
4232
|
|
4219
4233
|
end
|
@@ -5430,6 +5444,9 @@ module Google
|
|
5430
5444
|
property :name, as: 'name'
|
5431
5445
|
property :participant, as: 'participant'
|
5432
5446
|
property :participant_role, as: 'participantRole'
|
5447
|
+
property :send_time, as: 'sendTime'
|
5448
|
+
property :sentiment_analysis, as: 'sentimentAnalysis', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SentimentAnalysisResult, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SentimentAnalysisResult::Representation
|
5449
|
+
|
5433
5450
|
end
|
5434
5451
|
end
|
5435
5452
|
|
@@ -5503,6 +5520,15 @@ module Google
|
|
5503
5520
|
end
|
5504
5521
|
end
|
5505
5522
|
|
5523
|
+
class GoogleCloudDialogflowV2SmartReplyAnswer
|
5524
|
+
# @private
|
5525
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5526
|
+
property :answer_record, as: 'answerRecord'
|
5527
|
+
property :confidence, as: 'confidence'
|
5528
|
+
property :reply, as: 'reply'
|
5529
|
+
end
|
5530
|
+
end
|
5531
|
+
|
5506
5532
|
class GoogleCloudDialogflowV2SuggestArticlesResponse
|
5507
5533
|
# @private
|
5508
5534
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5523,6 +5549,16 @@ module Google
|
|
5523
5549
|
end
|
5524
5550
|
end
|
5525
5551
|
|
5552
|
+
class GoogleCloudDialogflowV2SuggestSmartRepliesResponse
|
5553
|
+
# @private
|
5554
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5555
|
+
property :context_size, as: 'contextSize'
|
5556
|
+
property :latest_message, as: 'latestMessage'
|
5557
|
+
collection :smart_reply_answers, as: 'smartReplyAnswers', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SmartReplyAnswer, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SmartReplyAnswer::Representation
|
5558
|
+
|
5559
|
+
end
|
5560
|
+
end
|
5561
|
+
|
5526
5562
|
class GoogleCloudDialogflowV2SuggestionResult
|
5527
5563
|
# @private
|
5528
5564
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5532,6 +5568,8 @@ module Google
|
|
5532
5568
|
|
5533
5569
|
property :suggest_faq_answers_response, as: 'suggestFaqAnswersResponse', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SuggestFaqAnswersResponse, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SuggestFaqAnswersResponse::Representation
|
5534
5570
|
|
5571
|
+
property :suggest_smart_replies_response, as: 'suggestSmartRepliesResponse', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SuggestSmartRepliesResponse, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SuggestSmartRepliesResponse::Representation
|
5572
|
+
|
5535
5573
|
end
|
5536
5574
|
end
|
5537
5575
|
|
@@ -6208,6 +6246,7 @@ module Google
|
|
6208
6246
|
class GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata
|
6209
6247
|
# @private
|
6210
6248
|
class Representation < Google::Apis::Core::JsonRepresentation
|
6249
|
+
property :knowledge_base, as: 'knowledgeBase'
|
6211
6250
|
property :state, as: 'state'
|
6212
6251
|
end
|
6213
6252
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-dialogflow_v3beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.27.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: 2022-01-10 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_v3beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.27.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v3beta1
|
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.3.4
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Dialogflow API V3beta1
|