google-apis-firebaseml_v2beta 0.21.0 → 0.22.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: bd33f37aa9224e61df41d4db6ce7243d5c45b04d409d4eed3e57c5506b13eda0
4
- data.tar.gz: 8bd90c05b96f6247e648d4d63184c57fa737fb428b1839dd7f1df99124f23558
3
+ metadata.gz: e9f8775c0c4df2ea30a49a121f90df8baf986ec69e1b712527aa1469866a2737
4
+ data.tar.gz: 85e6ae4d06277a60602d2eac530e60c2b6daaa07fc7c3a1fbe269db65d219f63
5
5
  SHA512:
6
- metadata.gz: e4c6ad132d56f1fa1a3810476e138f8b918abb2d74c4f2fcdd180c565a755072e9d97ef02e48e230ee44f19b27e1efe146b53d1d2228b0fd136da1e0fce4af28
7
- data.tar.gz: 857cb044b43a086d4e5dc280f5c05fd2592efd568fc32a1ac6ce3f7357dfe57e507e0555039fc6ab18b071953c5a5e11b216cc2016601d15ca2e32472f55ae0b
6
+ metadata.gz: '083c1276d38586be037e147be84857731cc1e297160fe83b3ca52df841f4caa2d0e143053ffe5cd6a87ae24f5ba4439e8d2822d6eb46b4537fb007713ddfce91'
7
+ data.tar.gz: 3e09abba49e49f458c74dc039c0a4dadf4888da33fbc1a8948d3d23be53d1709c9d70dfe1de66bdce057204495caa1b94b628fb62e26be62e07b322167cab912
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-firebaseml_v2beta
2
2
 
3
+ ### v0.22.0 (2025-06-08)
4
+
5
+ * Regenerated from discovery document revision 20250604
6
+
3
7
  ### v0.21.0 (2025-06-01)
4
8
 
5
9
  * Regenerated from discovery document revision 20250525
@@ -403,6 +403,11 @@ module Google
403
403
  # @return [Array<Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SafetyRating>]
404
404
  attr_accessor :safety_ratings
405
405
 
406
+ # Metadata related to url context retrieval tool.
407
+ # Corresponds to the JSON property `urlContextMetadata`
408
+ # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1UrlContextMetadata]
409
+ attr_accessor :url_context_metadata
410
+
406
411
  def initialize(**args)
407
412
  update!(**args)
408
413
  end
@@ -418,6 +423,7 @@ module Google
418
423
  @index = args[:index] if args.key?(:index)
419
424
  @logprobs_result = args[:logprobs_result] if args.key?(:logprobs_result)
420
425
  @safety_ratings = args[:safety_ratings] if args.key?(:safety_ratings)
426
+ @url_context_metadata = args[:url_context_metadata] if args.key?(:url_context_metadata)
421
427
  end
422
428
  end
423
429
 
@@ -1705,7 +1711,9 @@ module Google
1705
1711
  include Google::Apis::Core::Hashable
1706
1712
 
1707
1713
  # Confidence score of the support references. Ranges from 0 to 1. 1 is the most
1708
- # confident. This list must have the same size as the grounding_chunk_indices.
1714
+ # confident. For Gemini 2.0 and before, this list must have the same size as the
1715
+ # grounding_chunk_indices. For Gemini 2.5 and after, this list will be empty and
1716
+ # should be ignored.
1709
1717
  # Corresponds to the JSON property `confidenceScores`
1710
1718
  # @return [Array<Float>]
1711
1719
  attr_accessor :confidence_scores
@@ -1889,7 +1897,7 @@ module Google
1889
1897
  # @return [String]
1890
1898
  attr_accessor :text
1891
1899
 
1892
- # Output only. Indicates if the part is thought from the model.
1900
+ # Optional. Indicates if the part is thought from the model.
1893
1901
  # Corresponds to the JSON property `thought`
1894
1902
  # @return [Boolean]
1895
1903
  attr_accessor :thought
@@ -2658,6 +2666,11 @@ module Google
2658
2666
  # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Retrieval]
2659
2667
  attr_accessor :retrieval
2660
2668
 
2669
+ # Tool to support URL context.
2670
+ # Corresponds to the JSON property `urlContext`
2671
+ # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1UrlContext]
2672
+ attr_accessor :url_context
2673
+
2661
2674
  def initialize(**args)
2662
2675
  update!(**args)
2663
2676
  end
@@ -2671,6 +2684,7 @@ module Google
2671
2684
  @google_search = args[:google_search] if args.key?(:google_search)
2672
2685
  @google_search_retrieval = args[:google_search_retrieval] if args.key?(:google_search_retrieval)
2673
2686
  @retrieval = args[:retrieval] if args.key?(:retrieval)
2687
+ @url_context = args[:url_context] if args.key?(:url_context)
2674
2688
  end
2675
2689
  end
2676
2690
 
@@ -2747,6 +2761,63 @@ module Google
2747
2761
  end
2748
2762
  end
2749
2763
 
2764
+ # Tool to support URL context.
2765
+ class GoogleCloudAiplatformV1beta1UrlContext
2766
+ include Google::Apis::Core::Hashable
2767
+
2768
+ def initialize(**args)
2769
+ update!(**args)
2770
+ end
2771
+
2772
+ # Update properties of this object
2773
+ def update!(**args)
2774
+ end
2775
+ end
2776
+
2777
+ # Metadata related to url context retrieval tool.
2778
+ class GoogleCloudAiplatformV1beta1UrlContextMetadata
2779
+ include Google::Apis::Core::Hashable
2780
+
2781
+ # Output only. List of url context.
2782
+ # Corresponds to the JSON property `urlMetadata`
2783
+ # @return [Array<Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1UrlMetadata>]
2784
+ attr_accessor :url_metadata
2785
+
2786
+ def initialize(**args)
2787
+ update!(**args)
2788
+ end
2789
+
2790
+ # Update properties of this object
2791
+ def update!(**args)
2792
+ @url_metadata = args[:url_metadata] if args.key?(:url_metadata)
2793
+ end
2794
+ end
2795
+
2796
+ # Context of the a single url retrieval.
2797
+ class GoogleCloudAiplatformV1beta1UrlMetadata
2798
+ include Google::Apis::Core::Hashable
2799
+
2800
+ # Retrieved url by the tool.
2801
+ # Corresponds to the JSON property `retrievedUrl`
2802
+ # @return [String]
2803
+ attr_accessor :retrieved_url
2804
+
2805
+ # Status of the url retrieval.
2806
+ # Corresponds to the JSON property `urlRetrievalStatus`
2807
+ # @return [String]
2808
+ attr_accessor :url_retrieval_status
2809
+
2810
+ def initialize(**args)
2811
+ update!(**args)
2812
+ end
2813
+
2814
+ # Update properties of this object
2815
+ def update!(**args)
2816
+ @retrieved_url = args[:retrieved_url] if args.key?(:retrieved_url)
2817
+ @url_retrieval_status = args[:url_retrieval_status] if args.key?(:url_retrieval_status)
2818
+ end
2819
+ end
2820
+
2750
2821
  # Retrieve from Vertex AI Search datastore or engine for grounding. datastore
2751
2822
  # and engine are mutually exclusive. See https://cloud.google.com/products/agent-
2752
2823
  # 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.21.0"
19
+ GEM_VERSION = "0.22.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 = "20250525"
25
+ REVISION = "20250604"
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
 
@@ -1245,6 +1265,8 @@ module Google
1245
1265
 
1246
1266
  property :retrieval, as: 'retrieval', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Retrieval, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Retrieval::Representation
1247
1267
 
1268
+ property :url_context, as: 'urlContext', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1UrlContext, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1UrlContext::Representation
1269
+
1248
1270
  end
1249
1271
  end
1250
1272
 
@@ -1277,6 +1299,28 @@ module Google
1277
1299
  end
1278
1300
  end
1279
1301
 
1302
+ class GoogleCloudAiplatformV1beta1UrlContext
1303
+ # @private
1304
+ class Representation < Google::Apis::Core::JsonRepresentation
1305
+ end
1306
+ end
1307
+
1308
+ class GoogleCloudAiplatformV1beta1UrlContextMetadata
1309
+ # @private
1310
+ class Representation < Google::Apis::Core::JsonRepresentation
1311
+ collection :url_metadata, as: 'urlMetadata', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1UrlMetadata, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1UrlMetadata::Representation
1312
+
1313
+ end
1314
+ end
1315
+
1316
+ class GoogleCloudAiplatformV1beta1UrlMetadata
1317
+ # @private
1318
+ class Representation < Google::Apis::Core::JsonRepresentation
1319
+ property :retrieved_url, as: 'retrievedUrl'
1320
+ property :url_retrieval_status, as: 'urlRetrievalStatus'
1321
+ end
1322
+ end
1323
+
1280
1324
  class GoogleCloudAiplatformV1beta1VertexAiSearch
1281
1325
  # @private
1282
1326
  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.21.0
4
+ version: 0.22.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.21.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-firebaseml_v2beta/v0.22.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: