google-apis-dialogflow_v3 0.84.0 → 0.85.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: 38c1009be8e58192e51e9adab2d17947d5e6ea1d0fa8c8815318817330db00dd
4
- data.tar.gz: eb59f939ec27de726f20c320a10a89f36611d71d2a9213ffe9e1c81abd3d7a7a
3
+ metadata.gz: a9b32740c97684735e4412138102bf532ae510c2a8a306a77d9eca541c4ccf09
4
+ data.tar.gz: 273d0ef90e396a5395bfcb04cf36c6d93808daae02e25243ed737437b792a022
5
5
  SHA512:
6
- metadata.gz: f76580044ed5135c685badf9942bedd4166a42b4ce49671d726001aa85cece84805f24e7f63e4c7843d586a4e9d497f6ac70e6709f59ef52c765c254795ea207
7
- data.tar.gz: 020135bc8aa9b9cb5d4511ca56a2d5473ead3efbd89a64d514d665207fe209f501811cd6a15d62c6d002ae498eb00ecdf96813e25a0985da23d6e2e34d8b907c
6
+ metadata.gz: 0d0a9798fd279f2dcdbfa2124e92a70a405c4817e069a523dc5047bad57578e0f8bf636742fa327903f84adc321f7eb4008a74ce569ed0cfcff73e60e5ffc1b0
7
+ data.tar.gz: d018fcbee28dd0ffb9e19e464e4543f077fc77991fdea2891ee862490e534265bf50f7a7e74b758405ea75f5c47b3c3cb5de0d93bd24b741da3eec1630f3135f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dialogflow_v3
2
2
 
3
+ ### v0.85.0 (2024-04-21)
4
+
5
+ * Regenerated from discovery document revision 20240417
6
+
3
7
  ### v0.84.0 (2024-04-07)
4
8
 
5
9
  * Regenerated from discovery document revision 20240326
@@ -4653,6 +4653,37 @@ module Google
4653
4653
  end
4654
4654
  end
4655
4655
 
4656
+ # Represents the language information of the request.
4657
+ class GoogleCloudDialogflowCxV3LanguageInfo
4658
+ include Google::Apis::Core::Hashable
4659
+
4660
+ # The confidence score of the detected language between 0 and 1.
4661
+ # Corresponds to the JSON property `confidenceScore`
4662
+ # @return [Float]
4663
+ attr_accessor :confidence_score
4664
+
4665
+ # The language code specified in the original request.
4666
+ # Corresponds to the JSON property `inputLanguageCode`
4667
+ # @return [String]
4668
+ attr_accessor :input_language_code
4669
+
4670
+ # The language code detected for this request based on the user conversation.
4671
+ # Corresponds to the JSON property `resolvedLanguageCode`
4672
+ # @return [String]
4673
+ attr_accessor :resolved_language_code
4674
+
4675
+ def initialize(**args)
4676
+ update!(**args)
4677
+ end
4678
+
4679
+ # Update properties of this object
4680
+ def update!(**args)
4681
+ @confidence_score = args[:confidence_score] if args.key?(:confidence_score)
4682
+ @input_language_code = args[:input_language_code] if args.key?(:input_language_code)
4683
+ @resolved_language_code = args[:resolved_language_code] if args.key?(:resolved_language_code)
4684
+ end
4685
+ end
4686
+
4656
4687
  # The response message for Agents.ListAgents.
4657
4688
  class GoogleCloudDialogflowCxV3ListAgentsResponse
4658
4689
  include Google::Apis::Core::Hashable
@@ -8466,6 +8497,11 @@ module Google
8466
8497
  # @return [String]
8467
8498
  attr_accessor :language_code
8468
8499
 
8500
+ # Represents the language information of the request.
8501
+ # Corresponds to the JSON property `languageInfo`
8502
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3LanguageInfo]
8503
+ attr_accessor :language_info
8504
+
8469
8505
  # The list of rich message responses to present to the user. Webhook can choose
8470
8506
  # to append or replace this list in WebhookResponse.fulfillment_response;
8471
8507
  # Corresponds to the JSON property `messages`
@@ -8527,6 +8563,7 @@ module Google
8527
8563
  @fulfillment_info = args[:fulfillment_info] if args.key?(:fulfillment_info)
8528
8564
  @intent_info = args[:intent_info] if args.key?(:intent_info)
8529
8565
  @language_code = args[:language_code] if args.key?(:language_code)
8566
+ @language_info = args[:language_info] if args.key?(:language_info)
8530
8567
  @messages = args[:messages] if args.key?(:messages)
8531
8568
  @page_info = args[:page_info] if args.key?(:page_info)
8532
8569
  @payload = args[:payload] if args.key?(:payload)
@@ -10812,6 +10849,37 @@ module Google
10812
10849
  end
10813
10850
  end
10814
10851
 
10852
+ # Represents the language information of the request.
10853
+ class GoogleCloudDialogflowCxV3beta1LanguageInfo
10854
+ include Google::Apis::Core::Hashable
10855
+
10856
+ # The confidence score of the detected language between 0 and 1.
10857
+ # Corresponds to the JSON property `confidenceScore`
10858
+ # @return [Float]
10859
+ attr_accessor :confidence_score
10860
+
10861
+ # The language code specified in the original request.
10862
+ # Corresponds to the JSON property `inputLanguageCode`
10863
+ # @return [String]
10864
+ attr_accessor :input_language_code
10865
+
10866
+ # The language code detected for this request based on the user conversation.
10867
+ # Corresponds to the JSON property `resolvedLanguageCode`
10868
+ # @return [String]
10869
+ attr_accessor :resolved_language_code
10870
+
10871
+ def initialize(**args)
10872
+ update!(**args)
10873
+ end
10874
+
10875
+ # Update properties of this object
10876
+ def update!(**args)
10877
+ @confidence_score = args[:confidence_score] if args.key?(:confidence_score)
10878
+ @input_language_code = args[:input_language_code] if args.key?(:input_language_code)
10879
+ @resolved_language_code = args[:resolved_language_code] if args.key?(:resolved_language_code)
10880
+ end
10881
+ end
10882
+
10815
10883
  # A Dialogflow CX conversation (session) can be described and visualized as a
10816
10884
  # state machine. The states of a CX session are represented by pages. For each
10817
10885
  # flow, you define many pages, where your combined pages can handle a complete
@@ -12257,6 +12325,11 @@ module Google
12257
12325
  # @return [String]
12258
12326
  attr_accessor :language_code
12259
12327
 
12328
+ # Represents the language information of the request.
12329
+ # Corresponds to the JSON property `languageInfo`
12330
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1LanguageInfo]
12331
+ attr_accessor :language_info
12332
+
12260
12333
  # The list of rich message responses to present to the user. Webhook can choose
12261
12334
  # to append or replace this list in WebhookResponse.fulfillment_response;
12262
12335
  # Corresponds to the JSON property `messages`
@@ -12318,6 +12391,7 @@ module Google
12318
12391
  @fulfillment_info = args[:fulfillment_info] if args.key?(:fulfillment_info)
12319
12392
  @intent_info = args[:intent_info] if args.key?(:intent_info)
12320
12393
  @language_code = args[:language_code] if args.key?(:language_code)
12394
+ @language_info = args[:language_info] if args.key?(:language_info)
12321
12395
  @messages = args[:messages] if args.key?(:messages)
12322
12396
  @page_info = args[:page_info] if args.key?(:page_info)
12323
12397
  @payload = args[:payload] if args.key?(:payload)
@@ -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.84.0"
19
+ GEM_VERSION = "0.85.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240326"
25
+ REVISION = "20240417"
26
26
  end
27
27
  end
28
28
  end
@@ -796,6 +796,12 @@ module Google
796
796
  include Google::Apis::Core::JsonObjectSupport
797
797
  end
798
798
 
799
+ class GoogleCloudDialogflowCxV3LanguageInfo
800
+ class Representation < Google::Apis::Core::JsonRepresentation; end
801
+
802
+ include Google::Apis::Core::JsonObjectSupport
803
+ end
804
+
799
805
  class GoogleCloudDialogflowCxV3ListAgentsResponse
800
806
  class Representation < Google::Apis::Core::JsonRepresentation; end
801
807
 
@@ -1828,6 +1834,12 @@ module Google
1828
1834
  include Google::Apis::Core::JsonObjectSupport
1829
1835
  end
1830
1836
 
1837
+ class GoogleCloudDialogflowCxV3beta1LanguageInfo
1838
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1839
+
1840
+ include Google::Apis::Core::JsonObjectSupport
1841
+ end
1842
+
1831
1843
  class GoogleCloudDialogflowCxV3beta1Page
1832
1844
  class Representation < Google::Apis::Core::JsonRepresentation; end
1833
1845
 
@@ -4424,6 +4436,15 @@ module Google
4424
4436
  end
4425
4437
  end
4426
4438
 
4439
+ class GoogleCloudDialogflowCxV3LanguageInfo
4440
+ # @private
4441
+ class Representation < Google::Apis::Core::JsonRepresentation
4442
+ property :confidence_score, as: 'confidenceScore'
4443
+ property :input_language_code, as: 'inputLanguageCode'
4444
+ property :resolved_language_code, as: 'resolvedLanguageCode'
4445
+ end
4446
+ end
4447
+
4427
4448
  class GoogleCloudDialogflowCxV3ListAgentsResponse
4428
4449
  # @private
4429
4450
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5452,6 +5473,8 @@ module Google
5452
5473
  property :intent_info, as: 'intentInfo', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookRequestIntentInfo, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookRequestIntentInfo::Representation
5453
5474
 
5454
5475
  property :language_code, as: 'languageCode'
5476
+ property :language_info, as: 'languageInfo', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3LanguageInfo, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3LanguageInfo::Representation
5477
+
5455
5478
  collection :messages, as: 'messages', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessage, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessage::Representation
5456
5479
 
5457
5480
  property :page_info, as: 'pageInfo', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PageInfo, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PageInfo::Representation
@@ -6114,6 +6137,15 @@ module Google
6114
6137
  end
6115
6138
  end
6116
6139
 
6140
+ class GoogleCloudDialogflowCxV3beta1LanguageInfo
6141
+ # @private
6142
+ class Representation < Google::Apis::Core::JsonRepresentation
6143
+ property :confidence_score, as: 'confidenceScore'
6144
+ property :input_language_code, as: 'inputLanguageCode'
6145
+ property :resolved_language_code, as: 'resolvedLanguageCode'
6146
+ end
6147
+ end
6148
+
6117
6149
  class GoogleCloudDialogflowCxV3beta1Page
6118
6150
  # @private
6119
6151
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6492,6 +6524,8 @@ module Google
6492
6524
  property :intent_info, as: 'intentInfo', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo::Representation
6493
6525
 
6494
6526
  property :language_code, as: 'languageCode'
6527
+ property :language_info, as: 'languageInfo', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1LanguageInfo, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1LanguageInfo::Representation
6528
+
6495
6529
  collection :messages, as: 'messages', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessage, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessage::Representation
6496
6530
 
6497
6531
  property :page_info, as: 'pageInfo', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1PageInfo, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1PageInfo::Representation
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.84.0
4
+ version: 0.85.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: 2024-04-07 00:00:00.000000000 Z
11
+ date: 2024-04-21 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.84.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.85.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: []