google-apis-dialogflow_v2 0.82.0 → 0.83.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: 2b71d682e11bbda970bd5350a9a72339c127d61a46d4bf31ddc2d4eae54005f4
4
- data.tar.gz: 996a5489079c278fa49fa1e81b2caac2f27b17318dc7b820ad32964a40ebe32e
3
+ metadata.gz: de3a41175e8b0a44d2a7dad0c924c65f1b94fd2f0845a3b9d0597052d77835c5
4
+ data.tar.gz: 1ff13da4bf1c2d8805360dd1e6df6d6bf3af37c2e6360c75711ee4fb5d1feeb5
5
5
  SHA512:
6
- metadata.gz: 16e669534c2bcf92f57fc1b819d0193041f145a1d3d43f17ebe5a38a20f1b6af55abebb3992c0ed9504f9476333356a23672d625c3be6c1855c44bc39415580c
7
- data.tar.gz: '0619d79b413d4357b90ed8c2bd6bab9e801c42259677f2289877cbec9e9e2dfd2af1c59a4c0122db1ace458d93c949c13ab2fe44b1bcf649dda48d07064df2f7'
6
+ metadata.gz: 5030d4a8097d1dc29e0424f793ebc6ad9c9be80d79c813a0a6098142d9b81105297a8fcfe8a0d211e888a56f403ab2c8a5131e82e446e8c484296da5dd2a3392
7
+ data.tar.gz: ddcce358698799b0067ef1726dcb21eb7a5d935768a8f6dfa16367a87af8114a18f5757851e1f2e1f8d6997f60efaf03fb0e4a9107d3d2aa2b7ce4fa34d59890
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dialogflow_v2
2
2
 
3
+ ### v0.83.0 (2024-03-10)
4
+
5
+ * Regenerated from discovery document revision 20240305
6
+
3
7
  ### v0.82.0 (2024-02-24)
4
8
 
5
9
  * Regenerated from discovery document revision 20240219
@@ -49,6 +49,11 @@ module Google
49
49
  # @return [Google::Apis::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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 DialogflowV2
18
18
  # Version of the google-apis-dialogflow_v2 gem
19
- GEM_VERSION = "0.82.0"
19
+ GEM_VERSION = "0.83.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
 
@@ -3133,6 +3145,8 @@ module Google
3133
3145
 
3134
3146
  property :logging_settings, as: 'loggingSettings', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings::Representation
3135
3147
 
3148
+ property :speech_settings, as: 'speechSettings', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings::Representation
3149
+
3136
3150
  end
3137
3151
  end
3138
3152
 
@@ -3153,6 +3167,16 @@ module Google
3153
3167
  end
3154
3168
  end
3155
3169
 
3170
+ class GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings
3171
+ # @private
3172
+ class Representation < Google::Apis::Core::JsonRepresentation
3173
+ property :endpointer_sensitivity, as: 'endpointerSensitivity'
3174
+ hash :models, as: 'models'
3175
+ property :no_speech_timeout, as: 'noSpeechTimeout'
3176
+ property :use_timeout_based_endpointing, as: 'useTimeoutBasedEndpointing'
3177
+ end
3178
+ end
3179
+
3156
3180
  class GoogleCloudDialogflowCxV3AudioInput
3157
3181
  # @private
3158
3182
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4149,6 +4173,8 @@ module Google
4149
4173
 
4150
4174
  property :logging_settings, as: 'loggingSettings', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings::Representation
4151
4175
 
4176
+ property :speech_settings, as: 'speechSettings', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings::Representation
4177
+
4152
4178
  end
4153
4179
  end
4154
4180
 
@@ -4169,6 +4195,16 @@ module Google
4169
4195
  end
4170
4196
  end
4171
4197
 
4198
+ class GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings
4199
+ # @private
4200
+ class Representation < Google::Apis::Core::JsonRepresentation
4201
+ property :endpointer_sensitivity, as: 'endpointerSensitivity'
4202
+ hash :models, as: 'models'
4203
+ property :no_speech_timeout, as: 'noSpeechTimeout'
4204
+ property :use_timeout_based_endpointing, as: 'useTimeoutBasedEndpointing'
4205
+ end
4206
+ end
4207
+
4172
4208
  class GoogleCloudDialogflowCxV3beta1AudioInput
4173
4209
  # @private
4174
4210
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dialogflow_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.82.0
4
+ version: 0.83.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_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.82.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.83.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2
63
63
  post_install_message:
64
64
  rdoc_options: []