google-apis-dialogflow_v2 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: 51eeec463b44ff170bfe02ecd3ef98d0459d88393d818bb5473f1d780127a251
4
- data.tar.gz: 24d812fdf511718b5b26d367ab239dab4a8be160b0b2ec2590d68745a9b0b677
3
+ metadata.gz: 70b8c5a0d6e2d019e9b4c1a3e15d9932251ce5f9a1acd570d79bcbef9bbffce9
4
+ data.tar.gz: 1c19864bc3a920b1c6ad55e2df387b2998f909413b0ac5d1b3507fb75b3ae17b
5
5
  SHA512:
6
- metadata.gz: 663a648e8e62d7c18fbe8f0ef29e717d798a2a97bdc2eb8bd0d853fd0bb449fd39cc895b3135031b71ca0bed3a476968aa30e362bfec54eb0440ed337b671c2d
7
- data.tar.gz: 9c419b86591439a1c31c0438f20ecef29c16959ca8e0b13d1ae106ffe67b1b742642f35c4aba0878c4b602a74a6d7a7ffdd2ffd51e60b91e4c96851954d1be81
6
+ metadata.gz: cfb0b15893227e5972c82ac34121d6c2345bcc8139d12c12e9412526072d0684448ed747e0d09af20932ab3023f3199bac7da17cb4a1925333bd5f2ca5650ae9
7
+ data.tar.gz: a432527dd121bcbbef2fcd7f921cafb315591c8df434e3cf111779ee6d54951771038f04377cc0b87eefa456f71924401e3c25523568f44ebd345834dc97ef19
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dialogflow_v2
2
2
 
3
+ ### v0.85.0 (2024-04-21)
4
+
5
+ * Regenerated from discovery document revision 20240417
6
+
3
7
  ### v0.84.0 (2024-03-17)
4
8
 
5
9
  * Regenerated from discovery document revision 20240311
@@ -2074,6 +2074,37 @@ module Google
2074
2074
  end
2075
2075
  end
2076
2076
 
2077
+ # Represents the language information of the request.
2078
+ class GoogleCloudDialogflowCxV3LanguageInfo
2079
+ include Google::Apis::Core::Hashable
2080
+
2081
+ # The confidence score of the detected language between 0 and 1.
2082
+ # Corresponds to the JSON property `confidenceScore`
2083
+ # @return [Float]
2084
+ attr_accessor :confidence_score
2085
+
2086
+ # The language code specified in the original request.
2087
+ # Corresponds to the JSON property `inputLanguageCode`
2088
+ # @return [String]
2089
+ attr_accessor :input_language_code
2090
+
2091
+ # The language code detected for this request based on the user conversation.
2092
+ # Corresponds to the JSON property `resolvedLanguageCode`
2093
+ # @return [String]
2094
+ attr_accessor :resolved_language_code
2095
+
2096
+ def initialize(**args)
2097
+ update!(**args)
2098
+ end
2099
+
2100
+ # Update properties of this object
2101
+ def update!(**args)
2102
+ @confidence_score = args[:confidence_score] if args.key?(:confidence_score)
2103
+ @input_language_code = args[:input_language_code] if args.key?(:input_language_code)
2104
+ @resolved_language_code = args[:resolved_language_code] if args.key?(:resolved_language_code)
2105
+ end
2106
+ end
2107
+
2077
2108
  # A Dialogflow CX conversation (session) can be described and visualized as a
2078
2109
  # state machine. The states of a CX session are represented by pages. For each
2079
2110
  # flow, you define many pages, where your combined pages can handle a complete
@@ -3525,6 +3556,11 @@ module Google
3525
3556
  # @return [String]
3526
3557
  attr_accessor :language_code
3527
3558
 
3559
+ # Represents the language information of the request.
3560
+ # Corresponds to the JSON property `languageInfo`
3561
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3LanguageInfo]
3562
+ attr_accessor :language_info
3563
+
3528
3564
  # The list of rich message responses to present to the user. Webhook can choose
3529
3565
  # to append or replace this list in WebhookResponse.fulfillment_response;
3530
3566
  # Corresponds to the JSON property `messages`
@@ -3586,6 +3622,7 @@ module Google
3586
3622
  @fulfillment_info = args[:fulfillment_info] if args.key?(:fulfillment_info)
3587
3623
  @intent_info = args[:intent_info] if args.key?(:intent_info)
3588
3624
  @language_code = args[:language_code] if args.key?(:language_code)
3625
+ @language_info = args[:language_info] if args.key?(:language_info)
3589
3626
  @messages = args[:messages] if args.key?(:messages)
3590
3627
  @page_info = args[:page_info] if args.key?(:page_info)
3591
3628
  @payload = args[:payload] if args.key?(:payload)
@@ -5871,6 +5908,37 @@ module Google
5871
5908
  end
5872
5909
  end
5873
5910
 
5911
+ # Represents the language information of the request.
5912
+ class GoogleCloudDialogflowCxV3beta1LanguageInfo
5913
+ include Google::Apis::Core::Hashable
5914
+
5915
+ # The confidence score of the detected language between 0 and 1.
5916
+ # Corresponds to the JSON property `confidenceScore`
5917
+ # @return [Float]
5918
+ attr_accessor :confidence_score
5919
+
5920
+ # The language code specified in the original request.
5921
+ # Corresponds to the JSON property `inputLanguageCode`
5922
+ # @return [String]
5923
+ attr_accessor :input_language_code
5924
+
5925
+ # The language code detected for this request based on the user conversation.
5926
+ # Corresponds to the JSON property `resolvedLanguageCode`
5927
+ # @return [String]
5928
+ attr_accessor :resolved_language_code
5929
+
5930
+ def initialize(**args)
5931
+ update!(**args)
5932
+ end
5933
+
5934
+ # Update properties of this object
5935
+ def update!(**args)
5936
+ @confidence_score = args[:confidence_score] if args.key?(:confidence_score)
5937
+ @input_language_code = args[:input_language_code] if args.key?(:input_language_code)
5938
+ @resolved_language_code = args[:resolved_language_code] if args.key?(:resolved_language_code)
5939
+ end
5940
+ end
5941
+
5874
5942
  # A Dialogflow CX conversation (session) can be described and visualized as a
5875
5943
  # state machine. The states of a CX session are represented by pages. For each
5876
5944
  # flow, you define many pages, where your combined pages can handle a complete
@@ -7316,6 +7384,11 @@ module Google
7316
7384
  # @return [String]
7317
7385
  attr_accessor :language_code
7318
7386
 
7387
+ # Represents the language information of the request.
7388
+ # Corresponds to the JSON property `languageInfo`
7389
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1LanguageInfo]
7390
+ attr_accessor :language_info
7391
+
7319
7392
  # The list of rich message responses to present to the user. Webhook can choose
7320
7393
  # to append or replace this list in WebhookResponse.fulfillment_response;
7321
7394
  # Corresponds to the JSON property `messages`
@@ -7377,6 +7450,7 @@ module Google
7377
7450
  @fulfillment_info = args[:fulfillment_info] if args.key?(:fulfillment_info)
7378
7451
  @intent_info = args[:intent_info] if args.key?(:intent_info)
7379
7452
  @language_code = args[:language_code] if args.key?(:language_code)
7453
+ @language_info = args[:language_info] if args.key?(:language_info)
7380
7454
  @messages = args[:messages] if args.key?(:messages)
7381
7455
  @page_info = args[:page_info] if args.key?(:page_info)
7382
7456
  @payload = args[:payload] if args.key?(:payload)
@@ -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.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 = "20240311"
25
+ REVISION = "20240417"
26
26
  end
27
27
  end
28
28
  end
@@ -400,6 +400,12 @@ module Google
400
400
  include Google::Apis::Core::JsonObjectSupport
401
401
  end
402
402
 
403
+ class GoogleCloudDialogflowCxV3LanguageInfo
404
+ class Representation < Google::Apis::Core::JsonRepresentation; end
405
+
406
+ include Google::Apis::Core::JsonObjectSupport
407
+ end
408
+
403
409
  class GoogleCloudDialogflowCxV3Page
404
410
  class Representation < Google::Apis::Core::JsonRepresentation; end
405
411
 
@@ -1036,6 +1042,12 @@ module Google
1036
1042
  include Google::Apis::Core::JsonObjectSupport
1037
1043
  end
1038
1044
 
1045
+ class GoogleCloudDialogflowCxV3beta1LanguageInfo
1046
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1047
+
1048
+ include Google::Apis::Core::JsonObjectSupport
1049
+ end
1050
+
1039
1051
  class GoogleCloudDialogflowCxV3beta1Page
1040
1052
  class Representation < Google::Apis::Core::JsonRepresentation; end
1041
1053
 
@@ -3727,6 +3739,15 @@ module Google
3727
3739
  end
3728
3740
  end
3729
3741
 
3742
+ class GoogleCloudDialogflowCxV3LanguageInfo
3743
+ # @private
3744
+ class Representation < Google::Apis::Core::JsonRepresentation
3745
+ property :confidence_score, as: 'confidenceScore'
3746
+ property :input_language_code, as: 'inputLanguageCode'
3747
+ property :resolved_language_code, as: 'resolvedLanguageCode'
3748
+ end
3749
+ end
3750
+
3730
3751
  class GoogleCloudDialogflowCxV3Page
3731
3752
  # @private
3732
3753
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4106,6 +4127,8 @@ module Google
4106
4127
  property :intent_info, as: 'intentInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookRequestIntentInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookRequestIntentInfo::Representation
4107
4128
 
4108
4129
  property :language_code, as: 'languageCode'
4130
+ property :language_info, as: 'languageInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3LanguageInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3LanguageInfo::Representation
4131
+
4109
4132
  collection :messages, as: 'messages', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessage, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessage::Representation
4110
4133
 
4111
4134
  property :page_info, as: 'pageInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3PageInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3PageInfo::Representation
@@ -4768,6 +4791,15 @@ module Google
4768
4791
  end
4769
4792
  end
4770
4793
 
4794
+ class GoogleCloudDialogflowCxV3beta1LanguageInfo
4795
+ # @private
4796
+ class Representation < Google::Apis::Core::JsonRepresentation
4797
+ property :confidence_score, as: 'confidenceScore'
4798
+ property :input_language_code, as: 'inputLanguageCode'
4799
+ property :resolved_language_code, as: 'resolvedLanguageCode'
4800
+ end
4801
+ end
4802
+
4771
4803
  class GoogleCloudDialogflowCxV3beta1Page
4772
4804
  # @private
4773
4805
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5146,6 +5178,8 @@ module Google
5146
5178
  property :intent_info, as: 'intentInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo::Representation
5147
5179
 
5148
5180
  property :language_code, as: 'languageCode'
5181
+ property :language_info, as: 'languageInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1LanguageInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1LanguageInfo::Representation
5182
+
5149
5183
  collection :messages, as: 'messages', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessage, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessage::Representation
5150
5184
 
5151
5185
  property :page_info, as: 'pageInfo', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1PageInfo, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1PageInfo::Representation
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.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-03-17 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_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.84.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.85.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: []