Skip to content

Commit d6ceab0

Browse files
feat: Automated regeneration of firebaseml v2beta client (googleapis#23715)
Auto-created at 2025-07-20 09:51:07 +0000 using the toys pull request generator.
1 parent 0ce893c commit d6ceab0

File tree

5 files changed

+139
-3
lines changed

5 files changed

+139
-3
lines changed

api_names_out.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242617,6 +242617,9 @@
242617242617
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig/enableThinking": enable_thinking
242618242618
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig/includeThoughts": include_thoughts
242619242619
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig/thinkingBudget": thinking_budget
242620+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GoogleMaps": google_cloud_aiplatform_v1beta1_google_maps
242621+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GoogleMaps/apiAuth": api_auth
242622+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GoogleMaps/authConfig": auth_config
242620242623
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GoogleSearchRetrieval": google_cloud_aiplatform_v1beta1_google_search_retrieval
242621242624
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GoogleSearchRetrieval/dynamicRetrievalConfig": dynamic_retrieval_config
242622242625
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GroundingAttribution": google_cloud_aiplatform_v1beta1_grounding_attribution
@@ -242631,8 +242634,14 @@
242631242634
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GroundingAttributionWeb/title": title
242632242635
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GroundingAttributionWeb/uri": uri
242633242636
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GroundingChunk": google_cloud_aiplatform_v1beta1_grounding_chunk
242637+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GroundingChunk/maps": maps
242634242638
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GroundingChunk/retrievedContext": retrieved_context
242635242639
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GroundingChunk/web": web
242640+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GroundingChunkMaps": google_cloud_aiplatform_v1beta1_grounding_chunk_maps
242641+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GroundingChunkMaps/placeId": place_id
242642+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GroundingChunkMaps/text": text
242643+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GroundingChunkMaps/title": title
242644+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GroundingChunkMaps/uri": uri
242636242645
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext": google_cloud_aiplatform_v1beta1_grounding_chunk_retrieved_context
242637242646
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext/ragChunk": rag_chunk
242638242647
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext/text": text
@@ -242643,6 +242652,7 @@
242643242652
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GroundingChunkWeb/title": title
242644242653
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GroundingChunkWeb/uri": uri
242645242654
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GroundingMetadata": google_cloud_aiplatform_v1beta1_grounding_metadata
242655+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GroundingMetadata/googleMapsWidgetContextToken": google_maps_widget_context_token
242646242656
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GroundingMetadata/groundingAttributions": grounding_attributions
242647242657
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GroundingMetadata/groundingAttributions/grounding_attribution": grounding_attribution
242648242658
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GroundingMetadata/groundingChunks": grounding_chunks
@@ -242784,6 +242794,7 @@
242784242794
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1Tool/enterpriseWebSearch": enterprise_web_search
242785242795
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1Tool/functionDeclarations": function_declarations
242786242796
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1Tool/functionDeclarations/function_declaration": function_declaration
242797+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1Tool/googleMaps": google_maps
242787242798
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1Tool/googleSearch": google_search
242788242799
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1Tool/googleSearchRetrieval": google_search_retrieval
242789242800
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1Tool/retrieval": retrieval

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.25.0 (2025-07-20)
4+
5+
* Regenerated from discovery document revision 20250715
6+
37
### v0.24.0 (2025-06-22)
48

59
* Regenerated from discovery document revision 20250618

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

Lines changed: 85 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1545,6 +1545,32 @@ def update!(**args)
15451545
end
15461546
end
15471547

1548+
# Tool to retrieve public maps data for grounding, powered by Google.
1549+
class GoogleCloudAiplatformV1beta1GoogleMaps
1550+
include Google::Apis::Core::Hashable
1551+
1552+
# The generic reusable api auth config. Deprecated. Please use AuthConfig (
1553+
# google/cloud/aiplatform/master/auth.proto) instead.
1554+
# Corresponds to the JSON property `apiAuth`
1555+
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ApiAuth]
1556+
attr_accessor :api_auth
1557+
1558+
# Auth configuration to run the extension.
1559+
# Corresponds to the JSON property `authConfig`
1560+
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfig]
1561+
attr_accessor :auth_config
1562+
1563+
def initialize(**args)
1564+
update!(**args)
1565+
end
1566+
1567+
# Update properties of this object
1568+
def update!(**args)
1569+
@api_auth = args[:api_auth] if args.key?(:api_auth)
1570+
@auth_config = args[:auth_config] if args.key?(:auth_config)
1571+
end
1572+
end
1573+
15481574
# Tool to retrieve public web data for grounding, powered by Google.
15491575
class GoogleCloudAiplatformV1beta1GoogleSearchRetrieval
15501576
include Google::Apis::Core::Hashable
@@ -1568,6 +1594,11 @@ def update!(**args)
15681594
class GoogleCloudAiplatformV1beta1GroundingChunk
15691595
include Google::Apis::Core::Hashable
15701596

1597+
# Chunk from Google Maps.
1598+
# Corresponds to the JSON property `maps`
1599+
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkMaps]
1600+
attr_accessor :maps
1601+
15711602
# Chunk from context retrieved by the retrieval tools.
15721603
# Corresponds to the JSON property `retrievedContext`
15731604
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext]
@@ -1584,11 +1615,50 @@ def initialize(**args)
15841615

15851616
# Update properties of this object
15861617
def update!(**args)
1618+
@maps = args[:maps] if args.key?(:maps)
15871619
@retrieved_context = args[:retrieved_context] if args.key?(:retrieved_context)
15881620
@web = args[:web] if args.key?(:web)
15891621
end
15901622
end
15911623

1624+
# Chunk from Google Maps.
1625+
class GoogleCloudAiplatformV1beta1GroundingChunkMaps
1626+
include Google::Apis::Core::Hashable
1627+
1628+
# This Place's resource name, in `places/`place_id`` format. Can be used to look
1629+
# up the Place.
1630+
# Corresponds to the JSON property `placeId`
1631+
# @return [String]
1632+
attr_accessor :place_id
1633+
1634+
# Text of the chunk.
1635+
# Corresponds to the JSON property `text`
1636+
# @return [String]
1637+
attr_accessor :text
1638+
1639+
# Title of the chunk.
1640+
# Corresponds to the JSON property `title`
1641+
# @return [String]
1642+
attr_accessor :title
1643+
1644+
# URI reference of the chunk.
1645+
# Corresponds to the JSON property `uri`
1646+
# @return [String]
1647+
attr_accessor :uri
1648+
1649+
def initialize(**args)
1650+
update!(**args)
1651+
end
1652+
1653+
# Update properties of this object
1654+
def update!(**args)
1655+
@place_id = args[:place_id] if args.key?(:place_id)
1656+
@text = args[:text] if args.key?(:text)
1657+
@title = args[:title] if args.key?(:title)
1658+
@uri = args[:uri] if args.key?(:uri)
1659+
end
1660+
end
1661+
15921662
# Chunk from context retrieved by the retrieval tools.
15931663
class GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext
15941664
include Google::Apis::Core::Hashable
@@ -1662,6 +1732,13 @@ def update!(**args)
16621732
class GoogleCloudAiplatformV1beta1GroundingMetadata
16631733
include Google::Apis::Core::Hashable
16641734

1735+
# Optional. Output only. Resource name of the Google Maps widget context token
1736+
# to be used with the PlacesContextElement widget to render contextual data.
1737+
# This is populated only for Google Maps grounding.
1738+
# Corresponds to the JSON property `googleMapsWidgetContextToken`
1739+
# @return [String]
1740+
attr_accessor :google_maps_widget_context_token
1741+
16651742
# List of supporting references retrieved from specified grounding source.
16661743
# Corresponds to the JSON property `groundingChunks`
16671744
# @return [Array<Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunk>]
@@ -1698,6 +1775,7 @@ def initialize(**args)
16981775

16991776
# Update properties of this object
17001777
def update!(**args)
1778+
@google_maps_widget_context_token = args[:google_maps_widget_context_token] if args.key?(:google_maps_widget_context_token)
17011779
@grounding_chunks = args[:grounding_chunks] if args.key?(:grounding_chunks)
17021780
@grounding_supports = args[:grounding_supports] if args.key?(:grounding_supports)
17031781
@retrieval_metadata = args[:retrieval_metadata] if args.key?(:retrieval_metadata)
@@ -2654,11 +2732,16 @@ class GoogleCloudAiplatformV1beta1Tool
26542732
# subset of these functions by populating FunctionCall in the response. User
26552733
# should provide a FunctionResponse for each function call in the next turn.
26562734
# Based on the function responses, Model will generate the final response back
2657-
# to the user. Maximum 128 function declarations can be provided.
2735+
# to the user. Maximum 512 function declarations can be provided.
26582736
# Corresponds to the JSON property `functionDeclarations`
26592737
# @return [Array<Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionDeclaration>]
26602738
attr_accessor :function_declarations
26612739

2740+
# Tool to retrieve public maps data for grounding, powered by Google.
2741+
# Corresponds to the JSON property `googleMaps`
2742+
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GoogleMaps]
2743+
attr_accessor :google_maps
2744+
26622745
# GoogleSearch tool type. Tool to support Google Search in Model. Powered by
26632746
# Google.
26642747
# Corresponds to the JSON property `googleSearch`
@@ -2690,6 +2773,7 @@ def update!(**args)
26902773
@computer_use = args[:computer_use] if args.key?(:computer_use)
26912774
@enterprise_web_search = args[:enterprise_web_search] if args.key?(:enterprise_web_search)
26922775
@function_declarations = args[:function_declarations] if args.key?(:function_declarations)
2776+
@google_maps = args[:google_maps] if args.key?(:google_maps)
26932777
@google_search = args[:google_search] if args.key?(:google_search)
26942778
@google_search_retrieval = args[:google_search_retrieval] if args.key?(:google_search_retrieval)
26952779
@retrieval = args[:retrieval] if args.key?(:retrieval)

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.24.0"
19+
GEM_VERSION = "0.25.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 = "20250618"
25+
REVISION = "20250715"
2626
end
2727
end
2828
end

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

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
250250
include Google::Apis::Core::JsonObjectSupport
251251
end
252252

253+
class GoogleCloudAiplatformV1beta1GoogleMaps
254+
class Representation < Google::Apis::Core::JsonRepresentation; end
255+
256+
include Google::Apis::Core::JsonObjectSupport
257+
end
258+
253259
class GoogleCloudAiplatformV1beta1GoogleSearchRetrieval
254260
class Representation < Google::Apis::Core::JsonRepresentation; end
255261

@@ -262,6 +268,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
262268
include Google::Apis::Core::JsonObjectSupport
263269
end
264270

271+
class GoogleCloudAiplatformV1beta1GroundingChunkMaps
272+
class Representation < Google::Apis::Core::JsonRepresentation; end
273+
274+
include Google::Apis::Core::JsonObjectSupport
275+
end
276+
265277
class GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext
266278
class Representation < Google::Apis::Core::JsonRepresentation; end
267279

@@ -937,6 +949,16 @@ class Representation < Google::Apis::Core::JsonRepresentation
937949
end
938950
end
939951

952+
class GoogleCloudAiplatformV1beta1GoogleMaps
953+
# @private
954+
class Representation < Google::Apis::Core::JsonRepresentation
955+
property :api_auth, as: 'apiAuth', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ApiAuth, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ApiAuth::Representation
956+
957+
property :auth_config, as: 'authConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AuthConfig::Representation
958+
959+
end
960+
end
961+
940962
class GoogleCloudAiplatformV1beta1GoogleSearchRetrieval
941963
# @private
942964
class Representation < Google::Apis::Core::JsonRepresentation
@@ -948,13 +970,25 @@ class Representation < Google::Apis::Core::JsonRepresentation
948970
class GoogleCloudAiplatformV1beta1GroundingChunk
949971
# @private
950972
class Representation < Google::Apis::Core::JsonRepresentation
973+
property :maps, as: 'maps', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkMaps, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkMaps::Representation
974+
951975
property :retrieved_context, as: 'retrievedContext', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext::Representation
952976

953977
property :web, as: 'web', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkWeb, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkWeb::Representation
954978

955979
end
956980
end
957981

982+
class GoogleCloudAiplatformV1beta1GroundingChunkMaps
983+
# @private
984+
class Representation < Google::Apis::Core::JsonRepresentation
985+
property :place_id, as: 'placeId'
986+
property :text, as: 'text'
987+
property :title, as: 'title'
988+
property :uri, as: 'uri'
989+
end
990+
end
991+
958992
class GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext
959993
# @private
960994
class Representation < Google::Apis::Core::JsonRepresentation
@@ -978,6 +1012,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
9781012
class GoogleCloudAiplatformV1beta1GroundingMetadata
9791013
# @private
9801014
class Representation < Google::Apis::Core::JsonRepresentation
1015+
property :google_maps_widget_context_token, as: 'googleMapsWidgetContextToken'
9811016
collection :grounding_chunks, as: 'groundingChunks', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunk, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunk::Representation
9821017

9831018
collection :grounding_supports, as: 'groundingSupports', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingSupport, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingSupport::Representation
@@ -1260,6 +1295,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
12601295

12611296
collection :function_declarations, as: 'functionDeclarations', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionDeclaration, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionDeclaration::Representation
12621297

1298+
property :google_maps, as: 'googleMaps', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GoogleMaps, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GoogleMaps::Representation
1299+
12631300
property :google_search, as: 'googleSearch', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolGoogleSearch, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolGoogleSearch::Representation
12641301

12651302
property :google_search_retrieval, as: 'googleSearchRetrieval', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GoogleSearchRetrieval, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GoogleSearchRetrieval::Representation

0 commit comments

Comments
 (0)