google-apis-firebaseml_v2beta 0.42.0 → 0.44.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: 223d960a2ce998ce013f1907cfa751b9c17b3432548fc81337c7461ae54f8222
4
- data.tar.gz: d0874c8a9b0c5d68c812b0c8b8c9a98cec1409467a588c3b4052df3e72a503cf
3
+ metadata.gz: bbe11df5fb47c41545fa9c30950c6a4cd9f781811b9da0a3a8758ee1b4f77b25
4
+ data.tar.gz: fa456583a1416c4e4319d85087c15258d090c51d01990b1d7b1f8ccedee97c66
5
5
  SHA512:
6
- metadata.gz: c668924c1e3316774c60dafdcf13e80f0f92b8397234f399bd8d74f25b5342319a834569f7d312cf8658e79c06164c7dd57613af866cbd044c727b3e23b76842
7
- data.tar.gz: e666bba4f7755a1796942f31713eff18b20fc87ee94414f84dfe76a38cf5d80b68ff3c4c89c40156082941f2f8dc7acf34eafccb5d8b46ec21d6812341d75cd9
6
+ metadata.gz: 7b20a1a4cd90a49673f8b9d2d8cc2f66c2c3717c2ee8266052313b2371c5e907ed16db80a30f13081f3d849f5619155b13c323864d5a643d34c51c9b9b3a3f34
7
+ data.tar.gz: 33fd665d74e77b949065a61dafd2bf88383b6929122bef4675bacb52c72caf87bfa5863ff2072eb73adb1221b8700dc16001bd6f533302bafbfd03a82bad1652
data/CHANGELOG.md CHANGED
@@ -1,8 +1,16 @@
1
1
  # Release history for google-apis-firebaseml_v2beta
2
2
 
3
- ### v0.42.0 (2026-08-02)
3
+ ### v0.44.0 (2026-08-23)
4
4
 
5
- * Regenerated from discovery document revision 20260726
5
+ * Regenerated from discovery document revision 20260816
6
+
7
+ ### v0.43.0 (2026-08-16)
8
+
9
+ * Regenerated from discovery document revision 20260809
10
+
11
+ ### v0.42.0 (2026-08-09)
12
+
13
+ * Regenerated from discovery document revision 20260802
6
14
 
7
15
  ### v0.41.0 (2026-07-05)
8
16
 
@@ -148,13 +148,13 @@ module Google
148
148
  end
149
149
 
150
150
  # The transcription of an audio part. For multi-speaker audio, each speaker
151
- # segment is a separate Part with its own AudioTranscription carrying the
152
- # speaker_label.
151
+ # segment is a separate `Part` with its own `AudioTranscription` carrying the `
152
+ # speaker_label`.
153
153
  class GoogleCloudAiplatformV1beta1AudioTranscription
154
154
  include Google::Apis::Core::Hashable
155
155
 
156
- # Optional. A label identifying the speaker of this audio segment (e.g. "spk_1",
157
- # "spk_2"). Present when diarization is set.
156
+ # Optional. A label identifying the speaker of this audio segment (e.g. `spk_1`,
157
+ # `spk_2`). Present when `diarization` is set.
158
158
  # Corresponds to the JSON property `speakerLabel`
159
159
  # @return [String]
160
160
  attr_accessor :speaker_label
@@ -164,8 +164,8 @@ module Google
164
164
  # @return [String]
165
165
  attr_accessor :text
166
166
 
167
- # Optional. Detailed word-level transcriptions and timing details. Present when
168
- # word_timestamp is set.
167
+ # Optional. Detailed word-level transcriptions and timing details. Present when `
168
+ # word_timestamp` is set.
169
169
  # Corresponds to the JSON property `words`
170
170
  # @return [Array<Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AudioTranscriptionWordInfo>]
171
171
  attr_accessor :words
@@ -186,7 +186,8 @@ module Google
186
186
  class GoogleCloudAiplatformV1beta1AudioTranscriptionConfig
187
187
  include Google::Apis::Core::Hashable
188
188
 
189
- # Optional. A list of phrases to bias the ASR model towards.
189
+ # Optional. Deprecated: Use `custom_vocabulary` instead. A list of phrases to
190
+ # bias the speech recognition model towards.
190
191
  # Corresponds to the JSON property `adaptationPhrases`
191
192
  # @return [Array<String>]
192
193
  attr_accessor :adaptation_phrases
@@ -203,16 +204,34 @@ module Google
203
204
  attr_accessor :diarization
204
205
  alias_method :diarization?, :diarization
205
206
 
206
- # Indicates the language of the audio should be automatically detected.
207
+ # Deprecated: Use top-level `language_codes` instead. Indicates the language of
208
+ # the audio should be automatically detected.
207
209
  # Corresponds to the JSON property `languageAuto`
208
210
  # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageAuto]
209
211
  attr_accessor :language_auto
210
212
 
211
- # Provides hints to the model about possible languages present in the audio.
213
+ # Optional. BCP-47 language codes providing hints about the languages present in
214
+ # the audio. If omitted or empty, defaults to automatic language detection.
215
+ # Corresponds to the JSON property `languageCodes`
216
+ # @return [Array<String>]
217
+ attr_accessor :language_codes
218
+
219
+ # Deprecated: Use top-level `language_codes` instead. Provides hints to the
220
+ # model about possible languages present in the audio.
212
221
  # Corresponds to the JSON property `languageHints`
213
222
  # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageHints]
214
223
  attr_accessor :language_hints
215
224
 
225
+ # Optional. Configures transcription mode. Supported values: `VERBATIM`, `SMART`.
226
+ # If unspecified, defaults to `VERBATIM` transcription. In `SMART` mode, the
227
+ # model performs disfluency removal (eliminating filler words, repetitions, and
228
+ # false starts), light grammatical cleanup, automatic formatting (paragraphs,
229
+ # bullet points, numbered lists), and minor user edits (inline self-corrections).
230
+ # Timestamps and diarization are incompatible with mode `SMART`.
231
+ # Corresponds to the JSON property `mode`
232
+ # @return [String]
233
+ attr_accessor :mode
234
+
216
235
  # Optional. Configures word-level timestamp generation.
217
236
  # Corresponds to the JSON property `wordTimestamp`
218
237
  # @return [Boolean]
@@ -229,12 +248,15 @@ module Google
229
248
  @custom_vocabulary = args[:custom_vocabulary] if args.key?(:custom_vocabulary)
230
249
  @diarization = args[:diarization] if args.key?(:diarization)
231
250
  @language_auto = args[:language_auto] if args.key?(:language_auto)
251
+ @language_codes = args[:language_codes] if args.key?(:language_codes)
232
252
  @language_hints = args[:language_hints] if args.key?(:language_hints)
253
+ @mode = args[:mode] if args.key?(:mode)
233
254
  @word_timestamp = args[:word_timestamp] if args.key?(:word_timestamp)
234
255
  end
235
256
  end
236
257
 
237
- # Indicates the language of the audio should be automatically detected.
258
+ # Deprecated: Use top-level `language_codes` instead. Indicates the language of
259
+ # the audio should be automatically detected.
238
260
  class GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageAuto
239
261
  include Google::Apis::Core::Hashable
240
262
 
@@ -247,11 +269,13 @@ module Google
247
269
  end
248
270
  end
249
271
 
250
- # Provides hints to the model about possible languages present in the audio.
272
+ # Deprecated: Use top-level `language_codes` instead. Provides hints to the
273
+ # model about possible languages present in the audio.
251
274
  class GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageHints
252
275
  include Google::Apis::Core::Hashable
253
276
 
254
- # Required. BCP-47 language codes. At least one must be specified.
277
+ # Required. Deprecated: Use top-level `language_codes` instead. BCP-47 language
278
+ # codes. At least one must be specified.
255
279
  # Corresponds to the JSON property `languageCodes`
256
280
  # @return [Array<String>]
257
281
  attr_accessor :language_codes
@@ -2901,8 +2925,8 @@ module Google
2901
2925
  include Google::Apis::Core::Hashable
2902
2926
 
2903
2927
  # The transcription of an audio part. For multi-speaker audio, each speaker
2904
- # segment is a separate Part with its own AudioTranscription carrying the
2905
- # speaker_label.
2928
+ # segment is a separate `Part` with its own `AudioTranscription` carrying the `
2929
+ # speaker_label`.
2906
2930
  # Corresponds to the JSON property `audioTranscription`
2907
2931
  # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AudioTranscription]
2908
2932
  attr_accessor :audio_transcription
@@ -2949,6 +2973,13 @@ module Google
2949
2973
  # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Blob]
2950
2974
  attr_accessor :inline_data
2951
2975
 
2976
+ # Optional. How the model processes this part's media for understanding. Only
2977
+ # meaningful for video parts (`inline_data` or `file_data` with video mime). Non-
2978
+ # video parts ignore this field.
2979
+ # Corresponds to the JSON property `mediaProcessing`
2980
+ # @return [String]
2981
+ attr_accessor :media_processing
2982
+
2952
2983
  # per part media resolution. Media resolution for the input media.
2953
2984
  # Corresponds to the JSON property `mediaResolution`
2954
2985
  # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1PartMediaResolution]
@@ -2995,6 +3026,7 @@ module Google
2995
3026
  @function_call = args[:function_call] if args.key?(:function_call)
2996
3027
  @function_response = args[:function_response] if args.key?(:function_response)
2997
3028
  @inline_data = args[:inline_data] if args.key?(:inline_data)
3029
+ @media_processing = args[:media_processing] if args.key?(:media_processing)
2998
3030
  @media_resolution = args[:media_resolution] if args.key?(:media_resolution)
2999
3031
  @text = args[:text] if args.key?(:text)
3000
3032
  @thought = args[:thought] if args.key?(:thought)
@@ -4549,6 +4581,12 @@ module Google
4549
4581
  # @return [String]
4550
4582
  attr_accessor :gcs_uri
4551
4583
 
4584
+ # Optional. The video output resolution. Supported values: "360p", "720p", "
4585
+ # 1080p", "4k".
4586
+ # Corresponds to the JSON property `resolution`
4587
+ # @return [String]
4588
+ attr_accessor :resolution
4589
+
4552
4590
  def initialize(**args)
4553
4591
  update!(**args)
4554
4592
  end
@@ -4559,6 +4597,7 @@ module Google
4559
4597
  @delivery = args[:delivery] if args.key?(:delivery)
4560
4598
  @duration = args[:duration] if args.key?(:duration)
4561
4599
  @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
4600
+ @resolution = args[:resolution] if args.key?(:resolution)
4562
4601
  end
4563
4602
  end
4564
4603
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module FirebasemlV2beta
18
18
  # Version of the google-apis-firebaseml_v2beta gem
19
- GEM_VERSION = "0.42.0"
19
+ GEM_VERSION = "0.44.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260726"
25
+ REVISION = "20260816"
26
26
  end
27
27
  end
28
28
  end
@@ -789,8 +789,10 @@ module Google
789
789
  property :diarization, as: 'diarization'
790
790
  property :language_auto, as: 'languageAuto', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageAuto, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageAuto::Representation
791
791
 
792
+ collection :language_codes, as: 'languageCodes'
792
793
  property :language_hints, as: 'languageHints', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageHints, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageHints::Representation
793
794
 
795
+ property :mode, as: 'mode'
794
796
  property :word_timestamp, as: 'wordTimestamp'
795
797
  end
796
798
  end
@@ -1519,6 +1521,7 @@ module Google
1519
1521
 
1520
1522
  property :inline_data, as: 'inlineData', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Blob, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Blob::Representation
1521
1523
 
1524
+ property :media_processing, as: 'mediaProcessing'
1522
1525
  property :media_resolution, as: 'mediaResolution', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1PartMediaResolution, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1PartMediaResolution::Representation
1523
1526
 
1524
1527
  property :text, as: 'text'
@@ -1964,6 +1967,7 @@ module Google
1964
1967
  property :delivery, as: 'delivery'
1965
1968
  property :duration, as: 'duration'
1966
1969
  property :gcs_uri, as: 'gcsUri'
1970
+ property :resolution, as: 'resolution'
1967
1971
  end
1968
1972
  end
1969
1973
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-firebaseml_v2beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.42.0
4
+ version: 0.44.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firebaseml_v2beta/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-firebaseml_v2beta/v0.42.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-firebaseml_v2beta/v0.44.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firebaseml_v2beta
62
62
  rdoc_options: []
63
63
  require_paths: