google-apis-firebaseml_v2beta 0.13.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a29eb0cf3b23df42fdef73d4a32dfd2604484c4ee07e657200209f24c445d8d9
|
4
|
+
data.tar.gz: 3269721cf5a63612e6eda8ea0d2cea0bfaffc9db6413ee4c5fb5819ffd19c055
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75dcdcb6bb67e7ef65c61133d04f81839f655dabbf1aa3185e9d3c5ed9a85aa78329eba5f2d4b2ca9e8638858d54621aca7256883510131d78324d097b7a8e93
|
7
|
+
data.tar.gz: 2046a7eca41e8138b35bbdfaa982a5897e49b56f6d32119db191f567a054316bea4244d3510e3e0fc4ed1d8d14ea78b89ea954e6ffa02841e0cb59119c47d176
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
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
|
+
|
3
8
|
### v0.13.0 (2025-01-05)
|
4
9
|
|
5
10
|
* 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
|
@@ -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
|
-
#
|
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
|
@@ -1498,8 +1605,9 @@ module Google
|
|
1498
1605
|
attr_accessor :disable_attribution
|
1499
1606
|
alias_method :disable_attribution?, :disable_attribution
|
1500
1607
|
|
1501
|
-
# Retrieve from Vertex AI Search datastore for grounding.
|
1502
|
-
# google.com/products/agent-
|
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
|
1503
1611
|
# Corresponds to the JSON property `vertexAiSearch`
|
1504
1612
|
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VertexAiSearch]
|
1505
1613
|
attr_accessor :vertex_ai_search
|
@@ -1915,6 +2023,12 @@ module Google
|
|
1915
2023
|
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolCodeExecution]
|
1916
2024
|
attr_accessor :code_execution
|
1917
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
|
+
|
1918
2032
|
# Optional. Function tool type. One or more function declarations to be passed
|
1919
2033
|
# to the model along with the current user query. Model may decide to call a
|
1920
2034
|
# subset of these functions by populating FunctionCall in the response. User
|
@@ -1948,6 +2062,7 @@ module Google
|
|
1948
2062
|
# Update properties of this object
|
1949
2063
|
def update!(**args)
|
1950
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)
|
1951
2066
|
@function_declarations = args[:function_declarations] if args.key?(:function_declarations)
|
1952
2067
|
@google_search = args[:google_search] if args.key?(:google_search)
|
1953
2068
|
@google_search_retrieval = args[:google_search_retrieval] if args.key?(:google_search_retrieval)
|
@@ -2009,12 +2124,13 @@ module Google
|
|
2009
2124
|
end
|
2010
2125
|
end
|
2011
2126
|
|
2012
|
-
# Retrieve from Vertex AI Search datastore for grounding.
|
2013
|
-
# google.com/products/agent-
|
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
|
2014
2130
|
class GoogleCloudAiplatformV1beta1VertexAiSearch
|
2015
2131
|
include Google::Apis::Core::Hashable
|
2016
2132
|
|
2017
|
-
#
|
2133
|
+
# Optional. Fully-qualified Vertex AI Search data store resource ID. Format: `
|
2018
2134
|
# projects/`project`/locations/`location`/collections/`collection`/dataStores/`
|
2019
2135
|
# dataStore``
|
2020
2136
|
# Corresponds to the JSON property `datastore`
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.14.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
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
|
|
@@ -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
|
@@ -572,9 +594,11 @@ module Google
|
|
572
594
|
class Representation < Google::Apis::Core::JsonRepresentation
|
573
595
|
collection :candidates, as: 'candidates', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Candidate, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Candidate::Representation
|
574
596
|
|
597
|
+
property :create_time, as: 'createTime'
|
575
598
|
property :model_version, as: 'modelVersion'
|
576
599
|
property :prompt_feedback, as: 'promptFeedback', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerateContentResponsePromptFeedback, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerateContentResponsePromptFeedback::Representation
|
577
600
|
|
601
|
+
property :response_id, as: 'responseId'
|
578
602
|
property :usage_metadata, as: 'usageMetadata', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata::Representation
|
579
603
|
|
580
604
|
end
|
@@ -593,9 +617,18 @@ module Google
|
|
593
617
|
class GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata
|
594
618
|
# @private
|
595
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
|
+
|
596
622
|
property :cached_content_token_count, as: 'cachedContentTokenCount'
|
597
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
|
+
|
598
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
|
+
|
599
632
|
property :total_token_count, as: 'totalTokenCount'
|
600
633
|
end
|
601
634
|
end
|
@@ -739,6 +772,14 @@ module Google
|
|
739
772
|
end
|
740
773
|
end
|
741
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
|
+
|
742
783
|
class GoogleCloudAiplatformV1beta1Part
|
743
784
|
# @private
|
744
785
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -931,6 +972,8 @@ module Google
|
|
931
972
|
class Representation < Google::Apis::Core::JsonRepresentation
|
932
973
|
property :code_execution, as: 'codeExecution', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolCodeExecution, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolCodeExecution::Representation
|
933
974
|
|
975
|
+
property :enterprise_web_search, as: 'enterpriseWebSearch', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1EnterpriseWebSearch, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1EnterpriseWebSearch::Representation
|
976
|
+
|
934
977
|
collection :function_declarations, as: 'functionDeclarations', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionDeclaration, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionDeclaration::Representation
|
935
978
|
|
936
979
|
property :google_search, as: 'googleSearch', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolGoogleSearch, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolGoogleSearch::Representation
|
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.
|
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: 2025-
|
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.
|
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
|
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: []
|