google-apis-firebaseml_v2beta 0.21.0 → 0.23.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: 8aa476c8d8e71ea4321d8210ae0d9ff76b53bb8249c99e8e71f6d7070e8f1f18
|
4
|
+
data.tar.gz: bcfc7f6e3fe8c35e80f738c6bf4b50bfafd79f1dee4c2e925f6413b0e8635948
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 270b94d680d41942e636e937cb6cc6e2056fb19c007ab373b914a68adbaad7fe2fddcfe3a1eccf722d10f72980f3e99470f3e63e3c85622ae3359172230563ed
|
7
|
+
data.tar.gz: 7d21837280d97ef7fccfebcbfe1f0b10c4a22755604231eccc84aad3d2dc95b4021a24904f1bc45559df06c95e34bc72dcee428909b5388041043d6f8a84eced
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-firebaseml_v2beta
|
2
2
|
|
3
|
+
### v0.23.0 (2025-06-15)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250610
|
6
|
+
|
7
|
+
### v0.22.0 (2025-06-08)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250604
|
10
|
+
|
3
11
|
### v0.21.0 (2025-06-01)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250525
|
@@ -326,7 +326,8 @@ module Google
|
|
326
326
|
|
327
327
|
# Optional. Display name of the blob. Used to provide a label or filename to
|
328
328
|
# distinguish blobs. This field is only returned in PromptMessage for prompt
|
329
|
-
# management. It is
|
329
|
+
# management. It is currently used in the Gemini GenerateContent calls only when
|
330
|
+
# server side tools (code_execution, google_search, and url_context) are enabled.
|
330
331
|
# Corresponds to the JSON property `displayName`
|
331
332
|
# @return [String]
|
332
333
|
attr_accessor :display_name
|
@@ -403,6 +404,11 @@ module Google
|
|
403
404
|
# @return [Array<Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SafetyRating>]
|
404
405
|
attr_accessor :safety_ratings
|
405
406
|
|
407
|
+
# Metadata related to url context retrieval tool.
|
408
|
+
# Corresponds to the JSON property `urlContextMetadata`
|
409
|
+
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1UrlContextMetadata]
|
410
|
+
attr_accessor :url_context_metadata
|
411
|
+
|
406
412
|
def initialize(**args)
|
407
413
|
update!(**args)
|
408
414
|
end
|
@@ -418,6 +424,7 @@ module Google
|
|
418
424
|
@index = args[:index] if args.key?(:index)
|
419
425
|
@logprobs_result = args[:logprobs_result] if args.key?(:logprobs_result)
|
420
426
|
@safety_ratings = args[:safety_ratings] if args.key?(:safety_ratings)
|
427
|
+
@url_context_metadata = args[:url_context_metadata] if args.key?(:url_context_metadata)
|
421
428
|
end
|
422
429
|
end
|
423
430
|
|
@@ -816,8 +823,9 @@ module Google
|
|
816
823
|
|
817
824
|
# Optional. Display name of the file data. Used to provide a label or filename
|
818
825
|
# to distinguish file datas. This field is only returned in PromptMessage for
|
819
|
-
# prompt management. It is
|
820
|
-
#
|
826
|
+
# prompt management. It is currently used in the Gemini GenerateContent calls
|
827
|
+
# only when server side tools (code_execution, google_search, and url_context)
|
828
|
+
# are enabled.
|
821
829
|
# Corresponds to the JSON property `displayName`
|
822
830
|
# @return [String]
|
823
831
|
attr_accessor :display_name
|
@@ -1705,7 +1713,9 @@ module Google
|
|
1705
1713
|
include Google::Apis::Core::Hashable
|
1706
1714
|
|
1707
1715
|
# Confidence score of the support references. Ranges from 0 to 1. 1 is the most
|
1708
|
-
# confident.
|
1716
|
+
# confident. For Gemini 2.0 and before, this list must have the same size as the
|
1717
|
+
# grounding_chunk_indices. For Gemini 2.5 and after, this list will be empty and
|
1718
|
+
# should be ignored.
|
1709
1719
|
# Corresponds to the JSON property `confidenceScores`
|
1710
1720
|
# @return [Array<Float>]
|
1711
1721
|
attr_accessor :confidence_scores
|
@@ -1889,7 +1899,7 @@ module Google
|
|
1889
1899
|
# @return [String]
|
1890
1900
|
attr_accessor :text
|
1891
1901
|
|
1892
|
-
#
|
1902
|
+
# Optional. Indicates if the part is thought from the model.
|
1893
1903
|
# Corresponds to the JSON property `thought`
|
1894
1904
|
# @return [Boolean]
|
1895
1905
|
attr_accessor :thought
|
@@ -2262,6 +2272,13 @@ module Google
|
|
2262
2272
|
# @return [String]
|
2263
2273
|
attr_accessor :category
|
2264
2274
|
|
2275
|
+
# Output only. The overwritten threshold for the safety category of Gemini 2.0
|
2276
|
+
# image out. If minors are detected in the output image, the threshold of each
|
2277
|
+
# safety category will be overwritten if user sets a lower threshold.
|
2278
|
+
# Corresponds to the JSON property `overwrittenThreshold`
|
2279
|
+
# @return [String]
|
2280
|
+
attr_accessor :overwritten_threshold
|
2281
|
+
|
2265
2282
|
# Output only. Harm probability levels in the content.
|
2266
2283
|
# Corresponds to the JSON property `probability`
|
2267
2284
|
# @return [String]
|
@@ -2290,6 +2307,7 @@ module Google
|
|
2290
2307
|
def update!(**args)
|
2291
2308
|
@blocked = args[:blocked] if args.key?(:blocked)
|
2292
2309
|
@category = args[:category] if args.key?(:category)
|
2310
|
+
@overwritten_threshold = args[:overwritten_threshold] if args.key?(:overwritten_threshold)
|
2293
2311
|
@probability = args[:probability] if args.key?(:probability)
|
2294
2312
|
@probability_score = args[:probability_score] if args.key?(:probability_score)
|
2295
2313
|
@severity = args[:severity] if args.key?(:severity)
|
@@ -2658,6 +2676,11 @@ module Google
|
|
2658
2676
|
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Retrieval]
|
2659
2677
|
attr_accessor :retrieval
|
2660
2678
|
|
2679
|
+
# Tool to support URL context.
|
2680
|
+
# Corresponds to the JSON property `urlContext`
|
2681
|
+
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1UrlContext]
|
2682
|
+
attr_accessor :url_context
|
2683
|
+
|
2661
2684
|
def initialize(**args)
|
2662
2685
|
update!(**args)
|
2663
2686
|
end
|
@@ -2671,6 +2694,7 @@ module Google
|
|
2671
2694
|
@google_search = args[:google_search] if args.key?(:google_search)
|
2672
2695
|
@google_search_retrieval = args[:google_search_retrieval] if args.key?(:google_search_retrieval)
|
2673
2696
|
@retrieval = args[:retrieval] if args.key?(:retrieval)
|
2697
|
+
@url_context = args[:url_context] if args.key?(:url_context)
|
2674
2698
|
end
|
2675
2699
|
end
|
2676
2700
|
|
@@ -2747,6 +2771,63 @@ module Google
|
|
2747
2771
|
end
|
2748
2772
|
end
|
2749
2773
|
|
2774
|
+
# Tool to support URL context.
|
2775
|
+
class GoogleCloudAiplatformV1beta1UrlContext
|
2776
|
+
include Google::Apis::Core::Hashable
|
2777
|
+
|
2778
|
+
def initialize(**args)
|
2779
|
+
update!(**args)
|
2780
|
+
end
|
2781
|
+
|
2782
|
+
# Update properties of this object
|
2783
|
+
def update!(**args)
|
2784
|
+
end
|
2785
|
+
end
|
2786
|
+
|
2787
|
+
# Metadata related to url context retrieval tool.
|
2788
|
+
class GoogleCloudAiplatformV1beta1UrlContextMetadata
|
2789
|
+
include Google::Apis::Core::Hashable
|
2790
|
+
|
2791
|
+
# Output only. List of url context.
|
2792
|
+
# Corresponds to the JSON property `urlMetadata`
|
2793
|
+
# @return [Array<Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1UrlMetadata>]
|
2794
|
+
attr_accessor :url_metadata
|
2795
|
+
|
2796
|
+
def initialize(**args)
|
2797
|
+
update!(**args)
|
2798
|
+
end
|
2799
|
+
|
2800
|
+
# Update properties of this object
|
2801
|
+
def update!(**args)
|
2802
|
+
@url_metadata = args[:url_metadata] if args.key?(:url_metadata)
|
2803
|
+
end
|
2804
|
+
end
|
2805
|
+
|
2806
|
+
# Context of the a single url retrieval.
|
2807
|
+
class GoogleCloudAiplatformV1beta1UrlMetadata
|
2808
|
+
include Google::Apis::Core::Hashable
|
2809
|
+
|
2810
|
+
# Retrieved url by the tool.
|
2811
|
+
# Corresponds to the JSON property `retrievedUrl`
|
2812
|
+
# @return [String]
|
2813
|
+
attr_accessor :retrieved_url
|
2814
|
+
|
2815
|
+
# Status of the url retrieval.
|
2816
|
+
# Corresponds to the JSON property `urlRetrievalStatus`
|
2817
|
+
# @return [String]
|
2818
|
+
attr_accessor :url_retrieval_status
|
2819
|
+
|
2820
|
+
def initialize(**args)
|
2821
|
+
update!(**args)
|
2822
|
+
end
|
2823
|
+
|
2824
|
+
# Update properties of this object
|
2825
|
+
def update!(**args)
|
2826
|
+
@retrieved_url = args[:retrieved_url] if args.key?(:retrieved_url)
|
2827
|
+
@url_retrieval_status = args[:url_retrieval_status] if args.key?(:url_retrieval_status)
|
2828
|
+
end
|
2829
|
+
end
|
2830
|
+
|
2750
2831
|
# Retrieve from Vertex AI Search datastore or engine for grounding. datastore
|
2751
2832
|
# and engine are mutually exclusive. See https://cloud.google.com/products/agent-
|
2752
2833
|
# builder
|
@@ -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.23.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 = "
|
25
|
+
REVISION = "20250610"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -454,6 +454,24 @@ module Google
|
|
454
454
|
include Google::Apis::Core::JsonObjectSupport
|
455
455
|
end
|
456
456
|
|
457
|
+
class GoogleCloudAiplatformV1beta1UrlContext
|
458
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
459
|
+
|
460
|
+
include Google::Apis::Core::JsonObjectSupport
|
461
|
+
end
|
462
|
+
|
463
|
+
class GoogleCloudAiplatformV1beta1UrlContextMetadata
|
464
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
465
|
+
|
466
|
+
include Google::Apis::Core::JsonObjectSupport
|
467
|
+
end
|
468
|
+
|
469
|
+
class GoogleCloudAiplatformV1beta1UrlMetadata
|
470
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
471
|
+
|
472
|
+
include Google::Apis::Core::JsonObjectSupport
|
473
|
+
end
|
474
|
+
|
457
475
|
class GoogleCloudAiplatformV1beta1VertexAiSearch
|
458
476
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
459
477
|
|
@@ -610,6 +628,8 @@ module Google
|
|
610
628
|
|
611
629
|
collection :safety_ratings, as: 'safetyRatings', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SafetyRating, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SafetyRating::Representation
|
612
630
|
|
631
|
+
property :url_context_metadata, as: 'urlContextMetadata', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1UrlContextMetadata, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1UrlContextMetadata::Representation
|
632
|
+
|
613
633
|
end
|
614
634
|
end
|
615
635
|
|
@@ -1150,6 +1170,7 @@ module Google
|
|
1150
1170
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1151
1171
|
property :blocked, as: 'blocked'
|
1152
1172
|
property :category, as: 'category'
|
1173
|
+
property :overwritten_threshold, as: 'overwrittenThreshold'
|
1153
1174
|
property :probability, as: 'probability'
|
1154
1175
|
property :probability_score, as: 'probabilityScore'
|
1155
1176
|
property :severity, as: 'severity'
|
@@ -1245,6 +1266,8 @@ module Google
|
|
1245
1266
|
|
1246
1267
|
property :retrieval, as: 'retrieval', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Retrieval, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Retrieval::Representation
|
1247
1268
|
|
1269
|
+
property :url_context, as: 'urlContext', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1UrlContext, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1UrlContext::Representation
|
1270
|
+
|
1248
1271
|
end
|
1249
1272
|
end
|
1250
1273
|
|
@@ -1277,6 +1300,28 @@ module Google
|
|
1277
1300
|
end
|
1278
1301
|
end
|
1279
1302
|
|
1303
|
+
class GoogleCloudAiplatformV1beta1UrlContext
|
1304
|
+
# @private
|
1305
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1306
|
+
end
|
1307
|
+
end
|
1308
|
+
|
1309
|
+
class GoogleCloudAiplatformV1beta1UrlContextMetadata
|
1310
|
+
# @private
|
1311
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1312
|
+
collection :url_metadata, as: 'urlMetadata', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1UrlMetadata, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1UrlMetadata::Representation
|
1313
|
+
|
1314
|
+
end
|
1315
|
+
end
|
1316
|
+
|
1317
|
+
class GoogleCloudAiplatformV1beta1UrlMetadata
|
1318
|
+
# @private
|
1319
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1320
|
+
property :retrieved_url, as: 'retrievedUrl'
|
1321
|
+
property :url_retrieval_status, as: 'urlRetrievalStatus'
|
1322
|
+
end
|
1323
|
+
end
|
1324
|
+
|
1280
1325
|
class GoogleCloudAiplatformV1beta1VertexAiSearch
|
1281
1326
|
# @private
|
1282
1327
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-firebaseml_v2beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.23.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.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-firebaseml_v2beta/v0.23.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:
|