google-apis-dialogflow_v3 0.83.0 → 0.85.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: 66961131e140d8605b502d29d06796c4f358ffc87db5b3ac35ab6ddccde00c0e
4
- data.tar.gz: 3256029e12eaa7a7f3bd73d75903e85f14a2c03ff6787475fd70a412a694b81d
3
+ metadata.gz: a9b32740c97684735e4412138102bf532ae510c2a8a306a77d9eca541c4ccf09
4
+ data.tar.gz: 273d0ef90e396a5395bfcb04cf36c6d93808daae02e25243ed737437b792a022
5
5
  SHA512:
6
- metadata.gz: 4b224c87252edc8b46d8761ee54c30c49f6a4fadefbc4913ce09740f948b620ae73c0e43c8cfbb6bab271e20e4b233fdb1cf0bece81f629319ddec9e37679282
7
- data.tar.gz: 6c4b22532086ace0d805e69c481b6e0dfd46e6f8b703e45dae5171e9a3b492103c176c93c2101e264b5de12d61f40dbf5e3a9ac682db2d68f6d541614985c0d5
6
+ metadata.gz: 0d0a9798fd279f2dcdbfa2124e92a70a405c4817e069a523dc5047bad57578e0f8bf636742fa327903f84adc321f7eb4008a74ce569ed0cfcff73e60e5ffc1b0
7
+ data.tar.gz: d018fcbee28dd0ffb9e19e464e4543f077fc77991fdea2891ee862490e534265bf50f7a7e74b758405ea75f5c47b3c3cb5de0d93bd24b741da3eec1630f3135f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.84.0 (2024-04-07)
8
+
9
+ * Regenerated from discovery document revision 20240326
10
+
3
11
  ### v0.83.0 (2024-03-17)
4
12
 
5
13
  * Regenerated from discovery document revision 20240311
@@ -225,6 +225,13 @@ module Google
225
225
  # @return [String]
226
226
  attr_accessor :display_name
227
227
 
228
+ # Optional. Enable training multi-lingual models for this agent. These models
229
+ # will be trained on all the languages supported by the agent.
230
+ # Corresponds to the JSON property `enableMultiLanguageTraining`
231
+ # @return [Boolean]
232
+ attr_accessor :enable_multi_language_training
233
+ alias_method :enable_multi_language_training?, :enable_multi_language_training
234
+
228
235
  # Indicates if automatic spell correction is enabled in detect intent requests.
229
236
  # Corresponds to the JSON property `enableSpellCorrection`
230
237
  # @return [Boolean]
@@ -314,6 +321,7 @@ module Google
314
321
  @default_language_code = args[:default_language_code] if args.key?(:default_language_code)
315
322
  @description = args[:description] if args.key?(:description)
316
323
  @display_name = args[:display_name] if args.key?(:display_name)
324
+ @enable_multi_language_training = args[:enable_multi_language_training] if args.key?(:enable_multi_language_training)
317
325
  @enable_spell_correction = args[:enable_spell_correction] if args.key?(:enable_spell_correction)
318
326
  @enable_stackdriver_logging = args[:enable_stackdriver_logging] if args.key?(:enable_stackdriver_logging)
319
327
  @gen_app_builder_settings = args[:gen_app_builder_settings] if args.key?(:gen_app_builder_settings)
@@ -2939,6 +2947,11 @@ module Google
2939
2947
  # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3KnowledgeConnectorSettings]
2940
2948
  attr_accessor :knowledge_connector_settings
2941
2949
 
2950
+ # Settings for multi-lingual agents.
2951
+ # Corresponds to the JSON property `multiLanguageSettings`
2952
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3FlowMultiLanguageSettings]
2953
+ attr_accessor :multi_language_settings
2954
+
2942
2955
  # The unique identifier of the flow. Format: `projects//locations//agents//flows/
2943
2956
  # `.
2944
2957
  # Corresponds to the JSON property `name`
@@ -2984,6 +2997,7 @@ module Google
2984
2997
  @display_name = args[:display_name] if args.key?(:display_name)
2985
2998
  @event_handlers = args[:event_handlers] if args.key?(:event_handlers)
2986
2999
  @knowledge_connector_settings = args[:knowledge_connector_settings] if args.key?(:knowledge_connector_settings)
3000
+ @multi_language_settings = args[:multi_language_settings] if args.key?(:multi_language_settings)
2987
3001
  @name = args[:name] if args.key?(:name)
2988
3002
  @nlu_settings = args[:nlu_settings] if args.key?(:nlu_settings)
2989
3003
  @transition_route_groups = args[:transition_route_groups] if args.key?(:transition_route_groups)
@@ -3013,6 +3027,37 @@ module Google
3013
3027
  end
3014
3028
  end
3015
3029
 
3030
+ # Settings for multi-lingual agents.
3031
+ class GoogleCloudDialogflowCxV3FlowMultiLanguageSettings
3032
+ include Google::Apis::Core::Hashable
3033
+
3034
+ # Optional. Enable multi-language detection for this flow. This can be set only
3035
+ # if agent level multi language setting is enabled.
3036
+ # Corresponds to the JSON property `enableMultiLanguageDetection`
3037
+ # @return [Boolean]
3038
+ attr_accessor :enable_multi_language_detection
3039
+ alias_method :enable_multi_language_detection?, :enable_multi_language_detection
3040
+
3041
+ # Optional. Agent will respond in the detected language if the detected language
3042
+ # code is in the supported resolved languages for this flow. This will be used
3043
+ # only if multi-language training is enabled in the agent and multi-language
3044
+ # detection is enabled in the flow. The supported languages must be a subset of
3045
+ # the languages supported by the agent.
3046
+ # Corresponds to the JSON property `supportedResponseLanguageCodes`
3047
+ # @return [Array<String>]
3048
+ attr_accessor :supported_response_language_codes
3049
+
3050
+ def initialize(**args)
3051
+ update!(**args)
3052
+ end
3053
+
3054
+ # Update properties of this object
3055
+ def update!(**args)
3056
+ @enable_multi_language_detection = args[:enable_multi_language_detection] if args.key?(:enable_multi_language_detection)
3057
+ @supported_response_language_codes = args[:supported_response_language_codes] if args.key?(:supported_response_language_codes)
3058
+ end
3059
+ end
3060
+
3016
3061
  # The response message for Flows.GetFlowValidationResult.
3017
3062
  class GoogleCloudDialogflowCxV3FlowValidationResult
3018
3063
  include Google::Apis::Core::Hashable
@@ -4608,6 +4653,37 @@ module Google
4608
4653
  end
4609
4654
  end
4610
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
+
4611
4687
  # The response message for Agents.ListAgents.
4612
4688
  class GoogleCloudDialogflowCxV3ListAgentsResponse
4613
4689
  include Google::Apis::Core::Hashable
@@ -8421,6 +8497,11 @@ module Google
8421
8497
  # @return [String]
8422
8498
  attr_accessor :language_code
8423
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
+
8424
8505
  # The list of rich message responses to present to the user. Webhook can choose
8425
8506
  # to append or replace this list in WebhookResponse.fulfillment_response;
8426
8507
  # Corresponds to the JSON property `messages`
@@ -8482,6 +8563,7 @@ module Google
8482
8563
  @fulfillment_info = args[:fulfillment_info] if args.key?(:fulfillment_info)
8483
8564
  @intent_info = args[:intent_info] if args.key?(:intent_info)
8484
8565
  @language_code = args[:language_code] if args.key?(:language_code)
8566
+ @language_info = args[:language_info] if args.key?(:language_info)
8485
8567
  @messages = args[:messages] if args.key?(:messages)
8486
8568
  @page_info = args[:page_info] if args.key?(:page_info)
8487
8569
  @payload = args[:payload] if args.key?(:payload)
@@ -10767,6 +10849,37 @@ module Google
10767
10849
  end
10768
10850
  end
10769
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
+
10770
10883
  # A Dialogflow CX conversation (session) can be described and visualized as a
10771
10884
  # state machine. The states of a CX session are represented by pages. For each
10772
10885
  # flow, you define many pages, where your combined pages can handle a complete
@@ -12212,6 +12325,11 @@ module Google
12212
12325
  # @return [String]
12213
12326
  attr_accessor :language_code
12214
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
+
12215
12333
  # The list of rich message responses to present to the user. Webhook can choose
12216
12334
  # to append or replace this list in WebhookResponse.fulfillment_response;
12217
12335
  # Corresponds to the JSON property `messages`
@@ -12273,6 +12391,7 @@ module Google
12273
12391
  @fulfillment_info = args[:fulfillment_info] if args.key?(:fulfillment_info)
12274
12392
  @intent_info = args[:intent_info] if args.key?(:intent_info)
12275
12393
  @language_code = args[:language_code] if args.key?(:language_code)
12394
+ @language_info = args[:language_info] if args.key?(:language_info)
12276
12395
  @messages = args[:messages] if args.key?(:messages)
12277
12396
  @page_info = args[:page_info] if args.key?(:page_info)
12278
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.83.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
@@ -520,6 +520,12 @@ module Google
520
520
  include Google::Apis::Core::JsonObjectSupport
521
521
  end
522
522
 
523
+ class GoogleCloudDialogflowCxV3FlowMultiLanguageSettings
524
+ class Representation < Google::Apis::Core::JsonRepresentation; end
525
+
526
+ include Google::Apis::Core::JsonObjectSupport
527
+ end
528
+
523
529
  class GoogleCloudDialogflowCxV3FlowValidationResult
524
530
  class Representation < Google::Apis::Core::JsonRepresentation; end
525
531
 
@@ -790,6 +796,12 @@ module Google
790
796
  include Google::Apis::Core::JsonObjectSupport
791
797
  end
792
798
 
799
+ class GoogleCloudDialogflowCxV3LanguageInfo
800
+ class Representation < Google::Apis::Core::JsonRepresentation; end
801
+
802
+ include Google::Apis::Core::JsonObjectSupport
803
+ end
804
+
793
805
  class GoogleCloudDialogflowCxV3ListAgentsResponse
794
806
  class Representation < Google::Apis::Core::JsonRepresentation; end
795
807
 
@@ -1822,6 +1834,12 @@ module Google
1822
1834
  include Google::Apis::Core::JsonObjectSupport
1823
1835
  end
1824
1836
 
1837
+ class GoogleCloudDialogflowCxV3beta1LanguageInfo
1838
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1839
+
1840
+ include Google::Apis::Core::JsonObjectSupport
1841
+ end
1842
+
1825
1843
  class GoogleCloudDialogflowCxV3beta1Page
1826
1844
  class Representation < Google::Apis::Core::JsonRepresentation; end
1827
1845
 
@@ -3200,6 +3218,7 @@ module Google
3200
3218
  property :default_language_code, as: 'defaultLanguageCode'
3201
3219
  property :description, as: 'description'
3202
3220
  property :display_name, as: 'displayName'
3221
+ property :enable_multi_language_training, as: 'enableMultiLanguageTraining'
3203
3222
  property :enable_spell_correction, as: 'enableSpellCorrection'
3204
3223
  property :enable_stackdriver_logging, as: 'enableStackdriverLogging'
3205
3224
  property :gen_app_builder_settings, as: 'genAppBuilderSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AgentGenAppBuilderSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AgentGenAppBuilderSettings::Representation
@@ -3957,6 +3976,8 @@ module Google
3957
3976
 
3958
3977
  property :knowledge_connector_settings, as: 'knowledgeConnectorSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3KnowledgeConnectorSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3KnowledgeConnectorSettings::Representation
3959
3978
 
3979
+ property :multi_language_settings, as: 'multiLanguageSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3FlowMultiLanguageSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3FlowMultiLanguageSettings::Representation
3980
+
3960
3981
  property :name, as: 'name'
3961
3982
  property :nlu_settings, as: 'nluSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3NluSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3NluSettings::Representation
3962
3983
 
@@ -3973,6 +3994,14 @@ module Google
3973
3994
  end
3974
3995
  end
3975
3996
 
3997
+ class GoogleCloudDialogflowCxV3FlowMultiLanguageSettings
3998
+ # @private
3999
+ class Representation < Google::Apis::Core::JsonRepresentation
4000
+ property :enable_multi_language_detection, as: 'enableMultiLanguageDetection'
4001
+ collection :supported_response_language_codes, as: 'supportedResponseLanguageCodes'
4002
+ end
4003
+ end
4004
+
3976
4005
  class GoogleCloudDialogflowCxV3FlowValidationResult
3977
4006
  # @private
3978
4007
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4407,6 +4436,15 @@ module Google
4407
4436
  end
4408
4437
  end
4409
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
+
4410
4448
  class GoogleCloudDialogflowCxV3ListAgentsResponse
4411
4449
  # @private
4412
4450
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5435,6 +5473,8 @@ module Google
5435
5473
  property :intent_info, as: 'intentInfo', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookRequestIntentInfo, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookRequestIntentInfo::Representation
5436
5474
 
5437
5475
  property :language_code, as: 'languageCode'
5476
+ property :language_info, as: 'languageInfo', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3LanguageInfo, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3LanguageInfo::Representation
5477
+
5438
5478
  collection :messages, as: 'messages', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessage, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessage::Representation
5439
5479
 
5440
5480
  property :page_info, as: 'pageInfo', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PageInfo, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PageInfo::Representation
@@ -6097,6 +6137,15 @@ module Google
6097
6137
  end
6098
6138
  end
6099
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
+
6100
6149
  class GoogleCloudDialogflowCxV3beta1Page
6101
6150
  # @private
6102
6151
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6475,6 +6524,8 @@ module Google
6475
6524
  property :intent_info, as: 'intentInfo', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo::Representation
6476
6525
 
6477
6526
  property :language_code, as: 'languageCode'
6527
+ property :language_info, as: 'languageInfo', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1LanguageInfo, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1LanguageInfo::Representation
6528
+
6478
6529
  collection :messages, as: 'messages', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessage, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessage::Representation
6479
6530
 
6480
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.83.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_v3/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.83.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: []