google-apis-firebaseml_v2beta 0.43.0 → 0.45.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: 37b0cfc02bc40d3b663ec28614e5807340b6f17f39173654a73a82e218d967c0
4
- data.tar.gz: 0706e855109aa3996350fa7eea746e7958913add841cd23fbe479411711fa27a
3
+ metadata.gz: 5215a8974c91fc848551dc5d172dd99be8e3b310fdb26263a24e46224398e31a
4
+ data.tar.gz: c8a36df1b70898d5e4fcff2577cef5b8bad3eaae555d7672f06670aafbd67d6e
5
5
  SHA512:
6
- metadata.gz: 0a2c7e8e0874cc387f4e35a1e8d50fb3bfae97c7210440b74c730f060afff55aa2f5ba487d62cc7896ab0c7d04a776cb8bdc71fdfb8ebd9e0ea2a733405a0a1d
7
- data.tar.gz: a456ffe26601287fb77b39c0b946013f849d8bd945ab8e1daa3000f3e2aeaa1507ab560bb2935bd8b28f98f8ae53d9e4aaabb9e4fe3b2a469a575514abe514b1
6
+ metadata.gz: 9561377e5a6fc89c2aebea73f4bc580e92382aea90370f6dc6ed3203f27cce5822db89ea4fe8edfe84ab3019755e04ad8b5d905133d654cb926c89332e62d9f4
7
+ data.tar.gz: d19cd1a1243e7554a1afc32f7d638b6f497fc78aae9803ec55430779430cd4015c0911b16d2f667ba7a669304ea2e7dee50bb67c581cf01e3a2a18f9104a6023
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-firebaseml_v2beta
2
2
 
3
+ ### v0.45.0 (2026-09-06)
4
+
5
+ * Regenerated from discovery document revision 20260830
6
+
7
+ ### v0.44.0 (2026-08-23)
8
+
9
+ * Regenerated from discovery document revision 20260816
10
+
3
11
  ### v0.43.0 (2026-08-16)
4
12
 
5
13
  * Regenerated from discovery document revision 20260809
@@ -1874,6 +1874,11 @@ module Google
1874
1874
  # @return [Float]
1875
1875
  attr_accessor :top_p
1876
1876
 
1877
+ # Config for translation features.
1878
+ # Corresponds to the JSON property `translationConfig`
1879
+ # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1TranslationConfig]
1880
+ attr_accessor :translation_config
1881
+
1877
1882
  def initialize(**args)
1878
1883
  update!(**args)
1879
1884
  end
@@ -1905,6 +1910,7 @@ module Google
1905
1910
  @thinking_config = args[:thinking_config] if args.key?(:thinking_config)
1906
1911
  @top_k = args[:top_k] if args.key?(:top_k)
1907
1912
  @top_p = args[:top_p] if args.key?(:top_p)
1913
+ @translation_config = args[:translation_config] if args.key?(:translation_config)
1908
1914
  end
1909
1915
  end
1910
1916
 
@@ -2962,6 +2968,13 @@ module Google
2962
2968
  # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Blob]
2963
2969
  attr_accessor :inline_data
2964
2970
 
2971
+ # Optional. How the model processes this part's media for understanding. Only
2972
+ # meaningful for video parts (`inline_data` or `file_data` with video mime). Non-
2973
+ # video parts ignore this field.
2974
+ # Corresponds to the JSON property `mediaProcessing`
2975
+ # @return [String]
2976
+ attr_accessor :media_processing
2977
+
2965
2978
  # per part media resolution. Media resolution for the input media.
2966
2979
  # Corresponds to the JSON property `mediaResolution`
2967
2980
  # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1PartMediaResolution]
@@ -3008,6 +3021,7 @@ module Google
3008
3021
  @function_call = args[:function_call] if args.key?(:function_call)
3009
3022
  @function_response = args[:function_response] if args.key?(:function_response)
3010
3023
  @inline_data = args[:inline_data] if args.key?(:inline_data)
3024
+ @media_processing = args[:media_processing] if args.key?(:media_processing)
3011
3025
  @media_resolution = args[:media_resolution] if args.key?(:media_resolution)
3012
3026
  @text = args[:text] if args.key?(:text)
3013
3027
  @thought = args[:thought] if args.key?(:thought)
@@ -4279,6 +4293,35 @@ module Google
4279
4293
  end
4280
4294
  end
4281
4295
 
4296
+ # Config for translation features.
4297
+ class GoogleCloudAiplatformV1beta1TranslationConfig
4298
+ include Google::Apis::Core::Hashable
4299
+
4300
+ # Optional. If `true`, the model will generate audio when the target language is
4301
+ # spoken, essentially it will parrot the input. If `false`, we will not produce
4302
+ # audio for the target language.
4303
+ # Corresponds to the JSON property `echoTargetLanguage`
4304
+ # @return [Boolean]
4305
+ attr_accessor :echo_target_language
4306
+ alias_method :echo_target_language?, :echo_target_language
4307
+
4308
+ # Required. The target language for translation. Supported values are BCP-47
4309
+ # language codes (e.g. "en", "es", "fr").
4310
+ # Corresponds to the JSON property `targetLanguageCode`
4311
+ # @return [String]
4312
+ attr_accessor :target_language_code
4313
+
4314
+ def initialize(**args)
4315
+ update!(**args)
4316
+ end
4317
+
4318
+ # Update properties of this object
4319
+ def update!(**args)
4320
+ @echo_target_language = args[:echo_target_language] if args.key?(:echo_target_language)
4321
+ @target_language_code = args[:target_language_code] if args.key?(:target_language_code)
4322
+ end
4323
+ end
4324
+
4282
4325
  # Tool to support URL context.
4283
4326
  class GoogleCloudAiplatformV1beta1UrlContext
4284
4327
  include Google::Apis::Core::Hashable
@@ -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.43.0"
19
+ GEM_VERSION = "0.45.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 = "20260809"
25
+ REVISION = "20260830"
26
26
  end
27
27
  end
28
28
  end
@@ -664,6 +664,12 @@ module Google
664
664
  include Google::Apis::Core::JsonObjectSupport
665
665
  end
666
666
 
667
+ class GoogleCloudAiplatformV1beta1TranslationConfig
668
+ class Representation < Google::Apis::Core::JsonRepresentation; end
669
+
670
+ include Google::Apis::Core::JsonObjectSupport
671
+ end
672
+
667
673
  class GoogleCloudAiplatformV1beta1UrlContext
668
674
  class Representation < Google::Apis::Core::JsonRepresentation; end
669
675
 
@@ -1216,6 +1222,8 @@ module Google
1216
1222
 
1217
1223
  property :top_k, as: 'topK'
1218
1224
  property :top_p, as: 'topP'
1225
+ property :translation_config, as: 'translationConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1TranslationConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1TranslationConfig::Representation
1226
+
1219
1227
  end
1220
1228
  end
1221
1229
 
@@ -1520,6 +1528,7 @@ module Google
1520
1528
 
1521
1529
  property :inline_data, as: 'inlineData', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Blob, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Blob::Representation
1522
1530
 
1531
+ property :media_processing, as: 'mediaProcessing'
1523
1532
  property :media_resolution, as: 'mediaResolution', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1PartMediaResolution, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1PartMediaResolution::Representation
1524
1533
 
1525
1534
  property :text, as: 'text'
@@ -1885,6 +1894,14 @@ module Google
1885
1894
  end
1886
1895
  end
1887
1896
 
1897
+ class GoogleCloudAiplatformV1beta1TranslationConfig
1898
+ # @private
1899
+ class Representation < Google::Apis::Core::JsonRepresentation
1900
+ property :echo_target_language, as: 'echoTargetLanguage'
1901
+ property :target_language_code, as: 'targetLanguageCode'
1902
+ end
1903
+ end
1904
+
1888
1905
  class GoogleCloudAiplatformV1beta1UrlContext
1889
1906
  # @private
1890
1907
  class Representation < Google::Apis::Core::JsonRepresentation
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.43.0
4
+ version: 0.45.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.43.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-firebaseml_v2beta/v0.45.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: