google-apis-dialogflow_v3 0.24.0 → 0.25.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: 4329c62865e1016f471ac8f9b2172441c7f66cca949282f1ee35e2d1a561b481
4
- data.tar.gz: 3254bb2d5d8bc3c0b28b0d73fef741c10a90146781928f9c9a4e3cdecb0040fe
3
+ metadata.gz: '09118ab82e6d3cf7dad8fca824febfa5f189397feabac663341cc1e927ac3d76'
4
+ data.tar.gz: 459a447023433ddf7ad22ceab3895d3bca07080940e25c689b47c8b0db1452d7
5
5
  SHA512:
6
- metadata.gz: 58eed36d2846de6b419d6b893db437b72d1fa8bf1377dc20c574c6e4f48c022f24e9fcaffcdc70693cf3d926587397a5cf2ac8126bebcb1a937303439d32c3f8
7
- data.tar.gz: ab8d437a26e269caa2cd05b487e03b6d6e818cb336a3d6bd87d2bd15bfa541f368c9270fb54a36bffcecc8f8ef5dceb6570b319b492232cfddca9e36d283f0f7
6
+ metadata.gz: d16aaac8b6d135bb99c313913c62dd9b49ae05399164f75a21b8d364e53a79ed828d2d2123887c07fdb573c4ff34e3d721738213f64df4f73704a0a256024315
7
+ data.tar.gz: f0219e69611ab6f02a33d91dce5fa58fe7c16d6e4e0166e08fd1cf2ac0f97a8e62b272124af01a493a6e62cea2c745373953d9c288b3d0517140562a5dcf66b7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-dialogflow_v3
2
2
 
3
+ ### v0.25.0 (2022-01-07)
4
+
5
+ * Regenerated from discovery document revision 20211231
6
+ * Unspecified changes
7
+
3
8
  ### v0.24.0 (2021-12-04)
4
9
 
5
10
  * Regenerated from discovery document revision 20211201
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/dialogflow_v3"
51
51
  client = Google::Apis::DialogflowV3::DialogflowService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
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.
@@ -3678,6 +3678,12 @@ module Google
3678
3678
  # @return [String]
3679
3679
  attr_accessor :current_page
3680
3680
 
3681
+ # Always present for WebhookRequest. Ignored for WebhookResponse. The display
3682
+ # name of the current page.
3683
+ # Corresponds to the JSON property `displayName`
3684
+ # @return [String]
3685
+ attr_accessor :display_name
3686
+
3681
3687
  # Represents form information.
3682
3688
  # Corresponds to the JSON property `formInfo`
3683
3689
  # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PageInfoFormInfo]
@@ -3690,6 +3696,7 @@ module Google
3690
3696
  # Update properties of this object
3691
3697
  def update!(**args)
3692
3698
  @current_page = args[:current_page] if args.key?(:current_page)
3699
+ @display_name = args[:display_name] if args.key?(:display_name)
3693
3700
  @form_info = args[:form_info] if args.key?(:form_info)
3694
3701
  end
3695
3702
  end
@@ -7820,6 +7827,12 @@ module Google
7820
7827
  # @return [String]
7821
7828
  attr_accessor :current_page
7822
7829
 
7830
+ # Always present for WebhookRequest. Ignored for WebhookResponse. The display
7831
+ # name of the current page.
7832
+ # Corresponds to the JSON property `displayName`
7833
+ # @return [String]
7834
+ attr_accessor :display_name
7835
+
7823
7836
  # Represents form information.
7824
7837
  # Corresponds to the JSON property `formInfo`
7825
7838
  # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1PageInfoFormInfo]
@@ -7832,6 +7845,7 @@ module Google
7832
7845
  # Update properties of this object
7833
7846
  def update!(**args)
7834
7847
  @current_page = args[:current_page] if args.key?(:current_page)
7848
+ @display_name = args[:display_name] if args.key?(:display_name)
7835
7849
  @form_info = args[:form_info] if args.key?(:form_info)
7836
7850
  end
7837
7851
  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::DialogflowV3::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::DialogflowV3::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::DialogflowV3::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::DialogflowV3::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::DialogflowV3::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 DialogflowV3
18
18
  # Version of the google-apis-dialogflow_v3 gem
19
- GEM_VERSION = "0.24.0"
19
+ GEM_VERSION = "0.25.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 = "20211201"
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
 
@@ -3446,6 +3458,7 @@ module Google
3446
3458
  # @private
3447
3459
  class Representation < Google::Apis::Core::JsonRepresentation
3448
3460
  property :current_page, as: 'currentPage'
3461
+ property :display_name, as: 'displayName'
3449
3462
  property :form_info, as: 'formInfo', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PageInfoFormInfo, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PageInfoFormInfo::Representation
3450
3463
 
3451
3464
  end
@@ -4578,6 +4591,7 @@ module Google
4578
4591
  # @private
4579
4592
  class Representation < Google::Apis::Core::JsonRepresentation
4580
4593
  property :current_page, as: 'currentPage'
4594
+ property :display_name, as: 'displayName'
4581
4595
  property :form_info, as: 'formInfo', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1PageInfoFormInfo, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1PageInfoFormInfo::Representation
4582
4596
 
4583
4597
  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::DialogflowV3::GoogleCloudDialogflowV2SentimentAnalysisResult, decorator: Google::Apis::DialogflowV3::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::DialogflowV3::GoogleCloudDialogflowV2SmartReplyAnswer, decorator: Google::Apis::DialogflowV3::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::DialogflowV3::GoogleCloudDialogflowV2SuggestFaqAnswersResponse, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SuggestFaqAnswersResponse::Representation
5534
5570
 
5571
+ property :suggest_smart_replies_response, as: 'suggestSmartRepliesResponse', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SuggestSmartRepliesResponse, decorator: Google::Apis::DialogflowV3::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_v3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.24.0
4
+ version: 0.25.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: 2021-12-06 00:00:00.000000000 Z
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_v3/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.24.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.25.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v3
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.2.17
78
+ rubygems_version: 3.3.4
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Dialogflow API V3