google-apis-dialogflow_v3beta1 0.83.0 → 0.84.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: 4a93198c6f5e13067fe42c6c13347a5149683294078d345cffd8d13662874c08
4
- data.tar.gz: 26826d295bcf866880be1f6590e6ae505a0486d29a4af29677b367cbcd07661f
3
+ metadata.gz: 41770737a53560463941a89ea831d0856dcb05b37f0a9b9046d5827482844f7d
4
+ data.tar.gz: badcf8a37dfc9b8df15cb61af256bf6979eb350b1582488d90f681684938ae8b
5
5
  SHA512:
6
- metadata.gz: 4cb6c1bd81cbf57a1094e6092080854d1db2d639ebfb37f33fac9ac9580196a5e77fddc64f4ac699cc2cb32525d7a369707d371644b51ba09759b2cb51222808
7
- data.tar.gz: f736b21fbbf8ed807112093599e0734290f25bbf3d8dff227395c82a4ff270c8c5ac8d7659d0ecab2015fd7d4d8727ce95dc84f8eeaa8d267bc24bbc93e54cf9
6
+ metadata.gz: cca0e20d5199ad5b8ad9807aa6488c70e9063ba9d204ee49e2c0155ea0e6628210c13664f4456b3943832f037c454cc23de2d01d97bb0e01abed21725c6aabd5
7
+ data.tar.gz: a9d23538dd9bd776393d66f60c021798cc496e07dba93b4c6bb2354eec7eba7bbd7464873b24fec92651651b433634e5f782ae67a35a978891d1e778f4b62d55
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dialogflow_v3beta1
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
@@ -4022,6 +4022,13 @@ module Google
4022
4022
  # @return [String]
4023
4023
  attr_accessor :display_name
4024
4024
 
4025
+ # Optional. Enable training multi-lingual models for this agent. These models
4026
+ # will be trained on all the languages supported by the agent.
4027
+ # Corresponds to the JSON property `enableMultiLanguageTraining`
4028
+ # @return [Boolean]
4029
+ attr_accessor :enable_multi_language_training
4030
+ alias_method :enable_multi_language_training?, :enable_multi_language_training
4031
+
4025
4032
  # Indicates if automatic spell correction is enabled in detect intent requests.
4026
4033
  # Corresponds to the JSON property `enableSpellCorrection`
4027
4034
  # @return [Boolean]
@@ -4111,6 +4118,7 @@ module Google
4111
4118
  @default_language_code = args[:default_language_code] if args.key?(:default_language_code)
4112
4119
  @description = args[:description] if args.key?(:description)
4113
4120
  @display_name = args[:display_name] if args.key?(:display_name)
4121
+ @enable_multi_language_training = args[:enable_multi_language_training] if args.key?(:enable_multi_language_training)
4114
4122
  @enable_spell_correction = args[:enable_spell_correction] if args.key?(:enable_spell_correction)
4115
4123
  @enable_stackdriver_logging = args[:enable_stackdriver_logging] if args.key?(:enable_stackdriver_logging)
4116
4124
  @gen_app_builder_settings = args[:gen_app_builder_settings] if args.key?(:gen_app_builder_settings)
@@ -6736,6 +6744,11 @@ module Google
6736
6744
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings]
6737
6745
  attr_accessor :knowledge_connector_settings
6738
6746
 
6747
+ # Settings for multi-lingual agents.
6748
+ # Corresponds to the JSON property `multiLanguageSettings`
6749
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FlowMultiLanguageSettings]
6750
+ attr_accessor :multi_language_settings
6751
+
6739
6752
  # The unique identifier of the flow. Format: `projects//locations//agents//flows/
6740
6753
  # `.
6741
6754
  # Corresponds to the JSON property `name`
@@ -6781,6 +6794,7 @@ module Google
6781
6794
  @display_name = args[:display_name] if args.key?(:display_name)
6782
6795
  @event_handlers = args[:event_handlers] if args.key?(:event_handlers)
6783
6796
  @knowledge_connector_settings = args[:knowledge_connector_settings] if args.key?(:knowledge_connector_settings)
6797
+ @multi_language_settings = args[:multi_language_settings] if args.key?(:multi_language_settings)
6784
6798
  @name = args[:name] if args.key?(:name)
6785
6799
  @nlu_settings = args[:nlu_settings] if args.key?(:nlu_settings)
6786
6800
  @transition_route_groups = args[:transition_route_groups] if args.key?(:transition_route_groups)
@@ -6811,6 +6825,37 @@ module Google
6811
6825
  end
6812
6826
  end
6813
6827
 
6828
+ # Settings for multi-lingual agents.
6829
+ class GoogleCloudDialogflowCxV3beta1FlowMultiLanguageSettings
6830
+ include Google::Apis::Core::Hashable
6831
+
6832
+ # Optional. Enable multi-language detection for this flow. This can be set only
6833
+ # if agent level multi language setting is enabled.
6834
+ # Corresponds to the JSON property `enableMultiLanguageDetection`
6835
+ # @return [Boolean]
6836
+ attr_accessor :enable_multi_language_detection
6837
+ alias_method :enable_multi_language_detection?, :enable_multi_language_detection
6838
+
6839
+ # Optional. Agent will respond in the detected language if the detected language
6840
+ # code is in the supported resolved languages for this flow. This will be used
6841
+ # only if multi-language training is enabled in the agent and multi-language
6842
+ # detection is enabled in the flow. The supported languages must be a subset of
6843
+ # the languages supported by the agent.
6844
+ # Corresponds to the JSON property `supportedResponseLanguageCodes`
6845
+ # @return [Array<String>]
6846
+ attr_accessor :supported_response_language_codes
6847
+
6848
+ def initialize(**args)
6849
+ update!(**args)
6850
+ end
6851
+
6852
+ # Update properties of this object
6853
+ def update!(**args)
6854
+ @enable_multi_language_detection = args[:enable_multi_language_detection] if args.key?(:enable_multi_language_detection)
6855
+ @supported_response_language_codes = args[:supported_response_language_codes] if args.key?(:supported_response_language_codes)
6856
+ end
6857
+ end
6858
+
6814
6859
  # The response message for Flows.GetFlowValidationResult.
6815
6860
  class GoogleCloudDialogflowCxV3beta1FlowValidationResult
6816
6861
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DialogflowV3beta1
18
18
  # Version of the google-apis-dialogflow_v3beta1 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
@@ -1156,6 +1156,12 @@ module Google
1156
1156
  include Google::Apis::Core::JsonObjectSupport
1157
1157
  end
1158
1158
 
1159
+ class GoogleCloudDialogflowCxV3beta1FlowMultiLanguageSettings
1160
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1161
+
1162
+ include Google::Apis::Core::JsonObjectSupport
1163
+ end
1164
+
1159
1165
  class GoogleCloudDialogflowCxV3beta1FlowValidationResult
1160
1166
  class Representation < Google::Apis::Core::JsonRepresentation; end
1161
1167
 
@@ -4241,6 +4247,7 @@ module Google
4241
4247
  property :default_language_code, as: 'defaultLanguageCode'
4242
4248
  property :description, as: 'description'
4243
4249
  property :display_name, as: 'displayName'
4250
+ property :enable_multi_language_training, as: 'enableMultiLanguageTraining'
4244
4251
  property :enable_spell_correction, as: 'enableSpellCorrection'
4245
4252
  property :enable_stackdriver_logging, as: 'enableStackdriverLogging'
4246
4253
  property :gen_app_builder_settings, as: 'genAppBuilderSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentGenAppBuilderSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentGenAppBuilderSettings::Representation
@@ -4998,6 +5005,8 @@ module Google
4998
5005
 
4999
5006
  property :knowledge_connector_settings, as: 'knowledgeConnectorSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings::Representation
5000
5007
 
5008
+ property :multi_language_settings, as: 'multiLanguageSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FlowMultiLanguageSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FlowMultiLanguageSettings::Representation
5009
+
5001
5010
  property :name, as: 'name'
5002
5011
  property :nlu_settings, as: 'nluSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1NluSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1NluSettings::Representation
5003
5012
 
@@ -5014,6 +5023,14 @@ module Google
5014
5023
  end
5015
5024
  end
5016
5025
 
5026
+ class GoogleCloudDialogflowCxV3beta1FlowMultiLanguageSettings
5027
+ # @private
5028
+ class Representation < Google::Apis::Core::JsonRepresentation
5029
+ property :enable_multi_language_detection, as: 'enableMultiLanguageDetection'
5030
+ collection :supported_response_language_codes, as: 'supportedResponseLanguageCodes'
5031
+ end
5032
+ end
5033
+
5017
5034
  class GoogleCloudDialogflowCxV3beta1FlowValidationResult
5018
5035
  # @private
5019
5036
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dialogflow_v3beta1
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_v3beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.83.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.84.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v3beta1
63
63
  post_install_message:
64
64
  rdoc_options: []