google-apis-firebaseml_v2beta 0.35.0 → 0.36.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: 3f75ca86f8895233b0d796ae051e82efe3163e38178a69d59ea98e74e033466e
4
- data.tar.gz: 4836cbd2de5e8d22d4ece1f6478227ab1f42f6eedde33e057dd22f74134c2a7c
3
+ metadata.gz: da9c2542d83ba12e2d40448f4c21bc278c4b9ffe824caf34a768fa221bae5371
4
+ data.tar.gz: 5063b899ad8b990bd7911e406d8557a33004962911670f254536fb0c541ea311
5
5
  SHA512:
6
- metadata.gz: ddb4227d69400cf308ec3865d4f4e0bca60cd59ee2b80ecb1c66fcf0e3fdbfeacab4293b594040e55efbc271243e06fa05ad84a3ae8ac17861e7d544c2b51892
7
- data.tar.gz: 16ce96114016a82369fa364fd270df13d0e4e3a9ed6b392e7625f3639bc7a17388489a7a816b4ca5dec15916a90ed39792ed89d781bfe4d624903454ecf8c156
6
+ metadata.gz: 4c8f3b890a1bbe354a1ee9feb9c479f0330c60b95b60ab38253a9283f1ef9fdd2162a58ce3eed6264ab8abb3b4cf7678d5ce039bf567729025598c41484a4fb0
7
+ data.tar.gz: 3ea57fcb2487c86c2f1621185bfee7acd615fc1b740b839b466298f5d42261dde3b99c193afa605dc43574e4cfc660fcb23c7ad099f25566dc3eb22d1252e832
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-firebaseml_v2beta
2
2
 
3
+ ### v0.36.0 (2025-11-23)
4
+
5
+ * Regenerated from discovery document revision 20251117
6
+
3
7
  ### v0.35.0 (2025-10-26)
4
8
 
5
9
  * Regenerated from discovery document revision 20251022
@@ -903,6 +903,19 @@ module Google
903
903
  # @return [String]
904
904
  attr_accessor :name
905
905
 
906
+ # Optional. The partial argument value of the function call. If provided,
907
+ # represents the arguments/fields that are streamed incrementally.
908
+ # Corresponds to the JSON property `partialArgs`
909
+ # @return [Array<Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1PartialArg>]
910
+ attr_accessor :partial_args
911
+
912
+ # Optional. Whether this is the last part of the FunctionCall. If true, another
913
+ # partial message for the current FunctionCall is expected to follow.
914
+ # Corresponds to the JSON property `willContinue`
915
+ # @return [Boolean]
916
+ attr_accessor :will_continue
917
+ alias_method :will_continue?, :will_continue
918
+
906
919
  def initialize(**args)
907
920
  update!(**args)
908
921
  end
@@ -912,6 +925,8 @@ module Google
912
925
  @args = args[:args] if args.key?(:args)
913
926
  @id = args[:id] if args.key?(:id)
914
927
  @name = args[:name] if args.key?(:name)
928
+ @partial_args = args[:partial_args] if args.key?(:partial_args)
929
+ @will_continue = args[:will_continue] if args.key?(:will_continue)
915
930
  end
916
931
  end
917
932
 
@@ -931,6 +946,14 @@ module Google
931
946
  # @return [String]
932
947
  attr_accessor :mode
933
948
 
949
+ # Optional. When set to true, arguments of a single function call will be
950
+ # streamed out in multiple parts/contents/responses. Partial parameter results
951
+ # will be returned in the [FunctionCall.partial_args] field.
952
+ # Corresponds to the JSON property `streamFunctionCallArguments`
953
+ # @return [Boolean]
954
+ attr_accessor :stream_function_call_arguments
955
+ alias_method :stream_function_call_arguments?, :stream_function_call_arguments
956
+
934
957
  def initialize(**args)
935
958
  update!(**args)
936
959
  end
@@ -939,6 +962,7 @@ module Google
939
962
  def update!(**args)
940
963
  @allowed_function_names = args[:allowed_function_names] if args.key?(:allowed_function_names)
941
964
  @mode = args[:mode] if args.key?(:mode)
965
+ @stream_function_call_arguments = args[:stream_function_call_arguments] if args.key?(:stream_function_call_arguments)
942
966
  end
943
967
  end
944
968
 
@@ -957,8 +981,8 @@ module Google
957
981
  attr_accessor :description
958
982
 
959
983
  # Required. The name of the function to call. Must start with a letter or an
960
- # underscore. Must be a-z, A-Z, 0-9, or contain underscores, dots and dashes,
961
- # with a maximum length of 64.
984
+ # underscore. Must be a-z, A-Z, 0-9, or contain underscores, dots, colons and
985
+ # dashes, with a maximum length of 64.
962
986
  # Corresponds to the JSON property `name`
963
987
  # @return [String]
964
988
  attr_accessor :name
@@ -1757,6 +1781,11 @@ module Google
1757
1781
  # @return [Fixnum]
1758
1782
  attr_accessor :thinking_budget
1759
1783
 
1784
+ # Optional. The number of thoughts tokens that the model should generate.
1785
+ # Corresponds to the JSON property `thinkingLevel`
1786
+ # @return [String]
1787
+ attr_accessor :thinking_level
1788
+
1760
1789
  def initialize(**args)
1761
1790
  update!(**args)
1762
1791
  end
@@ -1765,6 +1794,7 @@ module Google
1765
1794
  def update!(**args)
1766
1795
  @include_thoughts = args[:include_thoughts] if args.key?(:include_thoughts)
1767
1796
  @thinking_budget = args[:thinking_budget] if args.key?(:thinking_budget)
1797
+ @thinking_level = args[:thinking_level] if args.key?(:thinking_level)
1768
1798
  end
1769
1799
  end
1770
1800
 
@@ -2192,6 +2222,12 @@ module Google
2192
2222
  # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ImageConfigImageOutputOptions]
2193
2223
  attr_accessor :image_output_options
2194
2224
 
2225
+ # Optional. Specifies the size of generated images. Supported values are `1K`, `
2226
+ # 2K`, `4K`. If not specified, the model will use default value `1K`.
2227
+ # Corresponds to the JSON property `imageSize`
2228
+ # @return [String]
2229
+ attr_accessor :image_size
2230
+
2195
2231
  # Optional. Controls whether the model can generate people.
2196
2232
  # Corresponds to the JSON property `personGeneration`
2197
2233
  # @return [String]
@@ -2205,6 +2241,7 @@ module Google
2205
2241
  def update!(**args)
2206
2242
  @aspect_ratio = args[:aspect_ratio] if args.key?(:aspect_ratio)
2207
2243
  @image_output_options = args[:image_output_options] if args.key?(:image_output_options)
2244
+ @image_size = args[:image_size] if args.key?(:image_size)
2208
2245
  @person_generation = args[:person_generation] if args.key?(:person_generation)
2209
2246
  end
2210
2247
  end
@@ -2463,6 +2500,11 @@ module Google
2463
2500
  # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Blob]
2464
2501
  attr_accessor :inline_data
2465
2502
 
2503
+ # per part media resolution. Media resolution for the input media.
2504
+ # Corresponds to the JSON property `mediaResolution`
2505
+ # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1PartMediaResolution]
2506
+ attr_accessor :media_resolution
2507
+
2466
2508
  # Optional. The text content of the part.
2467
2509
  # Corresponds to the JSON property `text`
2468
2510
  # @return [String]
@@ -2500,6 +2542,7 @@ module Google
2500
2542
  @function_call = args[:function_call] if args.key?(:function_call)
2501
2543
  @function_response = args[:function_response] if args.key?(:function_response)
2502
2544
  @inline_data = args[:inline_data] if args.key?(:inline_data)
2545
+ @media_resolution = args[:media_resolution] if args.key?(:media_resolution)
2503
2546
  @text = args[:text] if args.key?(:text)
2504
2547
  @thought = args[:thought] if args.key?(:thought)
2505
2548
  @thought_signature = args[:thought_signature] if args.key?(:thought_signature)
@@ -2507,6 +2550,78 @@ module Google
2507
2550
  end
2508
2551
  end
2509
2552
 
2553
+ # per part media resolution. Media resolution for the input media.
2554
+ class GoogleCloudAiplatformV1beta1PartMediaResolution
2555
+ include Google::Apis::Core::Hashable
2556
+
2557
+ # The tokenization quality used for given media.
2558
+ # Corresponds to the JSON property `level`
2559
+ # @return [String]
2560
+ attr_accessor :level
2561
+
2562
+ def initialize(**args)
2563
+ update!(**args)
2564
+ end
2565
+
2566
+ # Update properties of this object
2567
+ def update!(**args)
2568
+ @level = args[:level] if args.key?(:level)
2569
+ end
2570
+ end
2571
+
2572
+ # Partial argument value of the function call.
2573
+ class GoogleCloudAiplatformV1beta1PartialArg
2574
+ include Google::Apis::Core::Hashable
2575
+
2576
+ # Optional. Represents a boolean value.
2577
+ # Corresponds to the JSON property `boolValue`
2578
+ # @return [Boolean]
2579
+ attr_accessor :bool_value
2580
+ alias_method :bool_value?, :bool_value
2581
+
2582
+ # Required. A JSON Path (RFC 9535) to the argument being streamed. https://
2583
+ # datatracker.ietf.org/doc/html/rfc9535. e.g. "$.foo.bar[0].data".
2584
+ # Corresponds to the JSON property `jsonPath`
2585
+ # @return [String]
2586
+ attr_accessor :json_path
2587
+
2588
+ # Optional. Represents a null value.
2589
+ # Corresponds to the JSON property `nullValue`
2590
+ # @return [String]
2591
+ attr_accessor :null_value
2592
+
2593
+ # Optional. Represents a double value.
2594
+ # Corresponds to the JSON property `numberValue`
2595
+ # @return [Float]
2596
+ attr_accessor :number_value
2597
+
2598
+ # Optional. Represents a string value.
2599
+ # Corresponds to the JSON property `stringValue`
2600
+ # @return [String]
2601
+ attr_accessor :string_value
2602
+
2603
+ # Optional. Whether this is not the last part of the same json_path. If true,
2604
+ # another PartialArg message for the current json_path is expected to follow.
2605
+ # Corresponds to the JSON property `willContinue`
2606
+ # @return [Boolean]
2607
+ attr_accessor :will_continue
2608
+ alias_method :will_continue?, :will_continue
2609
+
2610
+ def initialize(**args)
2611
+ update!(**args)
2612
+ end
2613
+
2614
+ # Update properties of this object
2615
+ def update!(**args)
2616
+ @bool_value = args[:bool_value] if args.key?(:bool_value)
2617
+ @json_path = args[:json_path] if args.key?(:json_path)
2618
+ @null_value = args[:null_value] if args.key?(:null_value)
2619
+ @number_value = args[:number_value] if args.key?(:number_value)
2620
+ @string_value = args[:string_value] if args.key?(:string_value)
2621
+ @will_continue = args[:will_continue] if args.key?(:will_continue)
2622
+ end
2623
+ end
2624
+
2510
2625
  # Configuration for a prebuilt voice.
2511
2626
  class GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig
2512
2627
  include Google::Apis::Core::Hashable
@@ -2735,6 +2850,34 @@ module Google
2735
2850
  end
2736
2851
  end
2737
2852
 
2853
+ # The configuration for the replicated voice to use.
2854
+ class GoogleCloudAiplatformV1beta1ReplicatedVoiceConfig
2855
+ include Google::Apis::Core::Hashable
2856
+
2857
+ # Optional. The mimetype of the voice sample. Currently only mime_type=audio/pcm
2858
+ # is supported, which is raw mono 16-bit signed little-endian pcm data, with 24k
2859
+ # sampling rate.
2860
+ # Corresponds to the JSON property `mimeType`
2861
+ # @return [String]
2862
+ attr_accessor :mime_type
2863
+
2864
+ # Optional. The sample of the custom voice.
2865
+ # Corresponds to the JSON property `voiceSampleAudio`
2866
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
2867
+ # @return [String]
2868
+ attr_accessor :voice_sample_audio
2869
+
2870
+ def initialize(**args)
2871
+ update!(**args)
2872
+ end
2873
+
2874
+ # Update properties of this object
2875
+ def update!(**args)
2876
+ @mime_type = args[:mime_type] if args.key?(:mime_type)
2877
+ @voice_sample_audio = args[:voice_sample_audio] if args.key?(:voice_sample_audio)
2878
+ end
2879
+ end
2880
+
2738
2881
  # Defines a retrieval tool that model can call to access external knowledge.
2739
2882
  class GoogleCloudAiplatformV1beta1Retrieval
2740
2883
  include Google::Apis::Core::Hashable
@@ -3685,6 +3828,11 @@ module Google
3685
3828
  # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig]
3686
3829
  attr_accessor :prebuilt_voice_config
3687
3830
 
3831
+ # The configuration for the replicated voice to use.
3832
+ # Corresponds to the JSON property `replicatedVoiceConfig`
3833
+ # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ReplicatedVoiceConfig]
3834
+ attr_accessor :replicated_voice_config
3835
+
3688
3836
  def initialize(**args)
3689
3837
  update!(**args)
3690
3838
  end
@@ -3692,6 +3840,7 @@ module Google
3692
3840
  # Update properties of this object
3693
3841
  def update!(**args)
3694
3842
  @prebuilt_voice_config = args[:prebuilt_voice_config] if args.key?(:prebuilt_voice_config)
3843
+ @replicated_voice_config = args[:replicated_voice_config] if args.key?(:replicated_voice_config)
3695
3844
  end
3696
3845
  end
3697
3846
 
@@ -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.35.0"
19
+ GEM_VERSION = "0.36.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20251022"
25
+ REVISION = "20251117"
26
26
  end
27
27
  end
28
28
  end
@@ -388,6 +388,18 @@ module Google
388
388
  include Google::Apis::Core::JsonObjectSupport
389
389
  end
390
390
 
391
+ class GoogleCloudAiplatformV1beta1PartMediaResolution
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
397
+ class GoogleCloudAiplatformV1beta1PartialArg
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
391
403
  class GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig
392
404
  class Representation < Google::Apis::Core::JsonRepresentation; end
393
405
 
@@ -442,6 +454,12 @@ module Google
442
454
  include Google::Apis::Core::JsonObjectSupport
443
455
  end
444
456
 
457
+ class GoogleCloudAiplatformV1beta1ReplicatedVoiceConfig
458
+ class Representation < Google::Apis::Core::JsonRepresentation; end
459
+
460
+ include Google::Apis::Core::JsonObjectSupport
461
+ end
462
+
445
463
  class GoogleCloudAiplatformV1beta1Retrieval
446
464
  class Representation < Google::Apis::Core::JsonRepresentation; end
447
465
 
@@ -845,6 +863,9 @@ module Google
845
863
  hash :args, as: 'args'
846
864
  property :id, as: 'id'
847
865
  property :name, as: 'name'
866
+ collection :partial_args, as: 'partialArgs', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1PartialArg, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1PartialArg::Representation
867
+
868
+ property :will_continue, as: 'willContinue'
848
869
  end
849
870
  end
850
871
 
@@ -853,6 +874,7 @@ module Google
853
874
  class Representation < Google::Apis::Core::JsonRepresentation
854
875
  collection :allowed_function_names, as: 'allowedFunctionNames'
855
876
  property :mode, as: 'mode'
877
+ property :stream_function_call_arguments, as: 'streamFunctionCallArguments'
856
878
  end
857
879
  end
858
880
 
@@ -1048,6 +1070,7 @@ module Google
1048
1070
  class Representation < Google::Apis::Core::JsonRepresentation
1049
1071
  property :include_thoughts, as: 'includeThoughts'
1050
1072
  property :thinking_budget, as: 'thinkingBudget'
1073
+ property :thinking_level, as: 'thinkingLevel'
1051
1074
  end
1052
1075
  end
1053
1076
 
@@ -1171,6 +1194,7 @@ module Google
1171
1194
  property :aspect_ratio, as: 'aspectRatio'
1172
1195
  property :image_output_options, as: 'imageOutputOptions', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ImageConfigImageOutputOptions, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ImageConfigImageOutputOptions::Representation
1173
1196
 
1197
+ property :image_size, as: 'imageSize'
1174
1198
  property :person_generation, as: 'personGeneration'
1175
1199
  end
1176
1200
  end
@@ -1249,6 +1273,8 @@ module Google
1249
1273
 
1250
1274
  property :inline_data, as: 'inlineData', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Blob, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Blob::Representation
1251
1275
 
1276
+ property :media_resolution, as: 'mediaResolution', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1PartMediaResolution, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1PartMediaResolution::Representation
1277
+
1252
1278
  property :text, as: 'text'
1253
1279
  property :thought, as: 'thought'
1254
1280
  property :thought_signature, :base64 => true, as: 'thoughtSignature'
@@ -1257,6 +1283,25 @@ module Google
1257
1283
  end
1258
1284
  end
1259
1285
 
1286
+ class GoogleCloudAiplatformV1beta1PartMediaResolution
1287
+ # @private
1288
+ class Representation < Google::Apis::Core::JsonRepresentation
1289
+ property :level, as: 'level'
1290
+ end
1291
+ end
1292
+
1293
+ class GoogleCloudAiplatformV1beta1PartialArg
1294
+ # @private
1295
+ class Representation < Google::Apis::Core::JsonRepresentation
1296
+ property :bool_value, as: 'boolValue'
1297
+ property :json_path, as: 'jsonPath'
1298
+ property :null_value, as: 'nullValue'
1299
+ property :number_value, as: 'numberValue'
1300
+ property :string_value, as: 'stringValue'
1301
+ property :will_continue, as: 'willContinue'
1302
+ end
1303
+ end
1304
+
1260
1305
  class GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig
1261
1306
  # @private
1262
1307
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1334,6 +1379,14 @@ module Google
1334
1379
  end
1335
1380
  end
1336
1381
 
1382
+ class GoogleCloudAiplatformV1beta1ReplicatedVoiceConfig
1383
+ # @private
1384
+ class Representation < Google::Apis::Core::JsonRepresentation
1385
+ property :mime_type, as: 'mimeType'
1386
+ property :voice_sample_audio, :base64 => true, as: 'voiceSampleAudio'
1387
+ end
1388
+ end
1389
+
1337
1390
  class GoogleCloudAiplatformV1beta1Retrieval
1338
1391
  # @private
1339
1392
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1592,6 +1645,8 @@ module Google
1592
1645
  class Representation < Google::Apis::Core::JsonRepresentation
1593
1646
  property :prebuilt_voice_config, as: 'prebuiltVoiceConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig::Representation
1594
1647
 
1648
+ property :replicated_voice_config, as: 'replicatedVoiceConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ReplicatedVoiceConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ReplicatedVoiceConfig::Representation
1649
+
1595
1650
  end
1596
1651
  end
1597
1652
 
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.35.0
4
+ version: 0.36.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.35.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-firebaseml_v2beta/v0.36.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: