Skip to content

Commit 6556d76

Browse files
feat: Automated regeneration of firebaseml v2beta client (googleapis#23789)
Auto-created at 2025-07-27 10:18:52 +0000 using the toys pull request generator.
1 parent 4fe0fdc commit 6556d76

File tree

5 files changed

+187
-42
lines changed

5 files changed

+187
-42
lines changed

api_names_out.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242984,10 +242984,25 @@
242984242984
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GroundingChunk/retrievedContext": retrieved_context
242985242985
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GroundingChunk/web": web
242986242986
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GroundingChunkMaps": google_cloud_aiplatform_v1beta1_grounding_chunk_maps
242987+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GroundingChunkMaps/placeAnswerSources": place_answer_sources
242987242988
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GroundingChunkMaps/placeId": place_id
242988242989
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GroundingChunkMaps/text": text
242989242990
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GroundingChunkMaps/title": title
242990242991
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GroundingChunkMaps/uri": uri
242992+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSources": google_cloud_aiplatform_v1beta1_grounding_chunk_maps_place_answer_sources
242993+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSources/flagContentUri": flag_content_uri
242994+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSources/reviewSnippets": review_snippets
242995+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSources/reviewSnippets/review_snippet": review_snippet
242996+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution": google_cloud_aiplatform_v1beta1_grounding_chunk_maps_place_answer_sources_author_attribution
242997+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution/displayName": display_name
242998+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution/photoUri": photo_uri
242999+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution/uri": uri
243000+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet": google_cloud_aiplatform_v1beta1_grounding_chunk_maps_place_answer_sources_review_snippet
243001+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet/authorAttribution": author_attribution
243002+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet/flagContentUri": flag_content_uri
243003+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet/googleMapsUri": google_maps_uri
243004+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet/relativePublishTimeDescription": relative_publish_time_description
243005+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet/review": review
242991243006
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext": google_cloud_aiplatform_v1beta1_grounding_chunk_retrieved_context
242992243007
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext/ragChunk": rag_chunk
242993243008
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext/text": text
@@ -243184,6 +243199,7 @@
243184243199
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1VertexRagStoreRagResource/ragFileIds/rag_file_id": rag_file_id
243185243200
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1VideoMetadata": google_cloud_aiplatform_v1beta1_video_metadata
243186243201
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1VideoMetadata/endOffset": end_offset
243202+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1VideoMetadata/fps": fps
243187243203
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1VideoMetadata/startOffset": start_offset
243188243204
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1VoiceConfig": google_cloud_aiplatform_v1beta1_voice_config
243189243205
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1VoiceConfig/prebuiltVoiceConfig": prebuilt_voice_config

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

59
* Regenerated from discovery document revision 20250715

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

Lines changed: 114 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1625,6 +1625,11 @@ def update!(**args)
16251625
class GoogleCloudAiplatformV1beta1GroundingChunkMaps
16261626
include Google::Apis::Core::Hashable
16271627

1628+
# Sources used to generate the place answer.
1629+
# Corresponds to the JSON property `placeAnswerSources`
1630+
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSources]
1631+
attr_accessor :place_answer_sources
1632+
16281633
# This Place's resource name, in `places/`place_id`` format. Can be used to look
16291634
# up the Place.
16301635
# Corresponds to the JSON property `placeId`
@@ -1652,13 +1657,115 @@ def initialize(**args)
16521657

16531658
# Update properties of this object
16541659
def update!(**args)
1660+
@place_answer_sources = args[:place_answer_sources] if args.key?(:place_answer_sources)
16551661
@place_id = args[:place_id] if args.key?(:place_id)
16561662
@text = args[:text] if args.key?(:text)
16571663
@title = args[:title] if args.key?(:title)
16581664
@uri = args[:uri] if args.key?(:uri)
16591665
end
16601666
end
16611667

1668+
# Sources used to generate the place answer.
1669+
class GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSources
1670+
include Google::Apis::Core::Hashable
1671+
1672+
# A link where users can flag a problem with the generated answer.
1673+
# Corresponds to the JSON property `flagContentUri`
1674+
# @return [String]
1675+
attr_accessor :flag_content_uri
1676+
1677+
# Snippets of reviews that are used to generate the answer.
1678+
# Corresponds to the JSON property `reviewSnippets`
1679+
# @return [Array<Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet>]
1680+
attr_accessor :review_snippets
1681+
1682+
def initialize(**args)
1683+
update!(**args)
1684+
end
1685+
1686+
# Update properties of this object
1687+
def update!(**args)
1688+
@flag_content_uri = args[:flag_content_uri] if args.key?(:flag_content_uri)
1689+
@review_snippets = args[:review_snippets] if args.key?(:review_snippets)
1690+
end
1691+
end
1692+
1693+
# Author attribution for a photo or review.
1694+
class GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution
1695+
include Google::Apis::Core::Hashable
1696+
1697+
# Name of the author of the Photo or Review.
1698+
# Corresponds to the JSON property `displayName`
1699+
# @return [String]
1700+
attr_accessor :display_name
1701+
1702+
# Profile photo URI of the author of the Photo or Review.
1703+
# Corresponds to the JSON property `photoUri`
1704+
# @return [String]
1705+
attr_accessor :photo_uri
1706+
1707+
# URI of the author of the Photo or Review.
1708+
# Corresponds to the JSON property `uri`
1709+
# @return [String]
1710+
attr_accessor :uri
1711+
1712+
def initialize(**args)
1713+
update!(**args)
1714+
end
1715+
1716+
# Update properties of this object
1717+
def update!(**args)
1718+
@display_name = args[:display_name] if args.key?(:display_name)
1719+
@photo_uri = args[:photo_uri] if args.key?(:photo_uri)
1720+
@uri = args[:uri] if args.key?(:uri)
1721+
end
1722+
end
1723+
1724+
# Encapsulates a review snippet.
1725+
class GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet
1726+
include Google::Apis::Core::Hashable
1727+
1728+
# Author attribution for a photo or review.
1729+
# Corresponds to the JSON property `authorAttribution`
1730+
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution]
1731+
attr_accessor :author_attribution
1732+
1733+
# A link where users can flag a problem with the review.
1734+
# Corresponds to the JSON property `flagContentUri`
1735+
# @return [String]
1736+
attr_accessor :flag_content_uri
1737+
1738+
# A link to show the review on Google Maps.
1739+
# Corresponds to the JSON property `googleMapsUri`
1740+
# @return [String]
1741+
attr_accessor :google_maps_uri
1742+
1743+
# A string of formatted recent time, expressing the review time relative to the
1744+
# current time in a form appropriate for the language and country.
1745+
# Corresponds to the JSON property `relativePublishTimeDescription`
1746+
# @return [String]
1747+
attr_accessor :relative_publish_time_description
1748+
1749+
# A reference representing this place review which may be used to look up this
1750+
# place review again.
1751+
# Corresponds to the JSON property `review`
1752+
# @return [String]
1753+
attr_accessor :review
1754+
1755+
def initialize(**args)
1756+
update!(**args)
1757+
end
1758+
1759+
# Update properties of this object
1760+
def update!(**args)
1761+
@author_attribution = args[:author_attribution] if args.key?(:author_attribution)
1762+
@flag_content_uri = args[:flag_content_uri] if args.key?(:flag_content_uri)
1763+
@google_maps_uri = args[:google_maps_uri] if args.key?(:google_maps_uri)
1764+
@relative_publish_time_description = args[:relative_publish_time_description] if args.key?(:relative_publish_time_description)
1765+
@review = args[:review] if args.key?(:review)
1766+
end
1767+
end
1768+
16621769
# Chunk from context retrieved by the retrieval tools.
16631770
class GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext
16641771
include Google::Apis::Core::Hashable
@@ -2716,11 +2823,6 @@ class GoogleCloudAiplatformV1beta1Tool
27162823
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolCodeExecution]
27172824
attr_accessor :code_execution
27182825

2719-
# Tool to support computer use.
2720-
# Corresponds to the JSON property `computerUse`
2721-
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolComputerUse]
2722-
attr_accessor :computer_use
2723-
27242826
# Tool to search public web data, powered by Vertex AI Search and Sec4
27252827
# compliance.
27262828
# Corresponds to the JSON property `enterpriseWebSearch`
@@ -2770,7 +2872,6 @@ def initialize(**args)
27702872
# Update properties of this object
27712873
def update!(**args)
27722874
@code_execution = args[:code_execution] if args.key?(:code_execution)
2773-
@computer_use = args[:computer_use] if args.key?(:computer_use)
27742875
@enterprise_web_search = args[:enterprise_web_search] if args.key?(:enterprise_web_search)
27752876
@function_declarations = args[:function_declarations] if args.key?(:function_declarations)
27762877
@google_maps = args[:google_maps] if args.key?(:google_maps)
@@ -2796,25 +2897,6 @@ def update!(**args)
27962897
end
27972898
end
27982899

2799-
# Tool to support computer use.
2800-
class GoogleCloudAiplatformV1beta1ToolComputerUse
2801-
include Google::Apis::Core::Hashable
2802-
2803-
# Required. The environment being operated.
2804-
# Corresponds to the JSON property `environment`
2805-
# @return [String]
2806-
attr_accessor :environment
2807-
2808-
def initialize(**args)
2809-
update!(**args)
2810-
end
2811-
2812-
# Update properties of this object
2813-
def update!(**args)
2814-
@environment = args[:environment] if args.key?(:environment)
2815-
end
2816-
end
2817-
28182900
# Tool config. This config is shared for all tools provided in the request.
28192901
class GoogleCloudAiplatformV1beta1ToolConfig
28202902
include Google::Apis::Core::Hashable
@@ -3086,6 +3168,12 @@ class GoogleCloudAiplatformV1beta1VideoMetadata
30863168
# @return [String]
30873169
attr_accessor :end_offset
30883170

3171+
# Optional. The frame rate of the video sent to the model. If not specified, the
3172+
# default value will be 1.0. The fps range is (0.0, 24.0].
3173+
# Corresponds to the JSON property `fps`
3174+
# @return [Float]
3175+
attr_accessor :fps
3176+
30893177
# Optional. The start offset of the video.
30903178
# Corresponds to the JSON property `startOffset`
30913179
# @return [String]
@@ -3098,6 +3186,7 @@ def initialize(**args)
30983186
# Update properties of this object
30993187
def update!(**args)
31003188
@end_offset = args[:end_offset] if args.key?(:end_offset)
3189+
@fps = args[:fps] if args.key?(:fps)
31013190
@start_offset = args[:start_offset] if args.key?(:start_offset)
31023191
end
31033192
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.25.0"
19+
GEM_VERSION = "0.26.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 = "20250715"
25+
REVISION = "20250723"
2626
end
2727
end
2828
end

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

Lines changed: 51 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,24 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
274274
include Google::Apis::Core::JsonObjectSupport
275275
end
276276

277+
class GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSources
278+
class Representation < Google::Apis::Core::JsonRepresentation; end
279+
280+
include Google::Apis::Core::JsonObjectSupport
281+
end
282+
283+
class GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution
284+
class Representation < Google::Apis::Core::JsonRepresentation; end
285+
286+
include Google::Apis::Core::JsonObjectSupport
287+
end
288+
289+
class GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet
290+
class Representation < Google::Apis::Core::JsonRepresentation; end
291+
292+
include Google::Apis::Core::JsonObjectSupport
293+
end
294+
277295
class GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext
278296
class Representation < Google::Apis::Core::JsonRepresentation; end
279297

@@ -448,12 +466,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
448466
include Google::Apis::Core::JsonObjectSupport
449467
end
450468

451-
class GoogleCloudAiplatformV1beta1ToolComputerUse
452-
class Representation < Google::Apis::Core::JsonRepresentation; end
453-
454-
include Google::Apis::Core::JsonObjectSupport
455-
end
456-
457469
class GoogleCloudAiplatformV1beta1ToolConfig
458470
class Representation < Google::Apis::Core::JsonRepresentation; end
459471

@@ -982,13 +994,45 @@ class Representation < Google::Apis::Core::JsonRepresentation
982994
class GoogleCloudAiplatformV1beta1GroundingChunkMaps
983995
# @private
984996
class Representation < Google::Apis::Core::JsonRepresentation
997+
property :place_answer_sources, as: 'placeAnswerSources', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSources, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSources::Representation
998+
985999
property :place_id, as: 'placeId'
9861000
property :text, as: 'text'
9871001
property :title, as: 'title'
9881002
property :uri, as: 'uri'
9891003
end
9901004
end
9911005

1006+
class GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSources
1007+
# @private
1008+
class Representation < Google::Apis::Core::JsonRepresentation
1009+
property :flag_content_uri, as: 'flagContentUri'
1010+
collection :review_snippets, as: 'reviewSnippets', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet::Representation
1011+
1012+
end
1013+
end
1014+
1015+
class GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution
1016+
# @private
1017+
class Representation < Google::Apis::Core::JsonRepresentation
1018+
property :display_name, as: 'displayName'
1019+
property :photo_uri, as: 'photoUri'
1020+
property :uri, as: 'uri'
1021+
end
1022+
end
1023+
1024+
class GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet
1025+
# @private
1026+
class Representation < Google::Apis::Core::JsonRepresentation
1027+
property :author_attribution, as: 'authorAttribution', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesAuthorAttribution::Representation
1028+
1029+
property :flag_content_uri, as: 'flagContentUri'
1030+
property :google_maps_uri, as: 'googleMapsUri'
1031+
property :relative_publish_time_description, as: 'relativePublishTimeDescription'
1032+
property :review, as: 'review'
1033+
end
1034+
end
1035+
9921036
class GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext
9931037
# @private
9941038
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1289,8 +1333,6 @@ class GoogleCloudAiplatformV1beta1Tool
12891333
class Representation < Google::Apis::Core::JsonRepresentation
12901334
property :code_execution, as: 'codeExecution', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolCodeExecution, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolCodeExecution::Representation
12911335

1292-
property :computer_use, as: 'computerUse', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolComputerUse, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolComputerUse::Representation
1293-
12941336
property :enterprise_web_search, as: 'enterpriseWebSearch', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1EnterpriseWebSearch, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1EnterpriseWebSearch::Representation
12951337

12961338
collection :function_declarations, as: 'functionDeclarations', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionDeclaration, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionDeclaration::Representation
@@ -1314,13 +1356,6 @@ class Representation < Google::Apis::Core::JsonRepresentation
13141356
end
13151357
end
13161358

1317-
class GoogleCloudAiplatformV1beta1ToolComputerUse
1318-
# @private
1319-
class Representation < Google::Apis::Core::JsonRepresentation
1320-
property :environment, as: 'environment'
1321-
end
1322-
end
1323-
13241359
class GoogleCloudAiplatformV1beta1ToolConfig
13251360
# @private
13261361
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1405,6 +1440,7 @@ class GoogleCloudAiplatformV1beta1VideoMetadata
14051440
# @private
14061441
class Representation < Google::Apis::Core::JsonRepresentation
14071442
property :end_offset, as: 'endOffset'
1443+
property :fps, as: 'fps'
14081444
property :start_offset, as: 'startOffset'
14091445
end
14101446
end

0 commit comments

Comments
 (0)