google-apis-dialogflow_v2beta1 0.83.0 → 0.84.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0453a35fab40c1340d7627c4fb82c80deac20f2eba22af60d542845c493f379d
4
- data.tar.gz: 634070f930757a852b354d2eb3fac663867bb7b4d0132d441d0b07852b34cccd
3
+ metadata.gz: 49841754d70750cb4677b4eeedf5229c11e1d78a38b345d5a2cf4d3c815dbcfa
4
+ data.tar.gz: 1b37fbe120002ecdc72f72db23a484dd0c739dcea5e2fc2248dbfe71ae12a8f5
5
5
  SHA512:
6
- metadata.gz: 9d9ab330c0cb18aea647b4314606be8d2401d9869439c639933ed8471564a938764a5ed7edaee09be267470c1e81551d0cd22106ed88b9f328bfc3ffa1b3325a
7
- data.tar.gz: '087d4dd3c7cc2e1ec3f56933f786dbe23992a5236f78130cea04132ca137e3d2079c5a692fc955564cd05a385cbdcf9cd7c01e5cfc13079acc450c1404c5d7e9'
6
+ metadata.gz: ff2c0765f1fe76b573832c710385335cc53e968cdf3f46aa23bf220c103bb78ebab22774874529e9cd634600337054f9ed84411c79fe56dcb3d933b64296e07f
7
+ data.tar.gz: abfb8021d63b36bcd56b97d20971e90d304932a335f5812c708a03a6d4b269d7aab3a48744c9336f8be1e788029f9188fcc05fda1e2db2aaa8a3936da522302d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dialogflow_v2beta1
2
2
 
3
+ ### v0.84.0 (2024-04-21)
4
+
5
+ * Regenerated from discovery document revision 20240417
6
+
3
7
  ### v0.83.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::DialogflowV2beta1::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::DialogflowV2beta1::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 DialogflowV2beta1
18
18
  # Version of the google-apis-dialogflow_v2beta1 gem
19
- GEM_VERSION = "0.83.0"
19
+ GEM_VERSION = "0.84.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
 
@@ -3745,6 +3757,15 @@ module Google
3745
3757
  end
3746
3758
  end
3747
3759
 
3760
+ class GoogleCloudDialogflowCxV3LanguageInfo
3761
+ # @private
3762
+ class Representation < Google::Apis::Core::JsonRepresentation
3763
+ property :confidence_score, as: 'confidenceScore'
3764
+ property :input_language_code, as: 'inputLanguageCode'
3765
+ property :resolved_language_code, as: 'resolvedLanguageCode'
3766
+ end
3767
+ end
3768
+
3748
3769
  class GoogleCloudDialogflowCxV3Page
3749
3770
  # @private
3750
3771
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4124,6 +4145,8 @@ module Google
4124
4145
  property :intent_info, as: 'intentInfo', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookRequestIntentInfo, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookRequestIntentInfo::Representation
4125
4146
 
4126
4147
  property :language_code, as: 'languageCode'
4148
+ property :language_info, as: 'languageInfo', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3LanguageInfo, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3LanguageInfo::Representation
4149
+
4127
4150
  collection :messages, as: 'messages', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessage, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessage::Representation
4128
4151
 
4129
4152
  property :page_info, as: 'pageInfo', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3PageInfo, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3PageInfo::Representation
@@ -4786,6 +4809,15 @@ module Google
4786
4809
  end
4787
4810
  end
4788
4811
 
4812
+ class GoogleCloudDialogflowCxV3beta1LanguageInfo
4813
+ # @private
4814
+ class Representation < Google::Apis::Core::JsonRepresentation
4815
+ property :confidence_score, as: 'confidenceScore'
4816
+ property :input_language_code, as: 'inputLanguageCode'
4817
+ property :resolved_language_code, as: 'resolvedLanguageCode'
4818
+ end
4819
+ end
4820
+
4789
4821
  class GoogleCloudDialogflowCxV3beta1Page
4790
4822
  # @private
4791
4823
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5164,6 +5196,8 @@ module Google
5164
5196
  property :intent_info, as: 'intentInfo', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo::Representation
5165
5197
 
5166
5198
  property :language_code, as: 'languageCode'
5199
+ property :language_info, as: 'languageInfo', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1LanguageInfo, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1LanguageInfo::Representation
5200
+
5167
5201
  collection :messages, as: 'messages', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage::Representation
5168
5202
 
5169
5203
  property :page_info, as: 'pageInfo', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1PageInfo, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1PageInfo::Representation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dialogflow_v2beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.83.0
4
+ version: 0.84.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_v2beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.83.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.84.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2beta1
63
63
  post_install_message:
64
64
  rdoc_options: []