google-apis-dialogflow_v2beta1 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: ce8684ccd85103c8c5f26d95e039e4673a7aa1e3d441643a9a3515ac7c19ea5c
4
- data.tar.gz: 2f543a014ee05eecaeac4dc109831a44b0b93133af6637d9fc8986260467f49d
3
+ metadata.gz: 962acbdd2ef94e172ed58cfe4b9bb555e61970fa664d69bac4a45009cfd48ada
4
+ data.tar.gz: 3c6468327a98e0a48ad7100c43a739ce937e7c1699303a417e5a10d69f771532
5
5
  SHA512:
6
- metadata.gz: 8d92874cd0a251436f73292444a09a89e3b0ba77aa1f54e3d805d828c6086ec761f2ad46f86ca9e81c150f56e6293e7475a052102c69167ac688fe616db124c6
7
- data.tar.gz: 0a97e0a51f22b2ec9e1692e48ebd5a82235880596940f827081759df6b2f9334207b11c2b16d97703f5088f8b367f927e70e163c9432082cd6de8f3b30a3e282
6
+ metadata.gz: 34e0900f913a49d819ae50351058434749cdae0bb1060de78e18263d2a449e0828b5a117b6156a82e7586438a743198a49d48fa46058f2eacb0a6fb70aac1b81
7
+ data.tar.gz: 5f3a46444ed7bba05a32e6a3aa4d7746f4c8f9faa447c495a349ce5cbb20fdc3c98072d36e2018d1f988aa85bbd00dea0c3a803d0db532713c7526fd92265b87
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dialogflow_v2beta1
2
2
 
3
+ ### v0.82.0 (2024-03-10)
4
+
5
+ * Regenerated from discovery document revision 20240305
6
+
3
7
  ### v0.81.0 (2024-02-23)
4
8
 
5
9
  * Regenerated from discovery document revision 20240219
@@ -49,6 +49,11 @@ module Google
49
49
  # @return [Google::Apis::DialogflowV2beta1::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::DialogflowV2beta1::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::DialogflowV2beta1::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::DialogflowV2beta1::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
  # Represents the natural speech audio to be processed.
3822
3920
  class GoogleCloudDialogflowCxV3beta1AudioInput
3823
3921
  include Google::Apis::Core::Hashable
@@ -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.81.0"
19
+ GEM_VERSION = "0.82.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 = "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 GoogleCloudDialogflowCxV3beta1AudioInput
668
680
  class Representation < Google::Apis::Core::JsonRepresentation; end
669
681
 
@@ -3151,6 +3163,8 @@ module Google
3151
3163
 
3152
3164
  property :logging_settings, as: 'loggingSettings', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings::Representation
3153
3165
 
3166
+ property :speech_settings, as: 'speechSettings', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings::Representation
3167
+
3154
3168
  end
3155
3169
  end
3156
3170
 
@@ -3171,6 +3185,16 @@ module Google
3171
3185
  end
3172
3186
  end
3173
3187
 
3188
+ class GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings
3189
+ # @private
3190
+ class Representation < Google::Apis::Core::JsonRepresentation
3191
+ property :endpointer_sensitivity, as: 'endpointerSensitivity'
3192
+ hash :models, as: 'models'
3193
+ property :no_speech_timeout, as: 'noSpeechTimeout'
3194
+ property :use_timeout_based_endpointing, as: 'useTimeoutBasedEndpointing'
3195
+ end
3196
+ end
3197
+
3174
3198
  class GoogleCloudDialogflowCxV3AudioInput
3175
3199
  # @private
3176
3200
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4167,6 +4191,8 @@ module Google
4167
4191
 
4168
4192
  property :logging_settings, as: 'loggingSettings', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings::Representation
4169
4193
 
4194
+ property :speech_settings, as: 'speechSettings', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings::Representation
4195
+
4170
4196
  end
4171
4197
  end
4172
4198
 
@@ -4187,6 +4213,16 @@ module Google
4187
4213
  end
4188
4214
  end
4189
4215
 
4216
+ class GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings
4217
+ # @private
4218
+ class Representation < Google::Apis::Core::JsonRepresentation
4219
+ property :endpointer_sensitivity, as: 'endpointerSensitivity'
4220
+ hash :models, as: 'models'
4221
+ property :no_speech_timeout, as: 'noSpeechTimeout'
4222
+ property :use_timeout_based_endpointing, as: 'useTimeoutBasedEndpointing'
4223
+ end
4224
+ end
4225
+
4190
4226
  class GoogleCloudDialogflowCxV3beta1AudioInput
4191
4227
  # @private
4192
4228
  class Representation < Google::Apis::Core::JsonRepresentation
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.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_v2beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.81.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.82.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: []