google-apis-firebaseml_v2beta 0.20.0 → 0.21.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: 72d9930b3423b2dff3359efe503aa681c8f25aa7d7a516a39f62a7bafb5c20ae
4
- data.tar.gz: 5ea7e149aa0c55e1b0b23f8efcb3f1350af768eba49a450f83b826e2793d6c19
3
+ metadata.gz: bd33f37aa9224e61df41d4db6ce7243d5c45b04d409d4eed3e57c5506b13eda0
4
+ data.tar.gz: 8bd90c05b96f6247e648d4d63184c57fa737fb428b1839dd7f1df99124f23558
5
5
  SHA512:
6
- metadata.gz: 82175f9582356bef0ca7548a0ae5c60008e22419b69149ed1e2cdfba6147b0c58a66139fed07c8496427df3272beb7195d6049984461bb7afa0c31e43c8fffcc
7
- data.tar.gz: b30d98c2d85199b80f8262a992f2a7225b2b34125312acf38a79a5f7889a9a30613484e0659d0712cce6da8255401f50588f306c2b27edec96f1f61ae4f482d3
6
+ metadata.gz: e4c6ad132d56f1fa1a3810476e138f8b918abb2d74c4f2fcdd180c565a755072e9d97ef02e48e230ee44f19b27e1efe146b53d1d2228b0fd136da1e0fce4af28
7
+ data.tar.gz: 857cb044b43a086d4e5dc280f5c05fd2592efd568fc32a1ac6ce3f7357dfe57e507e0555039fc6ab18b071953c5a5e11b216cc2016601d15ca2e32472f55ae0b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-firebaseml_v2beta
2
2
 
3
+ ### v0.21.0 (2025-06-01)
4
+
5
+ * Regenerated from discovery document revision 20250525
6
+
3
7
  ### v0.20.0 (2025-05-25)
4
8
 
5
9
  * Regenerated from discovery document revision 20250521
@@ -1895,6 +1895,13 @@ module Google
1895
1895
  attr_accessor :thought
1896
1896
  alias_method :thought?, :thought
1897
1897
 
1898
+ # Optional. An opaque signature for the thought so it can be reused in
1899
+ # subsequent requests.
1900
+ # Corresponds to the JSON property `thoughtSignature`
1901
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
1902
+ # @return [String]
1903
+ attr_accessor :thought_signature
1904
+
1898
1905
  # Metadata describes the input video content.
1899
1906
  # Corresponds to the JSON property `videoMetadata`
1900
1907
  # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VideoMetadata]
@@ -1914,6 +1921,7 @@ module Google
1914
1921
  @inline_data = args[:inline_data] if args.key?(:inline_data)
1915
1922
  @text = args[:text] if args.key?(:text)
1916
1923
  @thought = args[:thought] if args.key?(:thought)
1924
+ @thought_signature = args[:thought_signature] if args.key?(:thought_signature)
1917
1925
  @video_metadata = args[:video_metadata] if args.key?(:video_metadata)
1918
1926
  end
1919
1927
  end
@@ -2613,6 +2621,11 @@ module Google
2613
2621
  # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolCodeExecution]
2614
2622
  attr_accessor :code_execution
2615
2623
 
2624
+ # Tool to support computer use.
2625
+ # Corresponds to the JSON property `computerUse`
2626
+ # @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolComputerUse]
2627
+ attr_accessor :computer_use
2628
+
2616
2629
  # Tool to search public web data, powered by Vertex AI Search and Sec4
2617
2630
  # compliance.
2618
2631
  # Corresponds to the JSON property `enterpriseWebSearch`
@@ -2652,6 +2665,7 @@ module Google
2652
2665
  # Update properties of this object
2653
2666
  def update!(**args)
2654
2667
  @code_execution = args[:code_execution] if args.key?(:code_execution)
2668
+ @computer_use = args[:computer_use] if args.key?(:computer_use)
2655
2669
  @enterprise_web_search = args[:enterprise_web_search] if args.key?(:enterprise_web_search)
2656
2670
  @function_declarations = args[:function_declarations] if args.key?(:function_declarations)
2657
2671
  @google_search = args[:google_search] if args.key?(:google_search)
@@ -2675,6 +2689,25 @@ module Google
2675
2689
  end
2676
2690
  end
2677
2691
 
2692
+ # Tool to support computer use.
2693
+ class GoogleCloudAiplatformV1beta1ToolComputerUse
2694
+ include Google::Apis::Core::Hashable
2695
+
2696
+ # Required. The environment being operated.
2697
+ # Corresponds to the JSON property `environment`
2698
+ # @return [String]
2699
+ attr_accessor :environment
2700
+
2701
+ def initialize(**args)
2702
+ update!(**args)
2703
+ end
2704
+
2705
+ # Update properties of this object
2706
+ def update!(**args)
2707
+ @environment = args[:environment] if args.key?(:environment)
2708
+ end
2709
+ end
2710
+
2678
2711
  # Tool config. This config is shared for all tools provided in the request.
2679
2712
  class GoogleCloudAiplatformV1beta1ToolConfig
2680
2713
  include Google::Apis::Core::Hashable
@@ -2823,6 +2856,16 @@ module Google
2823
2856
  # @return [Fixnum]
2824
2857
  attr_accessor :similarity_top_k
2825
2858
 
2859
+ # Optional. Currently only supported for Gemini Multimodal Live API. In Gemini
2860
+ # Multimodal Live API, if `store_context` bool is specified, Gemini will
2861
+ # leverage it to automatically memorize the interactions between the client and
2862
+ # Gemini, and retrieve context when needed to augment the response generation
2863
+ # for users' ongoing and future interactions.
2864
+ # Corresponds to the JSON property `storeContext`
2865
+ # @return [Boolean]
2866
+ attr_accessor :store_context
2867
+ alias_method :store_context?, :store_context
2868
+
2826
2869
  # Optional. Only return results with vector distance smaller than the threshold.
2827
2870
  # Corresponds to the JSON property `vectorDistanceThreshold`
2828
2871
  # @return [Float]
@@ -2838,6 +2881,7 @@ module Google
2838
2881
  @rag_resources = args[:rag_resources] if args.key?(:rag_resources)
2839
2882
  @rag_retrieval_config = args[:rag_retrieval_config] if args.key?(:rag_retrieval_config)
2840
2883
  @similarity_top_k = args[:similarity_top_k] if args.key?(:similarity_top_k)
2884
+ @store_context = args[:store_context] if args.key?(:store_context)
2841
2885
  @vector_distance_threshold = args[:vector_distance_threshold] if args.key?(:vector_distance_threshold)
2842
2886
  end
2843
2887
  end
@@ -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.20.0"
19
+ GEM_VERSION = "0.21.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 = "20250521"
25
+ REVISION = "20250525"
26
26
  end
27
27
  end
28
28
  end
@@ -436,6 +436,12 @@ module Google
436
436
  include Google::Apis::Core::JsonObjectSupport
437
437
  end
438
438
 
439
+ class GoogleCloudAiplatformV1beta1ToolComputerUse
440
+ class Representation < Google::Apis::Core::JsonRepresentation; end
441
+
442
+ include Google::Apis::Core::JsonObjectSupport
443
+ end
444
+
439
445
  class GoogleCloudAiplatformV1beta1ToolConfig
440
446
  class Representation < Google::Apis::Core::JsonRepresentation; end
441
447
 
@@ -1027,6 +1033,7 @@ module Google
1027
1033
 
1028
1034
  property :text, as: 'text'
1029
1035
  property :thought, as: 'thought'
1036
+ property :thought_signature, :base64 => true, as: 'thoughtSignature'
1030
1037
  property :video_metadata, as: 'videoMetadata', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VideoMetadata, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VideoMetadata::Representation
1031
1038
 
1032
1039
  end
@@ -1226,6 +1233,8 @@ module Google
1226
1233
  class Representation < Google::Apis::Core::JsonRepresentation
1227
1234
  property :code_execution, as: 'codeExecution', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolCodeExecution, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolCodeExecution::Representation
1228
1235
 
1236
+ property :computer_use, as: 'computerUse', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolComputerUse, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolComputerUse::Representation
1237
+
1229
1238
  property :enterprise_web_search, as: 'enterpriseWebSearch', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1EnterpriseWebSearch, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1EnterpriseWebSearch::Representation
1230
1239
 
1231
1240
  collection :function_declarations, as: 'functionDeclarations', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionDeclaration, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionDeclaration::Representation
@@ -1245,6 +1254,13 @@ module Google
1245
1254
  end
1246
1255
  end
1247
1256
 
1257
+ class GoogleCloudAiplatformV1beta1ToolComputerUse
1258
+ # @private
1259
+ class Representation < Google::Apis::Core::JsonRepresentation
1260
+ property :environment, as: 'environment'
1261
+ end
1262
+ end
1263
+
1248
1264
  class GoogleCloudAiplatformV1beta1ToolConfig
1249
1265
  # @private
1250
1266
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1290,6 +1306,7 @@ module Google
1290
1306
  property :rag_retrieval_config, as: 'ragRetrievalConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RagRetrievalConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RagRetrievalConfig::Representation
1291
1307
 
1292
1308
  property :similarity_top_k, as: 'similarityTopK'
1309
+ property :store_context, as: 'storeContext'
1293
1310
  property :vector_distance_threshold, as: 'vectorDistanceThreshold'
1294
1311
  end
1295
1312
  end
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.20.0
4
+ version: 0.21.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.20.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-firebaseml_v2beta/v0.21.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: