google-apis-firebaseml_v2beta 0.13.0 → 0.15.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: 9b2803faf3554d96e1c8db70f3b437ae1d7c25f9ed3c095b7bff10d6e067a9d4
4
- data.tar.gz: dfc044a290358ade1f72764771d40a1a63b3df7db83d6a03f93e5a2d5dc70e71
3
+ metadata.gz: fb4fbbe3485b246991cb6412ab0607911f0d764563d5749f020f4e3967e0b967
4
+ data.tar.gz: fc801f6675f7cce981dada655d0d5e13d18058952dfde6938497dd4a1d466921
5
5
  SHA512:
6
- metadata.gz: 5ee3343b163dfc6aefa649dbba8c57b24440dffc070e47665c65efe9e7b9cfd6047cbe0cf906f4e475f249903cd51fe556c52780e8cbe951c94554a6c773c0f9
7
- data.tar.gz: b0a10fd47dce9f707c2aee5a52947b154daebb1bc24bde624edacfd7e98ae16a147567cd8c02407eb7ecd596c7395cc5c596cfda7b2ee6e7423b0632e7ca4ed2
6
+ metadata.gz: 52d8a648353ab6342ffdf23a8463b0ec8ce46c3f6c21c698bfe14f19e87538f3db9ea1f9163f462f625f0a3cffa2d410d314f77f14ee7fb2316e792f739709bc
7
+ data.tar.gz: 651f97646b7f5f08b628dfe45c1f31c7e4590d02d4f09b60a20ce12533755634e78264fee6bb3ebaa0fbbc2a0ee287c10a67a41e2a5d36e9421f428392e406d4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-firebaseml_v2beta
2
2
 
3
+ ### v0.15.0 (2025-03-16)
4
+
5
+ * Regenerated from discovery document revision 20250312
6
+
7
+ ### v0.14.0 (2025-02-26)
8
+
9
+ * Regenerated from discovery document revision 20250223
10
+ * Regenerated using generator version 0.16.0
11
+
3
12
  ### v0.13.0 (2025-01-05)
4
13
 
5
14
  * Regenerated from discovery document revision 20241231
@@ -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
@@ -468,6 +505,12 @@ module Google
468
505
  # @return [Hash<String,Object>]
469
506
  attr_accessor :args
470
507
 
508
+ # Optional. The unique id of the function call. If populated, the client to
509
+ # execute the `function_call` and return the response with the matching `id`.
510
+ # Corresponds to the JSON property `id`
511
+ # @return [String]
512
+ attr_accessor :id
513
+
471
514
  # Required. The name of the function to call. Matches [FunctionDeclaration.name].
472
515
  # Corresponds to the JSON property `name`
473
516
  # @return [String]
@@ -480,6 +523,7 @@ module Google
480
523
  # Update properties of this object
481
524
  def update!(**args)
482
525
  @args = args[:args] if args.key?(:args)
526
+ @id = args[:id] if args.key?(:id)
483
527
  @name = args[:name] if args.key?(:name)
484
528
  end
485
529
  end
@@ -566,6 +610,12 @@ module Google
566
610
  class GoogleCloudAiplatformV1beta1FunctionResponse
567
611
  include Google::Apis::Core::Hashable
568
612
 
613
+ # Optional. The id of the function call this response is for. Populated by the
614
+ # client to match the corresponding function call `id`.
615
+ # Corresponds to the JSON property `id`
616
+ # @return [String]
617
+ attr_accessor :id
618
+
569
619
  # Required. The name of the function to call. Matches [FunctionDeclaration.name]
570
620
  # and [FunctionCall.name].
571
621
  # Corresponds to the JSON property `name`
@@ -586,6 +636,7 @@ module Google
586
636
 
587
637
  # Update properties of this object
588
638
  def update!(**args)
639
+ @id = args[:id] if args.key?(:id)
589
640
  @name = args[:name] if args.key?(:name)
590
641
  @response = args[:response] if args.key?(:response)
591
642
  end
@@ -678,6 +729,11 @@ module Google
678
729
  # @return [Array<Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Candidate>]
679
730
  attr_accessor :candidates
680
731
 
732
+ # Output only. Timestamp when the request is made to the server.
733
+ # Corresponds to the JSON property `createTime`
734
+ # @return [String]
735
+ attr_accessor :create_time
736
+
681
737
  # Output only. The model version used to generate the response.
682
738
  # Corresponds to the JSON property `modelVersion`
683
739
  # @return [String]
@@ -688,6 +744,12 @@ module Google
688
744
  # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerateContentResponsePromptFeedback]
689
745
  attr_accessor :prompt_feedback
690
746
 
747
+ # Output only. response_id is used to identify each response. It is the encoding
748
+ # of the event_id.
749
+ # Corresponds to the JSON property `responseId`
750
+ # @return [String]
751
+ attr_accessor :response_id
752
+
691
753
  # Usage metadata about response(s).
692
754
  # Corresponds to the JSON property `usageMetadata`
693
755
  # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata]
@@ -700,8 +762,10 @@ module Google
700
762
  # Update properties of this object
701
763
  def update!(**args)
702
764
  @candidates = args[:candidates] if args.key?(:candidates)
765
+ @create_time = args[:create_time] if args.key?(:create_time)
703
766
  @model_version = args[:model_version] if args.key?(:model_version)
704
767
  @prompt_feedback = args[:prompt_feedback] if args.key?(:prompt_feedback)
768
+ @response_id = args[:response_id] if args.key?(:response_id)
705
769
  @usage_metadata = args[:usage_metadata] if args.key?(:usage_metadata)
706
770
  end
707
771
  end
@@ -741,6 +805,11 @@ module Google
741
805
  class GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata
742
806
  include Google::Apis::Core::Hashable
743
807
 
808
+ # Output only. List of modalities of the cached content in the request input.
809
+ # Corresponds to the JSON property `cacheTokensDetails`
810
+ # @return [Array<Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ModalityTokenCount>]
811
+ attr_accessor :cache_tokens_details
812
+
744
813
  # Output only. Number of tokens in the cached part in the input (the cached
745
814
  # content).
746
815
  # Corresponds to the JSON property `cachedContentTokenCount`
@@ -752,6 +821,11 @@ module Google
752
821
  # @return [Fixnum]
753
822
  attr_accessor :candidates_token_count
754
823
 
824
+ # Output only. List of modalities that were returned in the response.
825
+ # Corresponds to the JSON property `candidatesTokensDetails`
826
+ # @return [Array<Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ModalityTokenCount>]
827
+ attr_accessor :candidates_tokens_details
828
+
755
829
  # Number of tokens in the request. When `cached_content` is set, this is still
756
830
  # the total effective prompt size meaning this includes the number of tokens in
757
831
  # the cached content.
@@ -759,7 +833,29 @@ module Google
759
833
  # @return [Fixnum]
760
834
  attr_accessor :prompt_token_count
761
835
 
762
- # Total token count for prompt and response candidates.
836
+ # Output only. List of modalities that were processed in the request input.
837
+ # Corresponds to the JSON property `promptTokensDetails`
838
+ # @return [Array<Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ModalityTokenCount>]
839
+ attr_accessor :prompt_tokens_details
840
+
841
+ # Output only. Number of tokens present in thoughts output.
842
+ # Corresponds to the JSON property `thoughtsTokenCount`
843
+ # @return [Fixnum]
844
+ attr_accessor :thoughts_token_count
845
+
846
+ # Output only. Number of tokens present in tool-use prompt(s).
847
+ # Corresponds to the JSON property `toolUsePromptTokenCount`
848
+ # @return [Fixnum]
849
+ attr_accessor :tool_use_prompt_token_count
850
+
851
+ # Output only. List of modalities that were processed for tool-use request
852
+ # inputs.
853
+ # Corresponds to the JSON property `toolUsePromptTokensDetails`
854
+ # @return [Array<Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ModalityTokenCount>]
855
+ attr_accessor :tool_use_prompt_tokens_details
856
+
857
+ # Total token count for prompt, response candidates, and tool-use prompts (if
858
+ # present).
763
859
  # Corresponds to the JSON property `totalTokenCount`
764
860
  # @return [Fixnum]
765
861
  attr_accessor :total_token_count
@@ -770,9 +866,15 @@ module Google
770
866
 
771
867
  # Update properties of this object
772
868
  def update!(**args)
869
+ @cache_tokens_details = args[:cache_tokens_details] if args.key?(:cache_tokens_details)
773
870
  @cached_content_token_count = args[:cached_content_token_count] if args.key?(:cached_content_token_count)
774
871
  @candidates_token_count = args[:candidates_token_count] if args.key?(:candidates_token_count)
872
+ @candidates_tokens_details = args[:candidates_tokens_details] if args.key?(:candidates_tokens_details)
775
873
  @prompt_token_count = args[:prompt_token_count] if args.key?(:prompt_token_count)
874
+ @prompt_tokens_details = args[:prompt_tokens_details] if args.key?(:prompt_tokens_details)
875
+ @thoughts_token_count = args[:thoughts_token_count] if args.key?(:thoughts_token_count)
876
+ @tool_use_prompt_token_count = args[:tool_use_prompt_token_count] if args.key?(:tool_use_prompt_token_count)
877
+ @tool_use_prompt_tokens_details = args[:tool_use_prompt_tokens_details] if args.key?(:tool_use_prompt_tokens_details)
776
878
  @total_token_count = args[:total_token_count] if args.key?(:total_token_count)
777
879
  end
778
880
  end
@@ -1052,6 +1154,11 @@ module Google
1052
1154
  class GoogleCloudAiplatformV1beta1GroundingChunkWeb
1053
1155
  include Google::Apis::Core::Hashable
1054
1156
 
1157
+ # Domain of the (original) URI.
1158
+ # Corresponds to the JSON property `domain`
1159
+ # @return [String]
1160
+ attr_accessor :domain
1161
+
1055
1162
  # Title of the chunk.
1056
1163
  # Corresponds to the JSON property `title`
1057
1164
  # @return [String]
@@ -1068,6 +1175,7 @@ module Google
1068
1175
 
1069
1176
  # Update properties of this object
1070
1177
  def update!(**args)
1178
+ @domain = args[:domain] if args.key?(:domain)
1071
1179
  @title = args[:title] if args.key?(:title)
1072
1180
  @uri = args[:uri] if args.key?(:uri)
1073
1181
  end
@@ -1233,6 +1341,31 @@ module Google
1233
1341
  end
1234
1342
  end
1235
1343
 
1344
+ # Represents token counting info for a single modality.
1345
+ class GoogleCloudAiplatformV1beta1ModalityTokenCount
1346
+ include Google::Apis::Core::Hashable
1347
+
1348
+ # The modality associated with this token count.
1349
+ # Corresponds to the JSON property `modality`
1350
+ # @return [String]
1351
+ attr_accessor :modality
1352
+
1353
+ # Number of tokens.
1354
+ # Corresponds to the JSON property `tokenCount`
1355
+ # @return [Fixnum]
1356
+ attr_accessor :token_count
1357
+
1358
+ def initialize(**args)
1359
+ update!(**args)
1360
+ end
1361
+
1362
+ # Update properties of this object
1363
+ def update!(**args)
1364
+ @modality = args[:modality] if args.key?(:modality)
1365
+ @token_count = args[:token_count] if args.key?(:token_count)
1366
+ end
1367
+ end
1368
+
1236
1369
  # A datatype containing media that is part of a multi-part `Content` message. A `
1237
1370
  # Part` consists of data which has an associated datatype. A `Part` can only
1238
1371
  # contain one of the accepted types in `Part.data`. A `Part` must have a fixed
@@ -1498,8 +1631,9 @@ module Google
1498
1631
  attr_accessor :disable_attribution
1499
1632
  alias_method :disable_attribution?, :disable_attribution
1500
1633
 
1501
- # Retrieve from Vertex AI Search datastore for grounding. See https://cloud.
1502
- # google.com/products/agent-builder
1634
+ # Retrieve from Vertex AI Search datastore or engine for grounding. datastore
1635
+ # and engine are mutually exclusive. See https://cloud.google.com/products/agent-
1636
+ # builder
1503
1637
  # Corresponds to the JSON property `vertexAiSearch`
1504
1638
  # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VertexAiSearch]
1505
1639
  attr_accessor :vertex_ai_search
@@ -1915,6 +2049,12 @@ module Google
1915
2049
  # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolCodeExecution]
1916
2050
  attr_accessor :code_execution
1917
2051
 
2052
+ # Tool to search public web data, powered by Vertex AI Search and Sec4
2053
+ # compliance.
2054
+ # Corresponds to the JSON property `enterpriseWebSearch`
2055
+ # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1EnterpriseWebSearch]
2056
+ attr_accessor :enterprise_web_search
2057
+
1918
2058
  # Optional. Function tool type. One or more function declarations to be passed
1919
2059
  # to the model along with the current user query. Model may decide to call a
1920
2060
  # subset of these functions by populating FunctionCall in the response. User
@@ -1948,6 +2088,7 @@ module Google
1948
2088
  # Update properties of this object
1949
2089
  def update!(**args)
1950
2090
  @code_execution = args[:code_execution] if args.key?(:code_execution)
2091
+ @enterprise_web_search = args[:enterprise_web_search] if args.key?(:enterprise_web_search)
1951
2092
  @function_declarations = args[:function_declarations] if args.key?(:function_declarations)
1952
2093
  @google_search = args[:google_search] if args.key?(:google_search)
1953
2094
  @google_search_retrieval = args[:google_search_retrieval] if args.key?(:google_search_retrieval)
@@ -2009,18 +2150,26 @@ module Google
2009
2150
  end
2010
2151
  end
2011
2152
 
2012
- # Retrieve from Vertex AI Search datastore for grounding. See https://cloud.
2013
- # google.com/products/agent-builder
2153
+ # Retrieve from Vertex AI Search datastore or engine for grounding. datastore
2154
+ # and engine are mutually exclusive. See https://cloud.google.com/products/agent-
2155
+ # builder
2014
2156
  class GoogleCloudAiplatformV1beta1VertexAiSearch
2015
2157
  include Google::Apis::Core::Hashable
2016
2158
 
2017
- # Required. Fully-qualified Vertex AI Search data store resource ID. Format: `
2159
+ # Optional. Fully-qualified Vertex AI Search data store resource ID. Format: `
2018
2160
  # projects/`project`/locations/`location`/collections/`collection`/dataStores/`
2019
2161
  # dataStore``
2020
2162
  # Corresponds to the JSON property `datastore`
2021
2163
  # @return [String]
2022
2164
  attr_accessor :datastore
2023
2165
 
2166
+ # Optional. Fully-qualified Vertex AI Search engine resource ID. Format: `
2167
+ # projects/`project`/locations/`location`/collections/`collection`/engines/`
2168
+ # engine``
2169
+ # Corresponds to the JSON property `engine`
2170
+ # @return [String]
2171
+ attr_accessor :engine
2172
+
2024
2173
  def initialize(**args)
2025
2174
  update!(**args)
2026
2175
  end
@@ -2028,6 +2177,7 @@ module Google
2028
2177
  # Update properties of this object
2029
2178
  def update!(**args)
2030
2179
  @datastore = args[:datastore] if args.key?(:datastore)
2180
+ @engine = args[:engine] if args.key?(:engine)
2031
2181
  end
2032
2182
  end
2033
2183
 
@@ -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.13.0"
19
+ GEM_VERSION = "0.15.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 = "20241231"
25
+ REVISION = "20250312"
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
 
@@ -401,6 +413,7 @@ module Google
401
413
  # @private
402
414
  class Representation < Google::Apis::Core::JsonRepresentation
403
415
  property :data, :base64 => true, as: 'data'
416
+ property :display_name, as: 'displayName'
404
417
  property :mime_type, as: 'mimeType'
405
418
  end
406
419
  end
@@ -482,6 +495,8 @@ module Google
482
495
  class GoogleCloudAiplatformV1beta1CountTokensResponse
483
496
  # @private
484
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
+
485
500
  property :total_billable_characters, as: 'totalBillableCharacters'
486
501
  property :total_tokens, as: 'totalTokens'
487
502
  end
@@ -495,6 +510,12 @@ module Google
495
510
  end
496
511
  end
497
512
 
513
+ class GoogleCloudAiplatformV1beta1EnterpriseWebSearch
514
+ # @private
515
+ class Representation < Google::Apis::Core::JsonRepresentation
516
+ end
517
+ end
518
+
498
519
  class GoogleCloudAiplatformV1beta1ExecutableCode
499
520
  # @private
500
521
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -506,6 +527,7 @@ module Google
506
527
  class GoogleCloudAiplatformV1beta1FileData
507
528
  # @private
508
529
  class Representation < Google::Apis::Core::JsonRepresentation
530
+ property :display_name, as: 'displayName'
509
531
  property :file_uri, as: 'fileUri'
510
532
  property :mime_type, as: 'mimeType'
511
533
  end
@@ -515,6 +537,7 @@ module Google
515
537
  # @private
516
538
  class Representation < Google::Apis::Core::JsonRepresentation
517
539
  hash :args, as: 'args'
540
+ property :id, as: 'id'
518
541
  property :name, as: 'name'
519
542
  end
520
543
  end
@@ -542,6 +565,7 @@ module Google
542
565
  class GoogleCloudAiplatformV1beta1FunctionResponse
543
566
  # @private
544
567
  class Representation < Google::Apis::Core::JsonRepresentation
568
+ property :id, as: 'id'
545
569
  property :name, as: 'name'
546
570
  hash :response, as: 'response'
547
571
  end
@@ -572,9 +596,11 @@ module Google
572
596
  class Representation < Google::Apis::Core::JsonRepresentation
573
597
  collection :candidates, as: 'candidates', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Candidate, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Candidate::Representation
574
598
 
599
+ property :create_time, as: 'createTime'
575
600
  property :model_version, as: 'modelVersion'
576
601
  property :prompt_feedback, as: 'promptFeedback', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerateContentResponsePromptFeedback, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerateContentResponsePromptFeedback::Representation
577
602
 
603
+ property :response_id, as: 'responseId'
578
604
  property :usage_metadata, as: 'usageMetadata', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata::Representation
579
605
 
580
606
  end
@@ -593,9 +619,19 @@ module Google
593
619
  class GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata
594
620
  # @private
595
621
  class Representation < Google::Apis::Core::JsonRepresentation
622
+ collection :cache_tokens_details, as: 'cacheTokensDetails', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ModalityTokenCount, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ModalityTokenCount::Representation
623
+
596
624
  property :cached_content_token_count, as: 'cachedContentTokenCount'
597
625
  property :candidates_token_count, as: 'candidatesTokenCount'
626
+ collection :candidates_tokens_details, as: 'candidatesTokensDetails', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ModalityTokenCount, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ModalityTokenCount::Representation
627
+
598
628
  property :prompt_token_count, as: 'promptTokenCount'
629
+ collection :prompt_tokens_details, as: 'promptTokensDetails', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ModalityTokenCount, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ModalityTokenCount::Representation
630
+
631
+ property :thoughts_token_count, as: 'thoughtsTokenCount'
632
+ property :tool_use_prompt_token_count, as: 'toolUsePromptTokenCount'
633
+ collection :tool_use_prompt_tokens_details, as: 'toolUsePromptTokensDetails', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ModalityTokenCount, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ModalityTokenCount::Representation
634
+
599
635
  property :total_token_count, as: 'totalTokenCount'
600
636
  end
601
637
  end
@@ -681,6 +717,7 @@ module Google
681
717
  class GoogleCloudAiplatformV1beta1GroundingChunkWeb
682
718
  # @private
683
719
  class Representation < Google::Apis::Core::JsonRepresentation
720
+ property :domain, as: 'domain'
684
721
  property :title, as: 'title'
685
722
  property :uri, as: 'uri'
686
723
  end
@@ -739,6 +776,14 @@ module Google
739
776
  end
740
777
  end
741
778
 
779
+ class GoogleCloudAiplatformV1beta1ModalityTokenCount
780
+ # @private
781
+ class Representation < Google::Apis::Core::JsonRepresentation
782
+ property :modality, as: 'modality'
783
+ property :token_count, as: 'tokenCount'
784
+ end
785
+ end
786
+
742
787
  class GoogleCloudAiplatformV1beta1Part
743
788
  # @private
744
789
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -931,6 +976,8 @@ module Google
931
976
  class Representation < Google::Apis::Core::JsonRepresentation
932
977
  property :code_execution, as: 'codeExecution', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolCodeExecution, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolCodeExecution::Representation
933
978
 
979
+ property :enterprise_web_search, as: 'enterpriseWebSearch', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1EnterpriseWebSearch, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1EnterpriseWebSearch::Representation
980
+
934
981
  collection :function_declarations, as: 'functionDeclarations', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionDeclaration, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionDeclaration::Representation
935
982
 
936
983
  property :google_search, as: 'googleSearch', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolGoogleSearch, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolGoogleSearch::Representation
@@ -968,6 +1015,7 @@ module Google
968
1015
  # @private
969
1016
  class Representation < Google::Apis::Core::JsonRepresentation
970
1017
  property :datastore, as: 'datastore'
1018
+ property :engine, as: 'engine'
971
1019
  end
972
1020
  end
973
1021
 
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.13.0
4
+ version: 0.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2025-01-05 00:00:00.000000000 Z
10
+ date: 2025-03-16 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.13.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-firebaseml_v2beta/v0.15.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: []