google-apis-dialogflow_v3 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: 66961131e140d8605b502d29d06796c4f358ffc87db5b3ac35ab6ddccde00c0e
4
- data.tar.gz: 3256029e12eaa7a7f3bd73d75903e85f14a2c03ff6787475fd70a412a694b81d
3
+ metadata.gz: 38c1009be8e58192e51e9adab2d17947d5e6ea1d0fa8c8815318817330db00dd
4
+ data.tar.gz: eb59f939ec27de726f20c320a10a89f36611d71d2a9213ffe9e1c81abd3d7a7a
5
5
  SHA512:
6
- metadata.gz: 4b224c87252edc8b46d8761ee54c30c49f6a4fadefbc4913ce09740f948b620ae73c0e43c8cfbb6bab271e20e4b233fdb1cf0bece81f629319ddec9e37679282
7
- data.tar.gz: 6c4b22532086ace0d805e69c481b6e0dfd46e6f8b703e45dae5171e9a3b492103c176c93c2101e264b5de12d61f40dbf5e3a9ac682db2d68f6d541614985c0d5
6
+ metadata.gz: f76580044ed5135c685badf9942bedd4166a42b4ce49671d726001aa85cece84805f24e7f63e4c7843d586a4e9d497f6ac70e6709f59ef52c765c254795ea207
7
+ data.tar.gz: 020135bc8aa9b9cb5d4511ca56a2d5473ead3efbd89a64d514d665207fe209f501811cd6a15d62c6d002ae498eb00ecdf96813e25a0985da23d6e2e34d8b907c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dialogflow_v3
2
2
 
3
+ ### v0.84.0 (2024-04-07)
4
+
5
+ * Regenerated from discovery document revision 20240326
6
+
3
7
  ### v0.83.0 (2024-03-17)
4
8
 
5
9
  * 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
@@ -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.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 = "20240326"
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
 
@@ -3200,6 +3206,7 @@ module Google
3200
3206
  property :default_language_code, as: 'defaultLanguageCode'
3201
3207
  property :description, as: 'description'
3202
3208
  property :display_name, as: 'displayName'
3209
+ property :enable_multi_language_training, as: 'enableMultiLanguageTraining'
3203
3210
  property :enable_spell_correction, as: 'enableSpellCorrection'
3204
3211
  property :enable_stackdriver_logging, as: 'enableStackdriverLogging'
3205
3212
  property :gen_app_builder_settings, as: 'genAppBuilderSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AgentGenAppBuilderSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AgentGenAppBuilderSettings::Representation
@@ -3957,6 +3964,8 @@ module Google
3957
3964
 
3958
3965
  property :knowledge_connector_settings, as: 'knowledgeConnectorSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3KnowledgeConnectorSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3KnowledgeConnectorSettings::Representation
3959
3966
 
3967
+ property :multi_language_settings, as: 'multiLanguageSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3FlowMultiLanguageSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3FlowMultiLanguageSettings::Representation
3968
+
3960
3969
  property :name, as: 'name'
3961
3970
  property :nlu_settings, as: 'nluSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3NluSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3NluSettings::Representation
3962
3971
 
@@ -3973,6 +3982,14 @@ module Google
3973
3982
  end
3974
3983
  end
3975
3984
 
3985
+ class GoogleCloudDialogflowCxV3FlowMultiLanguageSettings
3986
+ # @private
3987
+ class Representation < Google::Apis::Core::JsonRepresentation
3988
+ property :enable_multi_language_detection, as: 'enableMultiLanguageDetection'
3989
+ collection :supported_response_language_codes, as: 'supportedResponseLanguageCodes'
3990
+ end
3991
+ end
3992
+
3976
3993
  class GoogleCloudDialogflowCxV3FlowValidationResult
3977
3994
  # @private
3978
3995
  class Representation < Google::Apis::Core::JsonRepresentation
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.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-07 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.84.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: []