google-apis-firebaseml_v2beta 0.12.0 → 0.14.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: d8084a85b7c3174e3e27e46ef1f98d9ce300e847d95da1eef177394cc4e03739
4
- data.tar.gz: 7526e21defb2f8468f63ae22a43385ed2e3a1cd654380cb5823f15cfd58338a9
3
+ metadata.gz: a29eb0cf3b23df42fdef73d4a32dfd2604484c4ee07e657200209f24c445d8d9
4
+ data.tar.gz: 3269721cf5a63612e6eda8ea0d2cea0bfaffc9db6413ee4c5fb5819ffd19c055
5
5
  SHA512:
6
- metadata.gz: a54faf1f31515916c4c3b31e4bc47f4c3f1545605f6174a4122ee8c5bd49aaf0a523967c515538abb44541e7303bf371b63d8502192fcdf99b8c7295a0a5adea
7
- data.tar.gz: 238cbb156dca3214dda1b191d134669c68b37d40856f2e08f519ba724c0226ea73515105512255d8f9a3d2aa7fc13a926f3884dc43a21138a9fd354ebd28e4f2
6
+ metadata.gz: 75dcdcb6bb67e7ef65c61133d04f81839f655dabbf1aa3185e9d3c5ed9a85aa78329eba5f2d4b2ca9e8638858d54621aca7256883510131d78324d097b7a8e93
7
+ data.tar.gz: 2046a7eca41e8138b35bbdfaa982a5897e49b56f6d32119db191f567a054316bea4244d3510e3e0fc4ed1d8d14ea78b89ea954e6ffa02841e0cb59119c47d176
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-firebaseml_v2beta
2
2
 
3
+ ### v0.14.0 (2025-02-26)
4
+
5
+ * Regenerated from discovery document revision 20250223
6
+ * Regenerated using generator version 0.16.0
7
+
8
+ ### v0.13.0 (2025-01-05)
9
+
10
+ * Regenerated from discovery document revision 20241231
11
+
3
12
  ### v0.12.0 (2024-12-15)
4
13
 
5
14
  * Regenerated from discovery document revision 20241211
@@ -73,6 +73,13 @@ module Google
73
73
  # @return [String]
74
74
  attr_accessor :data
75
75
 
76
+ # Optional. Display name of the blob. Used to provide a label or filename to
77
+ # distinguish blobs. This field is only returned in PromptMessage for prompt
78
+ # management. It is not currently used in the Gemini GenerateContent calls.
79
+ # Corresponds to the JSON property `displayName`
80
+ # @return [String]
81
+ attr_accessor :display_name
82
+
76
83
  # Required. The IANA standard MIME type of the source data.
77
84
  # Corresponds to the JSON property `mimeType`
78
85
  # @return [String]
@@ -85,6 +92,7 @@ module Google
85
92
  # Update properties of this object
86
93
  def update!(**args)
87
94
  @data = args[:data] if args.key?(:data)
95
+ @display_name = args[:display_name] if args.key?(:display_name)
88
96
  @mime_type = args[:mime_type] if args.key?(:mime_type)
89
97
  end
90
98
  end
@@ -356,6 +364,11 @@ module Google
356
364
  class GoogleCloudAiplatformV1beta1CountTokensResponse
357
365
  include Google::Apis::Core::Hashable
358
366
 
367
+ # Output only. List of modalities that were processed in the request input.
368
+ # Corresponds to the JSON property `promptTokensDetails`
369
+ # @return [Array<Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ModalityTokenCount>]
370
+ attr_accessor :prompt_tokens_details
371
+
359
372
  # The total number of billable characters counted across all instances from the
360
373
  # request.
361
374
  # Corresponds to the JSON property `totalBillableCharacters`
@@ -373,6 +386,7 @@ module Google
373
386
 
374
387
  # Update properties of this object
375
388
  def update!(**args)
389
+ @prompt_tokens_details = args[:prompt_tokens_details] if args.key?(:prompt_tokens_details)
376
390
  @total_billable_characters = args[:total_billable_characters] if args.key?(:total_billable_characters)
377
391
  @total_tokens = args[:total_tokens] if args.key?(:total_tokens)
378
392
  end
@@ -404,6 +418,20 @@ module Google
404
418
  end
405
419
  end
406
420
 
421
+ # Tool to search public web data, powered by Vertex AI Search and Sec4
422
+ # compliance.
423
+ class GoogleCloudAiplatformV1beta1EnterpriseWebSearch
424
+ include Google::Apis::Core::Hashable
425
+
426
+ def initialize(**args)
427
+ update!(**args)
428
+ end
429
+
430
+ # Update properties of this object
431
+ def update!(**args)
432
+ end
433
+ end
434
+
407
435
  # Code generated by the model that is meant to be executed, and the result
408
436
  # returned to the model. Generated when using the [FunctionDeclaration] tool and
409
437
  # [FunctionCallingConfig] mode is set to [Mode.CODE].
@@ -435,6 +463,14 @@ module Google
435
463
  class GoogleCloudAiplatformV1beta1FileData
436
464
  include Google::Apis::Core::Hashable
437
465
 
466
+ # Optional. Display name of the file data. Used to provide a label or filename
467
+ # to distinguish file datas. This field is only returned in PromptMessage for
468
+ # prompt management. It is not currently used in the Gemini GenerateContent
469
+ # calls.
470
+ # Corresponds to the JSON property `displayName`
471
+ # @return [String]
472
+ attr_accessor :display_name
473
+
438
474
  # Required. URI.
439
475
  # Corresponds to the JSON property `fileUri`
440
476
  # @return [String]
@@ -451,6 +487,7 @@ module Google
451
487
 
452
488
  # Update properties of this object
453
489
  def update!(**args)
490
+ @display_name = args[:display_name] if args.key?(:display_name)
454
491
  @file_uri = args[:file_uri] if args.key?(:file_uri)
455
492
  @mime_type = args[:mime_type] if args.key?(:mime_type)
456
493
  end
@@ -678,6 +715,11 @@ module Google
678
715
  # @return [Array<Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Candidate>]
679
716
  attr_accessor :candidates
680
717
 
718
+ # Output only. Timestamp when the request is made to the server.
719
+ # Corresponds to the JSON property `createTime`
720
+ # @return [String]
721
+ attr_accessor :create_time
722
+
681
723
  # Output only. The model version used to generate the response.
682
724
  # Corresponds to the JSON property `modelVersion`
683
725
  # @return [String]
@@ -688,6 +730,12 @@ module Google
688
730
  # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerateContentResponsePromptFeedback]
689
731
  attr_accessor :prompt_feedback
690
732
 
733
+ # Output only. response_id is used to identify each response. It is the encoding
734
+ # of the event_id.
735
+ # Corresponds to the JSON property `responseId`
736
+ # @return [String]
737
+ attr_accessor :response_id
738
+
691
739
  # Usage metadata about response(s).
692
740
  # Corresponds to the JSON property `usageMetadata`
693
741
  # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata]
@@ -700,8 +748,10 @@ module Google
700
748
  # Update properties of this object
701
749
  def update!(**args)
702
750
  @candidates = args[:candidates] if args.key?(:candidates)
751
+ @create_time = args[:create_time] if args.key?(:create_time)
703
752
  @model_version = args[:model_version] if args.key?(:model_version)
704
753
  @prompt_feedback = args[:prompt_feedback] if args.key?(:prompt_feedback)
754
+ @response_id = args[:response_id] if args.key?(:response_id)
705
755
  @usage_metadata = args[:usage_metadata] if args.key?(:usage_metadata)
706
756
  end
707
757
  end
@@ -741,6 +791,11 @@ module Google
741
791
  class GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata
742
792
  include Google::Apis::Core::Hashable
743
793
 
794
+ # Output only. List of modalities of the cached content in the request input.
795
+ # Corresponds to the JSON property `cacheTokensDetails`
796
+ # @return [Array<Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ModalityTokenCount>]
797
+ attr_accessor :cache_tokens_details
798
+
744
799
  # Output only. Number of tokens in the cached part in the input (the cached
745
800
  # content).
746
801
  # Corresponds to the JSON property `cachedContentTokenCount`
@@ -752,6 +807,11 @@ module Google
752
807
  # @return [Fixnum]
753
808
  attr_accessor :candidates_token_count
754
809
 
810
+ # Output only. List of modalities that were returned in the response.
811
+ # Corresponds to the JSON property `candidatesTokensDetails`
812
+ # @return [Array<Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ModalityTokenCount>]
813
+ attr_accessor :candidates_tokens_details
814
+
755
815
  # Number of tokens in the request. When `cached_content` is set, this is still
756
816
  # the total effective prompt size meaning this includes the number of tokens in
757
817
  # the cached content.
@@ -759,7 +819,24 @@ module Google
759
819
  # @return [Fixnum]
760
820
  attr_accessor :prompt_token_count
761
821
 
762
- # Total token count for prompt and response candidates.
822
+ # Output only. List of modalities that were processed in the request input.
823
+ # Corresponds to the JSON property `promptTokensDetails`
824
+ # @return [Array<Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ModalityTokenCount>]
825
+ attr_accessor :prompt_tokens_details
826
+
827
+ # Output only. Number of tokens present in tool-use prompt(s).
828
+ # Corresponds to the JSON property `toolUsePromptTokenCount`
829
+ # @return [Fixnum]
830
+ attr_accessor :tool_use_prompt_token_count
831
+
832
+ # Output only. List of modalities that were processed for tool-use request
833
+ # inputs.
834
+ # Corresponds to the JSON property `toolUsePromptTokensDetails`
835
+ # @return [Array<Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ModalityTokenCount>]
836
+ attr_accessor :tool_use_prompt_tokens_details
837
+
838
+ # Total token count for prompt, response candidates, and tool-use prompts (if
839
+ # present).
763
840
  # Corresponds to the JSON property `totalTokenCount`
764
841
  # @return [Fixnum]
765
842
  attr_accessor :total_token_count
@@ -770,9 +847,14 @@ module Google
770
847
 
771
848
  # Update properties of this object
772
849
  def update!(**args)
850
+ @cache_tokens_details = args[:cache_tokens_details] if args.key?(:cache_tokens_details)
773
851
  @cached_content_token_count = args[:cached_content_token_count] if args.key?(:cached_content_token_count)
774
852
  @candidates_token_count = args[:candidates_token_count] if args.key?(:candidates_token_count)
853
+ @candidates_tokens_details = args[:candidates_tokens_details] if args.key?(:candidates_tokens_details)
775
854
  @prompt_token_count = args[:prompt_token_count] if args.key?(:prompt_token_count)
855
+ @prompt_tokens_details = args[:prompt_tokens_details] if args.key?(:prompt_tokens_details)
856
+ @tool_use_prompt_token_count = args[:tool_use_prompt_token_count] if args.key?(:tool_use_prompt_token_count)
857
+ @tool_use_prompt_tokens_details = args[:tool_use_prompt_tokens_details] if args.key?(:tool_use_prompt_tokens_details)
776
858
  @total_token_count = args[:total_token_count] if args.key?(:total_token_count)
777
859
  end
778
860
  end
@@ -1233,6 +1315,31 @@ module Google
1233
1315
  end
1234
1316
  end
1235
1317
 
1318
+ # Represents token counting info for a single modality.
1319
+ class GoogleCloudAiplatformV1beta1ModalityTokenCount
1320
+ include Google::Apis::Core::Hashable
1321
+
1322
+ # The modality associated with this token count.
1323
+ # Corresponds to the JSON property `modality`
1324
+ # @return [String]
1325
+ attr_accessor :modality
1326
+
1327
+ # Number of tokens.
1328
+ # Corresponds to the JSON property `tokenCount`
1329
+ # @return [Fixnum]
1330
+ attr_accessor :token_count
1331
+
1332
+ def initialize(**args)
1333
+ update!(**args)
1334
+ end
1335
+
1336
+ # Update properties of this object
1337
+ def update!(**args)
1338
+ @modality = args[:modality] if args.key?(:modality)
1339
+ @token_count = args[:token_count] if args.key?(:token_count)
1340
+ end
1341
+ end
1342
+
1236
1343
  # A datatype containing media that is part of a multi-part `Content` message. A `
1237
1344
  # Part` consists of data which has an associated datatype. A `Part` can only
1238
1345
  # contain one of the accepted types in `Part.data`. A `Part` must have a fixed
@@ -1284,6 +1391,12 @@ module Google
1284
1391
  # @return [String]
1285
1392
  attr_accessor :text
1286
1393
 
1394
+ # Output only. Indicates if the part is thought from the model.
1395
+ # Corresponds to the JSON property `thought`
1396
+ # @return [Boolean]
1397
+ attr_accessor :thought
1398
+ alias_method :thought?, :thought
1399
+
1287
1400
  # Metadata describes the input video content.
1288
1401
  # Corresponds to the JSON property `videoMetadata`
1289
1402
  # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VideoMetadata]
@@ -1302,6 +1415,7 @@ module Google
1302
1415
  @function_response = args[:function_response] if args.key?(:function_response)
1303
1416
  @inline_data = args[:inline_data] if args.key?(:inline_data)
1304
1417
  @text = args[:text] if args.key?(:text)
1418
+ @thought = args[:thought] if args.key?(:thought)
1305
1419
  @video_metadata = args[:video_metadata] if args.key?(:video_metadata)
1306
1420
  end
1307
1421
  end
@@ -1491,8 +1605,9 @@ module Google
1491
1605
  attr_accessor :disable_attribution
1492
1606
  alias_method :disable_attribution?, :disable_attribution
1493
1607
 
1494
- # Retrieve from Vertex AI Search datastore for grounding. See https://cloud.
1495
- # google.com/products/agent-builder
1608
+ # Retrieve from Vertex AI Search datastore or engine for grounding. datastore
1609
+ # and engine are mutually exclusive. See https://cloud.google.com/products/agent-
1610
+ # builder
1496
1611
  # Corresponds to the JSON property `vertexAiSearch`
1497
1612
  # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VertexAiSearch]
1498
1613
  attr_accessor :vertex_ai_search
@@ -1514,6 +1629,34 @@ module Google
1514
1629
  end
1515
1630
  end
1516
1631
 
1632
+ # Retrieval config.
1633
+ class GoogleCloudAiplatformV1beta1RetrievalConfig
1634
+ include Google::Apis::Core::Hashable
1635
+
1636
+ # The language code of the user.
1637
+ # Corresponds to the JSON property `languageCode`
1638
+ # @return [String]
1639
+ attr_accessor :language_code
1640
+
1641
+ # An object that represents a latitude/longitude pair. This is expressed as a
1642
+ # pair of doubles to represent degrees latitude and degrees longitude. Unless
1643
+ # specified otherwise, this object must conform to the WGS84 standard. Values
1644
+ # must be within normalized ranges.
1645
+ # Corresponds to the JSON property `latLng`
1646
+ # @return [Google::Apis::FirebasemlV2beta::LatLng]
1647
+ attr_accessor :lat_lng
1648
+
1649
+ def initialize(**args)
1650
+ update!(**args)
1651
+ end
1652
+
1653
+ # Update properties of this object
1654
+ def update!(**args)
1655
+ @language_code = args[:language_code] if args.key?(:language_code)
1656
+ @lat_lng = args[:lat_lng] if args.key?(:lat_lng)
1657
+ end
1658
+ end
1659
+
1517
1660
  # Metadata related to retrieval in the grounding flow.
1518
1661
  class GoogleCloudAiplatformV1beta1RetrievalMetadata
1519
1662
  include Google::Apis::Core::Hashable
@@ -1880,6 +2023,12 @@ module Google
1880
2023
  # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolCodeExecution]
1881
2024
  attr_accessor :code_execution
1882
2025
 
2026
+ # Tool to search public web data, powered by Vertex AI Search and Sec4
2027
+ # compliance.
2028
+ # Corresponds to the JSON property `enterpriseWebSearch`
2029
+ # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1EnterpriseWebSearch]
2030
+ attr_accessor :enterprise_web_search
2031
+
1883
2032
  # Optional. Function tool type. One or more function declarations to be passed
1884
2033
  # to the model along with the current user query. Model may decide to call a
1885
2034
  # subset of these functions by populating FunctionCall in the response. User
@@ -1913,6 +2062,7 @@ module Google
1913
2062
  # Update properties of this object
1914
2063
  def update!(**args)
1915
2064
  @code_execution = args[:code_execution] if args.key?(:code_execution)
2065
+ @enterprise_web_search = args[:enterprise_web_search] if args.key?(:enterprise_web_search)
1916
2066
  @function_declarations = args[:function_declarations] if args.key?(:function_declarations)
1917
2067
  @google_search = args[:google_search] if args.key?(:google_search)
1918
2068
  @google_search_retrieval = args[:google_search_retrieval] if args.key?(:google_search_retrieval)
@@ -1944,6 +2094,11 @@ module Google
1944
2094
  # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionCallingConfig]
1945
2095
  attr_accessor :function_calling_config
1946
2096
 
2097
+ # Retrieval config.
2098
+ # Corresponds to the JSON property `retrievalConfig`
2099
+ # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RetrievalConfig]
2100
+ attr_accessor :retrieval_config
2101
+
1947
2102
  def initialize(**args)
1948
2103
  update!(**args)
1949
2104
  end
@@ -1951,6 +2106,7 @@ module Google
1951
2106
  # Update properties of this object
1952
2107
  def update!(**args)
1953
2108
  @function_calling_config = args[:function_calling_config] if args.key?(:function_calling_config)
2109
+ @retrieval_config = args[:retrieval_config] if args.key?(:retrieval_config)
1954
2110
  end
1955
2111
  end
1956
2112
 
@@ -1968,12 +2124,13 @@ module Google
1968
2124
  end
1969
2125
  end
1970
2126
 
1971
- # Retrieve from Vertex AI Search datastore for grounding. See https://cloud.
1972
- # google.com/products/agent-builder
2127
+ # Retrieve from Vertex AI Search datastore or engine for grounding. datastore
2128
+ # and engine are mutually exclusive. See https://cloud.google.com/products/agent-
2129
+ # builder
1973
2130
  class GoogleCloudAiplatformV1beta1VertexAiSearch
1974
2131
  include Google::Apis::Core::Hashable
1975
2132
 
1976
- # Required. Fully-qualified Vertex AI Search data store resource ID. Format: `
2133
+ # Optional. Fully-qualified Vertex AI Search data store resource ID. Format: `
1977
2134
  # projects/`project`/locations/`location`/collections/`collection`/dataStores/`
1978
2135
  # dataStore``
1979
2136
  # Corresponds to the JSON property `datastore`
@@ -2106,6 +2263,34 @@ module Google
2106
2263
  end
2107
2264
  end
2108
2265
 
2266
+ # An object that represents a latitude/longitude pair. This is expressed as a
2267
+ # pair of doubles to represent degrees latitude and degrees longitude. Unless
2268
+ # specified otherwise, this object must conform to the WGS84 standard. Values
2269
+ # must be within normalized ranges.
2270
+ class LatLng
2271
+ include Google::Apis::Core::Hashable
2272
+
2273
+ # The latitude in degrees. It must be in the range [-90.0, +90.0].
2274
+ # Corresponds to the JSON property `latitude`
2275
+ # @return [Float]
2276
+ attr_accessor :latitude
2277
+
2278
+ # The longitude in degrees. It must be in the range [-180.0, +180.0].
2279
+ # Corresponds to the JSON property `longitude`
2280
+ # @return [Float]
2281
+ attr_accessor :longitude
2282
+
2283
+ def initialize(**args)
2284
+ update!(**args)
2285
+ end
2286
+
2287
+ # Update properties of this object
2288
+ def update!(**args)
2289
+ @latitude = args[:latitude] if args.key?(:latitude)
2290
+ @longitude = args[:longitude] if args.key?(:longitude)
2291
+ end
2292
+ end
2293
+
2109
2294
  # This is returned in the longrunning operations for create/update.
2110
2295
  class ModelOperationMetadata
2111
2296
  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.12.0"
19
+ GEM_VERSION = "0.14.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.1"
22
+ GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241211"
25
+ REVISION = "20250223"
26
26
  end
27
27
  end
28
28
  end
@@ -82,6 +82,12 @@ module Google
82
82
  include Google::Apis::Core::JsonObjectSupport
83
83
  end
84
84
 
85
+ class GoogleCloudAiplatformV1beta1EnterpriseWebSearch
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
85
91
  class GoogleCloudAiplatformV1beta1ExecutableCode
86
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
93
 
@@ -220,6 +226,12 @@ module Google
220
226
  include Google::Apis::Core::JsonObjectSupport
221
227
  end
222
228
 
229
+ class GoogleCloudAiplatformV1beta1ModalityTokenCount
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
223
235
  class GoogleCloudAiplatformV1beta1Part
224
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
237
 
@@ -274,6 +286,12 @@ module Google
274
286
  include Google::Apis::Core::JsonObjectSupport
275
287
  end
276
288
 
289
+ class GoogleCloudAiplatformV1beta1RetrievalConfig
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
277
295
  class GoogleCloudAiplatformV1beta1RetrievalMetadata
278
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
279
297
 
@@ -370,6 +388,12 @@ module Google
370
388
  include Google::Apis::Core::JsonObjectSupport
371
389
  end
372
390
 
391
+ class LatLng
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
373
397
  class ModelOperationMetadata
374
398
  class Representation < Google::Apis::Core::JsonRepresentation; end
375
399
 
@@ -389,6 +413,7 @@ module Google
389
413
  # @private
390
414
  class Representation < Google::Apis::Core::JsonRepresentation
391
415
  property :data, :base64 => true, as: 'data'
416
+ property :display_name, as: 'displayName'
392
417
  property :mime_type, as: 'mimeType'
393
418
  end
394
419
  end
@@ -470,6 +495,8 @@ module Google
470
495
  class GoogleCloudAiplatformV1beta1CountTokensResponse
471
496
  # @private
472
497
  class Representation < Google::Apis::Core::JsonRepresentation
498
+ collection :prompt_tokens_details, as: 'promptTokensDetails', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ModalityTokenCount, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ModalityTokenCount::Representation
499
+
473
500
  property :total_billable_characters, as: 'totalBillableCharacters'
474
501
  property :total_tokens, as: 'totalTokens'
475
502
  end
@@ -483,6 +510,12 @@ module Google
483
510
  end
484
511
  end
485
512
 
513
+ class GoogleCloudAiplatformV1beta1EnterpriseWebSearch
514
+ # @private
515
+ class Representation < Google::Apis::Core::JsonRepresentation
516
+ end
517
+ end
518
+
486
519
  class GoogleCloudAiplatformV1beta1ExecutableCode
487
520
  # @private
488
521
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -494,6 +527,7 @@ module Google
494
527
  class GoogleCloudAiplatformV1beta1FileData
495
528
  # @private
496
529
  class Representation < Google::Apis::Core::JsonRepresentation
530
+ property :display_name, as: 'displayName'
497
531
  property :file_uri, as: 'fileUri'
498
532
  property :mime_type, as: 'mimeType'
499
533
  end
@@ -560,9 +594,11 @@ module Google
560
594
  class Representation < Google::Apis::Core::JsonRepresentation
561
595
  collection :candidates, as: 'candidates', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Candidate, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Candidate::Representation
562
596
 
597
+ property :create_time, as: 'createTime'
563
598
  property :model_version, as: 'modelVersion'
564
599
  property :prompt_feedback, as: 'promptFeedback', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerateContentResponsePromptFeedback, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerateContentResponsePromptFeedback::Representation
565
600
 
601
+ property :response_id, as: 'responseId'
566
602
  property :usage_metadata, as: 'usageMetadata', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata::Representation
567
603
 
568
604
  end
@@ -581,9 +617,18 @@ module Google
581
617
  class GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata
582
618
  # @private
583
619
  class Representation < Google::Apis::Core::JsonRepresentation
620
+ collection :cache_tokens_details, as: 'cacheTokensDetails', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ModalityTokenCount, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ModalityTokenCount::Representation
621
+
584
622
  property :cached_content_token_count, as: 'cachedContentTokenCount'
585
623
  property :candidates_token_count, as: 'candidatesTokenCount'
624
+ collection :candidates_tokens_details, as: 'candidatesTokensDetails', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ModalityTokenCount, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ModalityTokenCount::Representation
625
+
586
626
  property :prompt_token_count, as: 'promptTokenCount'
627
+ collection :prompt_tokens_details, as: 'promptTokensDetails', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ModalityTokenCount, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ModalityTokenCount::Representation
628
+
629
+ property :tool_use_prompt_token_count, as: 'toolUsePromptTokenCount'
630
+ collection :tool_use_prompt_tokens_details, as: 'toolUsePromptTokensDetails', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ModalityTokenCount, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ModalityTokenCount::Representation
631
+
587
632
  property :total_token_count, as: 'totalTokenCount'
588
633
  end
589
634
  end
@@ -727,6 +772,14 @@ module Google
727
772
  end
728
773
  end
729
774
 
775
+ class GoogleCloudAiplatformV1beta1ModalityTokenCount
776
+ # @private
777
+ class Representation < Google::Apis::Core::JsonRepresentation
778
+ property :modality, as: 'modality'
779
+ property :token_count, as: 'tokenCount'
780
+ end
781
+ end
782
+
730
783
  class GoogleCloudAiplatformV1beta1Part
731
784
  # @private
732
785
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -743,6 +796,7 @@ module Google
743
796
  property :inline_data, as: 'inlineData', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Blob, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Blob::Representation
744
797
 
745
798
  property :text, as: 'text'
799
+ property :thought, as: 'thought'
746
800
  property :video_metadata, as: 'videoMetadata', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VideoMetadata, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VideoMetadata::Representation
747
801
 
748
802
  end
@@ -819,6 +873,15 @@ module Google
819
873
  end
820
874
  end
821
875
 
876
+ class GoogleCloudAiplatformV1beta1RetrievalConfig
877
+ # @private
878
+ class Representation < Google::Apis::Core::JsonRepresentation
879
+ property :language_code, as: 'languageCode'
880
+ property :lat_lng, as: 'latLng', class: Google::Apis::FirebasemlV2beta::LatLng, decorator: Google::Apis::FirebasemlV2beta::LatLng::Representation
881
+
882
+ end
883
+ end
884
+
822
885
  class GoogleCloudAiplatformV1beta1RetrievalMetadata
823
886
  # @private
824
887
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -909,6 +972,8 @@ module Google
909
972
  class Representation < Google::Apis::Core::JsonRepresentation
910
973
  property :code_execution, as: 'codeExecution', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolCodeExecution, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolCodeExecution::Representation
911
974
 
975
+ property :enterprise_web_search, as: 'enterpriseWebSearch', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1EnterpriseWebSearch, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1EnterpriseWebSearch::Representation
976
+
912
977
  collection :function_declarations, as: 'functionDeclarations', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionDeclaration, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionDeclaration::Representation
913
978
 
914
979
  property :google_search, as: 'googleSearch', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolGoogleSearch, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolGoogleSearch::Representation
@@ -931,6 +996,8 @@ module Google
931
996
  class Representation < Google::Apis::Core::JsonRepresentation
932
997
  property :function_calling_config, as: 'functionCallingConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionCallingConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionCallingConfig::Representation
933
998
 
999
+ property :retrieval_config, as: 'retrievalConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RetrievalConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RetrievalConfig::Representation
1000
+
934
1001
  end
935
1002
  end
936
1003
 
@@ -984,6 +1051,14 @@ module Google
984
1051
  end
985
1052
  end
986
1053
 
1054
+ class LatLng
1055
+ # @private
1056
+ class Representation < Google::Apis::Core::JsonRepresentation
1057
+ property :latitude, as: 'latitude'
1058
+ property :longitude, as: 'longitude'
1059
+ end
1060
+ end
1061
+
987
1062
  class ModelOperationMetadata
988
1063
  # @private
989
1064
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-firebaseml_v2beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-15 00:00:00.000000000 Z
10
+ date: 2025-03-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: google-apis-core
@@ -58,9 +57,8 @@ licenses:
58
57
  metadata:
59
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firebaseml_v2beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-firebaseml_v2beta/v0.12.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-firebaseml_v2beta/v0.14.0
62
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firebaseml_v2beta
63
- post_install_message:
64
62
  rdoc_options: []
65
63
  require_paths:
66
64
  - lib
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
73
  - !ruby/object:Gem::Version
76
74
  version: '0'
77
75
  requirements: []
78
- rubygems_version: 3.5.23
79
- signing_key:
76
+ rubygems_version: 3.6.5
80
77
  specification_version: 4
81
78
  summary: Simple REST client for Firebase ML API V2beta
82
79
  test_files: []