Skip to content

Commit db5beb8

Browse files
feat: Automated regeneration of firebaseml v2beta client (#27174)
Auto-created at 2026-06-21 12:18:53 +0000 using the toys pull request generator.
1 parent 64027c0 commit db5beb8

5 files changed

Lines changed: 311 additions & 4 deletions

File tree

api_names_out.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281323,6 +281323,11 @@
281323281323
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ApiAuthApiKeyConfig": google_cloud_aiplatform_v1beta1_api_auth_api_key_config
281324281324
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ApiAuthApiKeyConfig/apiKeySecretVersion": api_key_secret_version
281325281325
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ApiAuthApiKeyConfig/apiKeyString": api_key_string
281326+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1AudioResponseFormat": google_cloud_aiplatform_v1beta1_audio_response_format
281327+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1AudioResponseFormat/bitRate": bit_rate
281328+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1AudioResponseFormat/delivery": delivery
281329+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1AudioResponseFormat/mimeType": mime_type
281330+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1AudioResponseFormat/sampleRate": sample_rate
281326281331
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1AuthConfig": google_cloud_aiplatform_v1beta1_auth_config
281327281332
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1AuthConfig/apiKeyConfig": api_key_config
281328281333
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1AuthConfig/authType": auth_type
@@ -281515,6 +281520,8 @@
281515281520
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GenerationConfig/mediaResolution": media_resolution
281516281521
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GenerationConfig/modelConfig": model_config
281517281522
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GenerationConfig/presencePenalty": presence_penalty
281523+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GenerationConfig/responseFormat": response_format
281524+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GenerationConfig/responseFormat/response_format": response_format
281518281525
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GenerationConfig/responseJsonSchema": response_json_schema
281519281526
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GenerationConfig/responseLogprobs": response_logprobs
281520281527
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GenerationConfig/responseMimeType": response_mime_type
@@ -281646,6 +281653,11 @@
281646281653
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ImageConfigImageOutputOptions": google_cloud_aiplatform_v1beta1_image_config_image_output_options
281647281654
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ImageConfigImageOutputOptions/compressionQuality": compression_quality
281648281655
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ImageConfigImageOutputOptions/mimeType": mime_type
281656+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ImageResponseFormat": google_cloud_aiplatform_v1beta1_image_response_format
281657+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ImageResponseFormat/aspectRatio": aspect_ratio
281658+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ImageResponseFormat/delivery": delivery
281659+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ImageResponseFormat/imageSize": image_size
281660+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ImageResponseFormat/mimeType": mime_type
281649281661
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1LogprobsResult": google_cloud_aiplatform_v1beta1_logprobs_result
281650281662
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1LogprobsResult/chosenCandidates": chosen_candidates
281651281663
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1LogprobsResult/chosenCandidates/chosen_candidate": chosen_candidate
@@ -281719,6 +281731,11 @@
281719281731
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ReplicatedVoiceConfig": google_cloud_aiplatform_v1beta1_replicated_voice_config
281720281732
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ReplicatedVoiceConfig/mimeType": mime_type
281721281733
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ReplicatedVoiceConfig/voiceSampleAudio": voice_sample_audio
281734+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ResponseFormat": google_cloud_aiplatform_v1beta1_response_format
281735+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ResponseFormat/audio": audio
281736+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ResponseFormat/image": image
281737+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ResponseFormat/text": text
281738+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ResponseFormat/video": video
281722281739
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1Retrieval": google_cloud_aiplatform_v1beta1_retrieval
281723281740
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1Retrieval/disableAttribution": disable_attribution
281724281741
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1Retrieval/externalApi": external_api
@@ -281788,6 +281805,9 @@
281788281805
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1SpeechConfig/languageCode": language_code
281789281806
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1SpeechConfig/multiSpeakerVoiceConfig": multi_speaker_voice_config
281790281807
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1SpeechConfig/voiceConfig": voice_config
281808+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1TextResponseFormat": google_cloud_aiplatform_v1beta1_text_response_format
281809+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1TextResponseFormat/mimeType": mime_type
281810+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1TextResponseFormat/schema": schema
281791281811
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1Tool": google_cloud_aiplatform_v1beta1_tool
281792281812
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1Tool/codeExecution": code_execution
281793281813
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1Tool/computerUse": computer_use
@@ -281803,6 +281823,7 @@
281803281823
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1Tool/urlContext": url_context
281804281824
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ToolCodeExecution": google_cloud_aiplatform_v1beta1_tool_code_execution
281805281825
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ToolComputerUse": google_cloud_aiplatform_v1beta1_tool_computer_use
281826+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ToolComputerUse/enablePromptInjectionDetection": enable_prompt_injection_detection
281806281827
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ToolComputerUse/environment": environment
281807281828
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ToolComputerUse/excludedPredefinedFunctions": excluded_predefined_functions
281808281829
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ToolComputerUse/excludedPredefinedFunctions/excluded_predefined_function": excluded_predefined_function
@@ -281861,6 +281882,11 @@
281861281882
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1VideoMetadata/endOffset": end_offset
281862281883
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1VideoMetadata/fps": fps
281863281884
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1VideoMetadata/startOffset": start_offset
281885+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1VideoResponseFormat": google_cloud_aiplatform_v1beta1_video_response_format
281886+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1VideoResponseFormat/aspectRatio": aspect_ratio
281887+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1VideoResponseFormat/delivery": delivery
281888+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1VideoResponseFormat/duration": duration
281889+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1VideoResponseFormat/gcsUri": gcs_uri
281864281890
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1VoiceConfig": google_cloud_aiplatform_v1beta1_voice_config
281865281891
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1VoiceConfig/prebuiltVoiceConfig": prebuilt_voice_config
281866281892
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1VoiceConfig/replicatedVoiceConfig": replicated_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.40.0 (2026-06-21)
4+
5+
* Regenerated from discovery document revision 20260612
6+
37
### v0.39.0 (2026-06-14)
48

59
* Regenerated from discovery document revision 20260605

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

Lines changed: 194 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,44 @@ def update!(**args)
109109
end
110110
end
111111

112+
# Configuration for audio-specific output formatting.
113+
class GoogleCloudAiplatformV1beta1AudioResponseFormat
114+
include Google::Apis::Core::Hashable
115+
116+
# Optional. Bit rate in bits per second (bps). Only applicable for compressed
117+
# formats (MP3, Opus).
118+
# Corresponds to the JSON property `bitRate`
119+
# @return [Fixnum]
120+
attr_accessor :bit_rate
121+
122+
# Optional. Delivery mode for the generated content.
123+
# Corresponds to the JSON property `delivery`
124+
# @return [String]
125+
attr_accessor :delivery
126+
127+
# Optional. The MIME type of the audio output.
128+
# Corresponds to the JSON property `mimeType`
129+
# @return [String]
130+
attr_accessor :mime_type
131+
132+
# Optional. Sample rate for the generated audio in Hertz.
133+
# Corresponds to the JSON property `sampleRate`
134+
# @return [Fixnum]
135+
attr_accessor :sample_rate
136+
137+
def initialize(**args)
138+
update!(**args)
139+
end
140+
141+
# Update properties of this object
142+
def update!(**args)
143+
@bit_rate = args[:bit_rate] if args.key?(:bit_rate)
144+
@delivery = args[:delivery] if args.key?(:delivery)
145+
@mime_type = args[:mime_type] if args.key?(:mime_type)
146+
@sample_rate = args[:sample_rate] if args.key?(:sample_rate)
147+
end
148+
end
149+
112150
# Auth configuration to run the extension.
113151
class GoogleCloudAiplatformV1beta1AuthConfig
114152
include Google::Apis::Core::Hashable
@@ -1543,8 +1581,15 @@ class GoogleCloudAiplatformV1beta1GenerationConfig
15431581
# @return [Float]
15441582
attr_accessor :presence_penalty
15451583

1584+
# Optional. New response format field for the model to configure output
1585+
# formatting and delivery.
1586+
# Corresponds to the JSON property `responseFormat`
1587+
# @return [Array<Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ResponseFormat>]
1588+
attr_accessor :response_format
1589+
15461590
# Optional. When this field is set, response_schema must be omitted and
1547-
# response_mime_type must be set to `application/json`.
1591+
# response_mime_type must be set to `application/json`. Deprecated: Use `
1592+
# response_format` instead.
15481593
# Corresponds to the JSON property `responseJsonSchema`
15491594
# @return [Object]
15501595
attr_accessor :response_json_schema
@@ -1562,7 +1607,8 @@ class GoogleCloudAiplatformV1beta1GenerationConfig
15621607
# Optional. The IANA standard MIME type of the response. The model will generate
15631608
# output that conforms to this MIME type. Supported values include 'text/plain' (
15641609
# default) and 'application/json'. The model needs to be prompted to output the
1565-
# appropriate response type, otherwise the behavior is undefined.
1610+
# appropriate response type, otherwise the behavior is undefined. Deprecated:
1611+
# Use `response_format` instead.
15661612
# Corresponds to the JSON property `responseMimeType`
15671613
# @return [String]
15681614
attr_accessor :response_mime_type
@@ -1662,6 +1708,7 @@ def update!(**args)
16621708
@media_resolution = args[:media_resolution] if args.key?(:media_resolution)
16631709
@model_config = args[:model_config] if args.key?(:model_config)
16641710
@presence_penalty = args[:presence_penalty] if args.key?(:presence_penalty)
1711+
@response_format = args[:response_format] if args.key?(:response_format)
16651712
@response_json_schema = args[:response_json_schema] if args.key?(:response_json_schema)
16661713
@response_logprobs = args[:response_logprobs] if args.key?(:response_logprobs)
16671714
@response_mime_type = args[:response_mime_type] if args.key?(:response_mime_type)
@@ -2399,6 +2446,43 @@ def update!(**args)
23992446
end
24002447
end
24012448

2449+
# Configuration for image-specific output formatting.
2450+
class GoogleCloudAiplatformV1beta1ImageResponseFormat
2451+
include Google::Apis::Core::Hashable
2452+
2453+
# Optional. The aspect ratio for the image output.
2454+
# Corresponds to the JSON property `aspectRatio`
2455+
# @return [String]
2456+
attr_accessor :aspect_ratio
2457+
2458+
# Optional. Delivery mode for the generated content.
2459+
# Corresponds to the JSON property `delivery`
2460+
# @return [String]
2461+
attr_accessor :delivery
2462+
2463+
# Optional. The size of the image output.
2464+
# Corresponds to the JSON property `imageSize`
2465+
# @return [String]
2466+
attr_accessor :image_size
2467+
2468+
# Optional. The MIME type of the image output.
2469+
# Corresponds to the JSON property `mimeType`
2470+
# @return [String]
2471+
attr_accessor :mime_type
2472+
2473+
def initialize(**args)
2474+
update!(**args)
2475+
end
2476+
2477+
# Update properties of this object
2478+
def update!(**args)
2479+
@aspect_ratio = args[:aspect_ratio] if args.key?(:aspect_ratio)
2480+
@delivery = args[:delivery] if args.key?(:delivery)
2481+
@image_size = args[:image_size] if args.key?(:image_size)
2482+
@mime_type = args[:mime_type] if args.key?(:mime_type)
2483+
end
2484+
end
2485+
24022486
# The log probabilities of the tokens generated by the model. This is useful for
24032487
# understanding the model's confidence in its predictions and for debugging. For
24042488
# example, you can use log probabilities to identify when the model is making a
@@ -3020,6 +3104,43 @@ def update!(**args)
30203104
end
30213105
end
30223106

3107+
# Configuration for the model to configure output formatting and delivery.
3108+
class GoogleCloudAiplatformV1beta1ResponseFormat
3109+
include Google::Apis::Core::Hashable
3110+
3111+
# Configuration for audio-specific output formatting.
3112+
# Corresponds to the JSON property `audio`
3113+
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AudioResponseFormat]
3114+
attr_accessor :audio
3115+
3116+
# Configuration for image-specific output formatting.
3117+
# Corresponds to the JSON property `image`
3118+
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ImageResponseFormat]
3119+
attr_accessor :image
3120+
3121+
# Configuration for text-specific output formatting.
3122+
# Corresponds to the JSON property `text`
3123+
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1TextResponseFormat]
3124+
attr_accessor :text
3125+
3126+
# Configuration for video-specific output formatting.
3127+
# Corresponds to the JSON property `video`
3128+
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VideoResponseFormat]
3129+
attr_accessor :video
3130+
3131+
def initialize(**args)
3132+
update!(**args)
3133+
end
3134+
3135+
# Update properties of this object
3136+
def update!(**args)
3137+
@audio = args[:audio] if args.key?(:audio)
3138+
@image = args[:image] if args.key?(:image)
3139+
@text = args[:text] if args.key?(:text)
3140+
@video = args[:video] if args.key?(:video)
3141+
end
3142+
end
3143+
30233144
# Defines a retrieval tool that model can call to access external knowledge.
30243145
class GoogleCloudAiplatformV1beta1Retrieval
30253146
include Google::Apis::Core::Hashable
@@ -3540,6 +3661,32 @@ def update!(**args)
35403661
end
35413662
end
35423663

3664+
# Configuration for text-specific output formatting.
3665+
class GoogleCloudAiplatformV1beta1TextResponseFormat
3666+
include Google::Apis::Core::Hashable
3667+
3668+
# Optional. The IANA standard MIME type of the response.
3669+
# Corresponds to the JSON property `mimeType`
3670+
# @return [String]
3671+
attr_accessor :mime_type
3672+
3673+
# Optional. The JSON schema that the output should conform to. Only applicable
3674+
# when mime_type is APPLICATION_JSON.
3675+
# Corresponds to the JSON property `schema`
3676+
# @return [Object]
3677+
attr_accessor :schema
3678+
3679+
def initialize(**args)
3680+
update!(**args)
3681+
end
3682+
3683+
# Update properties of this object
3684+
def update!(**args)
3685+
@mime_type = args[:mime_type] if args.key?(:mime_type)
3686+
@schema = args[:schema] if args.key?(:schema)
3687+
end
3688+
end
3689+
35433690
# Tool details that the model may use to generate response. A `Tool` is a piece
35443691
# of code that enables the system to interact with external systems to perform
35453692
# an action, or set of actions, outside of knowledge and scope of the model. A
@@ -3652,6 +3799,12 @@ def update!(**args)
36523799
class GoogleCloudAiplatformV1beta1ToolComputerUse
36533800
include Google::Apis::Core::Hashable
36543801

3802+
# Optional. Enables the prompt injection detection check on computer-use request.
3803+
# Corresponds to the JSON property `enablePromptInjectionDetection`
3804+
# @return [Boolean]
3805+
attr_accessor :enable_prompt_injection_detection
3806+
alias_method :enable_prompt_injection_detection?, :enable_prompt_injection_detection
3807+
36553808
# Required. The environment being operated.
36563809
# Corresponds to the JSON property `environment`
36573810
# @return [String]
@@ -3673,6 +3826,7 @@ def initialize(**args)
36733826

36743827
# Update properties of this object
36753828
def update!(**args)
3829+
@enable_prompt_injection_detection = args[:enable_prompt_injection_detection] if args.key?(:enable_prompt_injection_detection)
36763830
@environment = args[:environment] if args.key?(:environment)
36773831
@excluded_predefined_functions = args[:excluded_predefined_functions] if args.key?(:excluded_predefined_functions)
36783832
end
@@ -4110,6 +4264,44 @@ def update!(**args)
41104264
end
41114265
end
41124266

4267+
# Configuration for video-specific output formatting.
4268+
class GoogleCloudAiplatformV1beta1VideoResponseFormat
4269+
include Google::Apis::Core::Hashable
4270+
4271+
# The aspect ratio for the video output.
4272+
# Corresponds to the JSON property `aspectRatio`
4273+
# @return [String]
4274+
attr_accessor :aspect_ratio
4275+
4276+
# Optional. Delivery mode for the generated content.
4277+
# Corresponds to the JSON property `delivery`
4278+
# @return [String]
4279+
attr_accessor :delivery
4280+
4281+
# Optional. The duration for the video output.
4282+
# Corresponds to the JSON property `duration`
4283+
# @return [String]
4284+
attr_accessor :duration
4285+
4286+
# Optional. The Google Cloud Storage URI to store the video output. Required for
4287+
# Vertex if delivery is URI.
4288+
# Corresponds to the JSON property `gcsUri`
4289+
# @return [String]
4290+
attr_accessor :gcs_uri
4291+
4292+
def initialize(**args)
4293+
update!(**args)
4294+
end
4295+
4296+
# Update properties of this object
4297+
def update!(**args)
4298+
@aspect_ratio = args[:aspect_ratio] if args.key?(:aspect_ratio)
4299+
@delivery = args[:delivery] if args.key?(:delivery)
4300+
@duration = args[:duration] if args.key?(:duration)
4301+
@gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
4302+
end
4303+
end
4304+
41134305
# Configuration for a voice.
41144306
class GoogleCloudAiplatformV1beta1VoiceConfig
41154307
include Google::Apis::Core::Hashable

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.39.0"
19+
GEM_VERSION = "0.40.0"
2020

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

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

0 commit comments

Comments
 (0)