google-apis-dialogflow_v3beta1 0.81.0 → 0.82.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: b9d67e3ce5d2f98ab995ca545c97e489c7382d042130fb8fb80f874ca206da8c
4
- data.tar.gz: 955b7cbc9c60324e45670dd6240c54d83a64ca83127b7e3a941442a2f5e15a90
3
+ metadata.gz: 2a6fec71bc0d0212c9a059e11c56c347b2852d854fcf7d4b11a1c9c8b8375135
4
+ data.tar.gz: 8be713e4980583f4c5ccbb49dd9074e355ec8ddcb51d85a84e869bae58cc543b
5
5
  SHA512:
6
- metadata.gz: d97bdff64d8e35a15a955d8bf539078dafd6137aa8418276a42ff6c0e29748bc164bcf01b10aab2beccf876facc3d2ee4f127e4f551cc4cb086836628ea6dece
7
- data.tar.gz: 3004f38bba7483b381f1b6a43c580f4b9c30ef92fc1dffaf7b662b3e6c10381e00e6baee8a877e3a8167d7a15dfd349d07cfc7da0678c2699e797d8fb35b9637
6
+ metadata.gz: b67a473f3fdeb0cb17ed28056f4f3d0107e9b9651564fd170f628ea5296d7b196ad3c382e4ebebe72a2bfd90bce4a86cf1a258f56d30858b84ba16c240c85757
7
+ data.tar.gz: 3817e01fd1813aa64e68b8595f1187711fe8a8a2b7521fdf6cdc22112b3fd9d18f01f8eb37b0f7bea14d3ba845a4f0b336a0449a20de6be00c354401df70eded
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-dialogflow_v3beta1
2
2
 
3
+ ### v0.82.0 (2024-03-10)
4
+
5
+ * Regenerated from discovery document revision 20240305
6
+ * Regenerated using generator version 0.14.0
7
+
3
8
  ### v0.81.0 (2024-02-23)
4
9
 
5
10
  * Regenerated from discovery document revision 20240219
@@ -49,6 +49,11 @@ module Google
49
49
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings]
50
50
  attr_accessor :logging_settings
51
51
 
52
+ # Define behaviors of speech to text detection.
53
+ # Corresponds to the JSON property `speechSettings`
54
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings]
55
+ attr_accessor :speech_settings
56
+
52
57
  def initialize(**args)
53
58
  update!(**args)
54
59
  end
@@ -58,6 +63,7 @@ module Google
58
63
  @audio_export_gcs_destination = args[:audio_export_gcs_destination] if args.key?(:audio_export_gcs_destination)
59
64
  @dtmf_settings = args[:dtmf_settings] if args.key?(:dtmf_settings)
60
65
  @logging_settings = args[:logging_settings] if args.key?(:logging_settings)
66
+ @speech_settings = args[:speech_settings] if args.key?(:speech_settings)
61
67
  end
62
68
  end
63
69
 
@@ -124,6 +130,49 @@ module Google
124
130
  end
125
131
  end
126
132
 
133
+ # Define behaviors of speech to text detection.
134
+ class GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings
135
+ include Google::Apis::Core::Hashable
136
+
137
+ # Sensitivity of the speech model that detects the end of speech. Scale from 0
138
+ # to 100.
139
+ # Corresponds to the JSON property `endpointerSensitivity`
140
+ # @return [Fixnum]
141
+ attr_accessor :endpointer_sensitivity
142
+
143
+ # Mapping from language to Speech-to-Text model. The mapped Speech-to-Text model
144
+ # will be selected for requests from its corresponding language. For more
145
+ # information, see [Speech models](https://cloud.google.com/dialogflow/cx/docs/
146
+ # concept/speech-models).
147
+ # Corresponds to the JSON property `models`
148
+ # @return [Hash<String,String>]
149
+ attr_accessor :models
150
+
151
+ # Timeout before detecting no speech.
152
+ # Corresponds to the JSON property `noSpeechTimeout`
153
+ # @return [String]
154
+ attr_accessor :no_speech_timeout
155
+
156
+ # Use timeout based endpointing, interpreting endpointer sensitivy as seconds of
157
+ # timeout value.
158
+ # Corresponds to the JSON property `useTimeoutBasedEndpointing`
159
+ # @return [Boolean]
160
+ attr_accessor :use_timeout_based_endpointing
161
+ alias_method :use_timeout_based_endpointing?, :use_timeout_based_endpointing
162
+
163
+ def initialize(**args)
164
+ update!(**args)
165
+ end
166
+
167
+ # Update properties of this object
168
+ def update!(**args)
169
+ @endpointer_sensitivity = args[:endpointer_sensitivity] if args.key?(:endpointer_sensitivity)
170
+ @models = args[:models] if args.key?(:models)
171
+ @no_speech_timeout = args[:no_speech_timeout] if args.key?(:no_speech_timeout)
172
+ @use_timeout_based_endpointing = args[:use_timeout_based_endpointing] if args.key?(:use_timeout_based_endpointing)
173
+ end
174
+ end
175
+
127
176
  # Represents the natural speech audio to be processed.
128
177
  class GoogleCloudDialogflowCxV3AudioInput
129
178
  include Google::Apis::Core::Hashable
@@ -3743,6 +3792,11 @@ module Google
3743
3792
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings]
3744
3793
  attr_accessor :logging_settings
3745
3794
 
3795
+ # Define behaviors of speech to text detection.
3796
+ # Corresponds to the JSON property `speechSettings`
3797
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings]
3798
+ attr_accessor :speech_settings
3799
+
3746
3800
  def initialize(**args)
3747
3801
  update!(**args)
3748
3802
  end
@@ -3752,6 +3806,7 @@ module Google
3752
3806
  @audio_export_gcs_destination = args[:audio_export_gcs_destination] if args.key?(:audio_export_gcs_destination)
3753
3807
  @dtmf_settings = args[:dtmf_settings] if args.key?(:dtmf_settings)
3754
3808
  @logging_settings = args[:logging_settings] if args.key?(:logging_settings)
3809
+ @speech_settings = args[:speech_settings] if args.key?(:speech_settings)
3755
3810
  end
3756
3811
  end
3757
3812
 
@@ -3818,6 +3873,49 @@ module Google
3818
3873
  end
3819
3874
  end
3820
3875
 
3876
+ # Define behaviors of speech to text detection.
3877
+ class GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings
3878
+ include Google::Apis::Core::Hashable
3879
+
3880
+ # Sensitivity of the speech model that detects the end of speech. Scale from 0
3881
+ # to 100.
3882
+ # Corresponds to the JSON property `endpointerSensitivity`
3883
+ # @return [Fixnum]
3884
+ attr_accessor :endpointer_sensitivity
3885
+
3886
+ # Mapping from language to Speech-to-Text model. The mapped Speech-to-Text model
3887
+ # will be selected for requests from its corresponding language. For more
3888
+ # information, see [Speech models](https://cloud.google.com/dialogflow/cx/docs/
3889
+ # concept/speech-models).
3890
+ # Corresponds to the JSON property `models`
3891
+ # @return [Hash<String,String>]
3892
+ attr_accessor :models
3893
+
3894
+ # Timeout before detecting no speech.
3895
+ # Corresponds to the JSON property `noSpeechTimeout`
3896
+ # @return [String]
3897
+ attr_accessor :no_speech_timeout
3898
+
3899
+ # Use timeout based endpointing, interpreting endpointer sensitivy as seconds of
3900
+ # timeout value.
3901
+ # Corresponds to the JSON property `useTimeoutBasedEndpointing`
3902
+ # @return [Boolean]
3903
+ attr_accessor :use_timeout_based_endpointing
3904
+ alias_method :use_timeout_based_endpointing?, :use_timeout_based_endpointing
3905
+
3906
+ def initialize(**args)
3907
+ update!(**args)
3908
+ end
3909
+
3910
+ # Update properties of this object
3911
+ def update!(**args)
3912
+ @endpointer_sensitivity = args[:endpointer_sensitivity] if args.key?(:endpointer_sensitivity)
3913
+ @models = args[:models] if args.key?(:models)
3914
+ @no_speech_timeout = args[:no_speech_timeout] if args.key?(:no_speech_timeout)
3915
+ @use_timeout_based_endpointing = args[:use_timeout_based_endpointing] if args.key?(:use_timeout_based_endpointing)
3916
+ end
3917
+ end
3918
+
3821
3919
  # Agents are best described as Natural Language Understanding (NLU) modules that
3822
3920
  # transform user requests into actionable data. You can include agents in your
3823
3921
  # app, product, or service to determine user intent and respond to the user in a
@@ -3907,6 +4005,11 @@ module Google
3907
4005
  # @return [String]
3908
4006
  attr_accessor :name
3909
4007
 
4008
+ # Settings for end user personalization.
4009
+ # Corresponds to the JSON property `personalizationSettings`
4010
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentPersonalizationSettings]
4011
+ attr_accessor :personalization_settings
4012
+
3910
4013
  # Name of the SecuritySettings reference for the agent. Format: `projects//
3911
4014
  # locations//securitySettings/`.
3912
4015
  # Corresponds to the JSON property `securitySettings`
@@ -3960,6 +4063,7 @@ module Google
3960
4063
  @git_integration_settings = args[:git_integration_settings] if args.key?(:git_integration_settings)
3961
4064
  @locked = args[:locked] if args.key?(:locked)
3962
4065
  @name = args[:name] if args.key?(:name)
4066
+ @personalization_settings = args[:personalization_settings] if args.key?(:personalization_settings)
3963
4067
  @security_settings = args[:security_settings] if args.key?(:security_settings)
3964
4068
  @speech_to_text_settings = args[:speech_to_text_settings] if args.key?(:speech_to_text_settings)
3965
4069
  @start_flow = args[:start_flow] if args.key?(:start_flow)
@@ -4074,6 +4178,29 @@ module Google
4074
4178
  end
4075
4179
  end
4076
4180
 
4181
+ # Settings for end user personalization.
4182
+ class GoogleCloudDialogflowCxV3beta1AgentPersonalizationSettings
4183
+ include Google::Apis::Core::Hashable
4184
+
4185
+ # Optional. Default end user metadata, used when processing DetectIntent
4186
+ # requests. Recommended to be filled as a template instead of hard-coded value,
4187
+ # for example ` "age": "$session.params.age" `. The data will be merged with the
4188
+ # QueryParameters.end_user_metadata in DetectIntentRequest.query_params during
4189
+ # query processing.
4190
+ # Corresponds to the JSON property `defaultEndUserMetadata`
4191
+ # @return [Hash<String,Object>]
4192
+ attr_accessor :default_end_user_metadata
4193
+
4194
+ def initialize(**args)
4195
+ update!(**args)
4196
+ end
4197
+
4198
+ # Update properties of this object
4199
+ def update!(**args)
4200
+ @default_end_user_metadata = args[:default_end_user_metadata] if args.key?(:default_end_user_metadata)
4201
+ end
4202
+ end
4203
+
4077
4204
  # The response message for Agents.GetAgentValidationResult.
4078
4205
  class GoogleCloudDialogflowCxV3beta1AgentValidationResult
4079
4206
  include Google::Apis::Core::Hashable
@@ -10239,7 +10366,9 @@ module Google
10239
10366
  # User must set a value lower than Dialogflow's default 365d TTL (30 days for
10240
10367
  # Agent Assist traffic), higher value will be ignored and use default. Setting a
10241
10368
  # value higher than that has no effect. A missing value or setting to 0 also
10242
- # means we use default TTL.
10369
+ # means we use default TTL. When data retention configuration is changed, it
10370
+ # only applies to the data created after the change; the TTL of existing data
10371
+ # created before the change stays intact.
10243
10372
  # Corresponds to the JSON property `retentionWindowDays`
10244
10373
  # @return [Fixnum]
10245
10374
  attr_accessor :retention_window_days
@@ -10278,7 +10407,8 @@ module Google
10278
10407
  # @return [String]
10279
10408
  attr_accessor :audio_format
10280
10409
 
10281
- # Enable audio redaction if it is true.
10410
+ # Enable audio redaction if it is true. Note that this only redacts end-user
10411
+ # audio data; Synthesised audio from the virtual agent is not redacted.
10282
10412
  # Corresponds to the JSON property `enableAudioRedaction`
10283
10413
  # @return [Boolean]
10284
10414
  attr_accessor :enable_audio_redaction
@@ -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.81.0"
19
+ GEM_VERSION = "0.82.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.13.1"
22
+ GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240219"
25
+ REVISION = "20240305"
26
26
  end
27
27
  end
28
28
  end
@@ -40,6 +40,12 @@ module Google
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
+ class GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
43
49
  class GoogleCloudDialogflowCxV3AudioInput
44
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
51
 
@@ -664,6 +670,12 @@ module Google
664
670
  include Google::Apis::Core::JsonObjectSupport
665
671
  end
666
672
 
673
+ class GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings
674
+ class Representation < Google::Apis::Core::JsonRepresentation; end
675
+
676
+ include Google::Apis::Core::JsonObjectSupport
677
+ end
678
+
667
679
  class GoogleCloudDialogflowCxV3beta1Agent
668
680
  class Representation < Google::Apis::Core::JsonRepresentation; end
669
681
 
@@ -694,6 +706,12 @@ module Google
694
706
  include Google::Apis::Core::JsonObjectSupport
695
707
  end
696
708
 
709
+ class GoogleCloudDialogflowCxV3beta1AgentPersonalizationSettings
710
+ class Representation < Google::Apis::Core::JsonRepresentation; end
711
+
712
+ include Google::Apis::Core::JsonObjectSupport
713
+ end
714
+
697
715
  class GoogleCloudDialogflowCxV3beta1AgentValidationResult
698
716
  class Representation < Google::Apis::Core::JsonRepresentation; end
699
717
 
@@ -3079,6 +3097,8 @@ module Google
3079
3097
 
3080
3098
  property :logging_settings, as: 'loggingSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings::Representation
3081
3099
 
3100
+ property :speech_settings, as: 'speechSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings::Representation
3101
+
3082
3102
  end
3083
3103
  end
3084
3104
 
@@ -3099,6 +3119,16 @@ module Google
3099
3119
  end
3100
3120
  end
3101
3121
 
3122
+ class GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings
3123
+ # @private
3124
+ class Representation < Google::Apis::Core::JsonRepresentation
3125
+ property :endpointer_sensitivity, as: 'endpointerSensitivity'
3126
+ hash :models, as: 'models'
3127
+ property :no_speech_timeout, as: 'noSpeechTimeout'
3128
+ property :use_timeout_based_endpointing, as: 'useTimeoutBasedEndpointing'
3129
+ end
3130
+ end
3131
+
3102
3132
  class GoogleCloudDialogflowCxV3AudioInput
3103
3133
  # @private
3104
3134
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4095,6 +4125,8 @@ module Google
4095
4125
 
4096
4126
  property :logging_settings, as: 'loggingSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings::Representation
4097
4127
 
4128
+ property :speech_settings, as: 'speechSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings::Representation
4129
+
4098
4130
  end
4099
4131
  end
4100
4132
 
@@ -4115,6 +4147,16 @@ module Google
4115
4147
  end
4116
4148
  end
4117
4149
 
4150
+ class GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings
4151
+ # @private
4152
+ class Representation < Google::Apis::Core::JsonRepresentation
4153
+ property :endpointer_sensitivity, as: 'endpointerSensitivity'
4154
+ hash :models, as: 'models'
4155
+ property :no_speech_timeout, as: 'noSpeechTimeout'
4156
+ property :use_timeout_based_endpointing, as: 'useTimeoutBasedEndpointing'
4157
+ end
4158
+ end
4159
+
4118
4160
  class GoogleCloudDialogflowCxV3beta1Agent
4119
4161
  # @private
4120
4162
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4134,6 +4176,8 @@ module Google
4134
4176
 
4135
4177
  property :locked, as: 'locked'
4136
4178
  property :name, as: 'name'
4179
+ property :personalization_settings, as: 'personalizationSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentPersonalizationSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentPersonalizationSettings::Representation
4180
+
4137
4181
  property :security_settings, as: 'securitySettings'
4138
4182
  property :speech_to_text_settings, as: 'speechToTextSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SpeechToTextSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SpeechToTextSettings::Representation
4139
4183
 
@@ -4178,6 +4222,13 @@ module Google
4178
4222
  end
4179
4223
  end
4180
4224
 
4225
+ class GoogleCloudDialogflowCxV3beta1AgentPersonalizationSettings
4226
+ # @private
4227
+ class Representation < Google::Apis::Core::JsonRepresentation
4228
+ hash :default_end_user_metadata, as: 'defaultEndUserMetadata'
4229
+ end
4230
+ end
4231
+
4181
4232
  class GoogleCloudDialogflowCxV3beta1AgentValidationResult
4182
4233
  # @private
4183
4234
  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.81.0
4
+ version: 0.82.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-02-25 00:00:00.000000000 Z
11
+ date: 2024-03-10 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.81.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.82.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: []