Skip to content

Commit a998dfc

Browse files
feat: Automated regeneration of firebaseml v2beta client (googleapis#23295)
Auto-created at 2025-06-01 10:20:48 +0000 using the toys pull request generator.
1 parent 5ed0147 commit a998dfc

File tree

5 files changed

+72
-2
lines changed

5 files changed

+72
-2
lines changed

api_names_out.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240346,6 +240346,7 @@
240346240346
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1Part/inlineData": inline_data
240347240347
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1Part/text": text
240348240348
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1Part/thought": thought
240349+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1Part/thoughtSignature": thought_signature
240349240350
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1Part/videoMetadata": video_metadata
240350240351
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig": google_cloud_aiplatform_v1beta1_prebuilt_voice_config
240351240352
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig/voiceName": voice_name
@@ -240439,13 +240440,16 @@
240439240440
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1SpeechConfig/voiceConfig": voice_config
240440240441
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1Tool": google_cloud_aiplatform_v1beta1_tool
240441240442
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1Tool/codeExecution": code_execution
240443+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1Tool/computerUse": computer_use
240442240444
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1Tool/enterpriseWebSearch": enterprise_web_search
240443240445
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1Tool/functionDeclarations": function_declarations
240444240446
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1Tool/functionDeclarations/function_declaration": function_declaration
240445240447
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1Tool/googleSearch": google_search
240446240448
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1Tool/googleSearchRetrieval": google_search_retrieval
240447240449
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1Tool/retrieval": retrieval
240448240450
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ToolCodeExecution": google_cloud_aiplatform_v1beta1_tool_code_execution
240451+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ToolComputerUse": google_cloud_aiplatform_v1beta1_tool_computer_use
240452+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ToolComputerUse/environment": environment
240449240453
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ToolConfig": google_cloud_aiplatform_v1beta1_tool_config
240450240454
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ToolConfig/functionCallingConfig": function_calling_config
240451240455
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ToolConfig/retrievalConfig": retrieval_config
@@ -240467,6 +240471,7 @@
240467240471
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1VertexRagStore/ragResources/rag_resource": rag_resource
240468240472
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1VertexRagStore/ragRetrievalConfig": rag_retrieval_config
240469240473
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1VertexRagStore/similarityTopK": similarity_top_k
240474+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1VertexRagStore/storeContext": store_context
240470240475
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1VertexRagStore/vectorDistanceThreshold": vector_distance_threshold
240471240476
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1VertexRagStoreRagResource": google_cloud_aiplatform_v1beta1_vertex_rag_store_rag_resource
240472240477
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1VertexRagStoreRagResource/ragCorpus": rag_corpus

generated/google-apis-firebaseml_v2beta/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-firebaseml_v2beta
22

3+
### v0.21.0 (2025-06-01)
4+
5+
* Regenerated from discovery document revision 20250525
6+
37
### v0.20.0 (2025-05-25)
48

59
* Regenerated from discovery document revision 20250521

generated/google-apis-firebaseml_v2beta/lib/google/apis/firebaseml_v2beta/classes.rb

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1895,6 +1895,13 @@ class GoogleCloudAiplatformV1beta1Part
18951895
attr_accessor :thought
18961896
alias_method :thought?, :thought
18971897

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+
18981905
# Metadata describes the input video content.
18991906
# Corresponds to the JSON property `videoMetadata`
19001907
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VideoMetadata]
@@ -1914,6 +1921,7 @@ def update!(**args)
19141921
@inline_data = args[:inline_data] if args.key?(:inline_data)
19151922
@text = args[:text] if args.key?(:text)
19161923
@thought = args[:thought] if args.key?(:thought)
1924+
@thought_signature = args[:thought_signature] if args.key?(:thought_signature)
19171925
@video_metadata = args[:video_metadata] if args.key?(:video_metadata)
19181926
end
19191927
end
@@ -2613,6 +2621,11 @@ class GoogleCloudAiplatformV1beta1Tool
26132621
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolCodeExecution]
26142622
attr_accessor :code_execution
26152623

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+
26162629
# Tool to search public web data, powered by Vertex AI Search and Sec4
26172630
# compliance.
26182631
# Corresponds to the JSON property `enterpriseWebSearch`
@@ -2652,6 +2665,7 @@ def initialize(**args)
26522665
# Update properties of this object
26532666
def update!(**args)
26542667
@code_execution = args[:code_execution] if args.key?(:code_execution)
2668+
@computer_use = args[:computer_use] if args.key?(:computer_use)
26552669
@enterprise_web_search = args[:enterprise_web_search] if args.key?(:enterprise_web_search)
26562670
@function_declarations = args[:function_declarations] if args.key?(:function_declarations)
26572671
@google_search = args[:google_search] if args.key?(:google_search)
@@ -2675,6 +2689,25 @@ def update!(**args)
26752689
end
26762690
end
26772691

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+
26782711
# Tool config. This config is shared for all tools provided in the request.
26792712
class GoogleCloudAiplatformV1beta1ToolConfig
26802713
include Google::Apis::Core::Hashable
@@ -2823,6 +2856,16 @@ class GoogleCloudAiplatformV1beta1VertexRagStore
28232856
# @return [Fixnum]
28242857
attr_accessor :similarity_top_k
28252858

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+
28262869
# Optional. Only return results with vector distance smaller than the threshold.
28272870
# Corresponds to the JSON property `vectorDistanceThreshold`
28282871
# @return [Float]
@@ -2838,6 +2881,7 @@ def update!(**args)
28382881
@rag_resources = args[:rag_resources] if args.key?(:rag_resources)
28392882
@rag_retrieval_config = args[:rag_retrieval_config] if args.key?(:rag_retrieval_config)
28402883
@similarity_top_k = args[:similarity_top_k] if args.key?(:similarity_top_k)
2884+
@store_context = args[:store_context] if args.key?(:store_context)
28412885
@vector_distance_threshold = args[:vector_distance_threshold] if args.key?(:vector_distance_threshold)
28422886
end
28432887
end

generated/google-apis-firebaseml_v2beta/lib/google/apis/firebaseml_v2beta/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module FirebasemlV2beta
1818
# Version of the google-apis-firebaseml_v2beta gem
19-
GEM_VERSION = "0.20.0"
19+
GEM_VERSION = "0.21.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250521"
25+
REVISION = "20250525"
2626
end
2727
end
2828
end

generated/google-apis-firebaseml_v2beta/lib/google/apis/firebaseml_v2beta/representations.rb

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
436436
include Google::Apis::Core::JsonObjectSupport
437437
end
438438

439+
class GoogleCloudAiplatformV1beta1ToolComputerUse
440+
class Representation < Google::Apis::Core::JsonRepresentation; end
441+
442+
include Google::Apis::Core::JsonObjectSupport
443+
end
444+
439445
class GoogleCloudAiplatformV1beta1ToolConfig
440446
class Representation < Google::Apis::Core::JsonRepresentation; end
441447

@@ -1027,6 +1033,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
10271033

10281034
property :text, as: 'text'
10291035
property :thought, as: 'thought'
1036+
property :thought_signature, :base64 => true, as: 'thoughtSignature'
10301037
property :video_metadata, as: 'videoMetadata', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VideoMetadata, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VideoMetadata::Representation
10311038

10321039
end
@@ -1226,6 +1233,8 @@ class GoogleCloudAiplatformV1beta1Tool
12261233
class Representation < Google::Apis::Core::JsonRepresentation
12271234
property :code_execution, as: 'codeExecution', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolCodeExecution, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolCodeExecution::Representation
12281235

1236+
property :computer_use, as: 'computerUse', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolComputerUse, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolComputerUse::Representation
1237+
12291238
property :enterprise_web_search, as: 'enterpriseWebSearch', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1EnterpriseWebSearch, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1EnterpriseWebSearch::Representation
12301239

12311240
collection :function_declarations, as: 'functionDeclarations', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionDeclaration, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionDeclaration::Representation
@@ -1245,6 +1254,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
12451254
end
12461255
end
12471256

1257+
class GoogleCloudAiplatformV1beta1ToolComputerUse
1258+
# @private
1259+
class Representation < Google::Apis::Core::JsonRepresentation
1260+
property :environment, as: 'environment'
1261+
end
1262+
end
1263+
12481264
class GoogleCloudAiplatformV1beta1ToolConfig
12491265
# @private
12501266
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1290,6 +1306,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
12901306
property :rag_retrieval_config, as: 'ragRetrievalConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RagRetrievalConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RagRetrievalConfig::Representation
12911307

12921308
property :similarity_top_k, as: 'similarityTopK'
1309+
property :store_context, as: 'storeContext'
12931310
property :vector_distance_threshold, as: 'vectorDistanceThreshold'
12941311
end
12951312
end

0 commit comments

Comments
 (0)