Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -280445,6 +280445,11 @@
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ApiAuthApiKeyConfig": google_cloud_aiplatform_v1beta1_api_auth_api_key_config
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ApiAuthApiKeyConfig/apiKeySecretVersion": api_key_secret_version
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ApiAuthApiKeyConfig/apiKeyString": api_key_string
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1AudioResponseFormat": google_cloud_aiplatform_v1beta1_audio_response_format
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1AudioResponseFormat/bitRate": bit_rate
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1AudioResponseFormat/delivery": delivery
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1AudioResponseFormat/mimeType": mime_type
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1AudioResponseFormat/sampleRate": sample_rate
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1AuthConfig": google_cloud_aiplatform_v1beta1_auth_config
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1AuthConfig/apiKeyConfig": api_key_config
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1AuthConfig/authType": auth_type
Expand Down Expand Up @@ -280637,6 +280642,8 @@
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GenerationConfig/mediaResolution": media_resolution
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GenerationConfig/modelConfig": model_config
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GenerationConfig/presencePenalty": presence_penalty
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GenerationConfig/responseFormat": response_format
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GenerationConfig/responseFormat/response_format": response_format
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GenerationConfig/responseJsonSchema": response_json_schema
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GenerationConfig/responseLogprobs": response_logprobs
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GenerationConfig/responseMimeType": response_mime_type
Expand Down Expand Up @@ -280768,6 +280775,11 @@
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ImageConfigImageOutputOptions": google_cloud_aiplatform_v1beta1_image_config_image_output_options
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ImageConfigImageOutputOptions/compressionQuality": compression_quality
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ImageConfigImageOutputOptions/mimeType": mime_type
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ImageResponseFormat": google_cloud_aiplatform_v1beta1_image_response_format
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ImageResponseFormat/aspectRatio": aspect_ratio
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ImageResponseFormat/delivery": delivery
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ImageResponseFormat/imageSize": image_size
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ImageResponseFormat/mimeType": mime_type
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1LogprobsResult": google_cloud_aiplatform_v1beta1_logprobs_result
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1LogprobsResult/chosenCandidates": chosen_candidates
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1LogprobsResult/chosenCandidates/chosen_candidate": chosen_candidate
Expand Down Expand Up @@ -280841,6 +280853,11 @@
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ReplicatedVoiceConfig": google_cloud_aiplatform_v1beta1_replicated_voice_config
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ReplicatedVoiceConfig/mimeType": mime_type
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ReplicatedVoiceConfig/voiceSampleAudio": voice_sample_audio
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ResponseFormat": google_cloud_aiplatform_v1beta1_response_format
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ResponseFormat/audio": audio
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ResponseFormat/image": image
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ResponseFormat/text": text
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ResponseFormat/video": video
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1Retrieval": google_cloud_aiplatform_v1beta1_retrieval
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1Retrieval/disableAttribution": disable_attribution
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1Retrieval/externalApi": external_api
Expand Down Expand Up @@ -280910,6 +280927,9 @@
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1SpeechConfig/languageCode": language_code
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1SpeechConfig/multiSpeakerVoiceConfig": multi_speaker_voice_config
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1SpeechConfig/voiceConfig": voice_config
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1TextResponseFormat": google_cloud_aiplatform_v1beta1_text_response_format
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1TextResponseFormat/mimeType": mime_type
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1TextResponseFormat/schema": schema
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1Tool": google_cloud_aiplatform_v1beta1_tool
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1Tool/codeExecution": code_execution
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1Tool/computerUse": computer_use
Expand All @@ -280925,6 +280945,7 @@
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1Tool/urlContext": url_context
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ToolCodeExecution": google_cloud_aiplatform_v1beta1_tool_code_execution
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ToolComputerUse": google_cloud_aiplatform_v1beta1_tool_computer_use
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ToolComputerUse/enablePromptInjectionDetection": enable_prompt_injection_detection
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ToolComputerUse/environment": environment
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ToolComputerUse/excludedPredefinedFunctions": excluded_predefined_functions
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ToolComputerUse/excludedPredefinedFunctions/excluded_predefined_function": excluded_predefined_function
Expand Down Expand Up @@ -280983,6 +281004,11 @@
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1VideoMetadata/endOffset": end_offset
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1VideoMetadata/fps": fps
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1VideoMetadata/startOffset": start_offset
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1VideoResponseFormat": google_cloud_aiplatform_v1beta1_video_response_format
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1VideoResponseFormat/aspectRatio": aspect_ratio
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1VideoResponseFormat/delivery": delivery
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1VideoResponseFormat/duration": duration
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1VideoResponseFormat/gcsUri": gcs_uri
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1VoiceConfig": google_cloud_aiplatform_v1beta1_voice_config
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1VoiceConfig/prebuiltVoiceConfig": prebuilt_voice_config
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1VoiceConfig/replicatedVoiceConfig": replicated_voice_config
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-firebaseml_v2beta/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-firebaseml_v2beta

### v0.40.0 (2026-06-21)

* Regenerated from discovery document revision 20260612

### v0.39.0 (2026-06-14)

* Regenerated from discovery document revision 20260605
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,44 @@ def update!(**args)
end
end

# Configuration for audio-specific output formatting.
class GoogleCloudAiplatformV1beta1AudioResponseFormat
include Google::Apis::Core::Hashable

# Optional. Bit rate in bits per second (bps). Only applicable for compressed
# formats (MP3, Opus).
# Corresponds to the JSON property `bitRate`
# @return [Fixnum]
attr_accessor :bit_rate

# Optional. Delivery mode for the generated content.
# Corresponds to the JSON property `delivery`
# @return [String]
attr_accessor :delivery

# Optional. The MIME type of the audio output.
# Corresponds to the JSON property `mimeType`
# @return [String]
attr_accessor :mime_type

# Optional. Sample rate for the generated audio in Hertz.
# Corresponds to the JSON property `sampleRate`
# @return [Fixnum]
attr_accessor :sample_rate

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@bit_rate = args[:bit_rate] if args.key?(:bit_rate)
@delivery = args[:delivery] if args.key?(:delivery)
@mime_type = args[:mime_type] if args.key?(:mime_type)
@sample_rate = args[:sample_rate] if args.key?(:sample_rate)
end
end

# Auth configuration to run the extension.
class GoogleCloudAiplatformV1beta1AuthConfig
include Google::Apis::Core::Hashable
Expand Down Expand Up @@ -1543,8 +1581,15 @@ class GoogleCloudAiplatformV1beta1GenerationConfig
# @return [Float]
attr_accessor :presence_penalty

# Optional. New response format field for the model to configure output
# formatting and delivery.
# Corresponds to the JSON property `responseFormat`
# @return [Array<Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ResponseFormat>]
attr_accessor :response_format

# Optional. When this field is set, response_schema must be omitted and
# response_mime_type must be set to `application/json`.
# response_mime_type must be set to `application/json`. Deprecated: Use `
# response_format` instead.
# Corresponds to the JSON property `responseJsonSchema`
# @return [Object]
attr_accessor :response_json_schema
Expand All @@ -1562,7 +1607,8 @@ class GoogleCloudAiplatformV1beta1GenerationConfig
# Optional. The IANA standard MIME type of the response. The model will generate
# output that conforms to this MIME type. Supported values include 'text/plain' (
# default) and 'application/json'. The model needs to be prompted to output the
# appropriate response type, otherwise the behavior is undefined.
# appropriate response type, otherwise the behavior is undefined. Deprecated:
# Use `response_format` instead.
# Corresponds to the JSON property `responseMimeType`
# @return [String]
attr_accessor :response_mime_type
Expand Down Expand Up @@ -1662,6 +1708,7 @@ def update!(**args)
@media_resolution = args[:media_resolution] if args.key?(:media_resolution)
@model_config = args[:model_config] if args.key?(:model_config)
@presence_penalty = args[:presence_penalty] if args.key?(:presence_penalty)
@response_format = args[:response_format] if args.key?(:response_format)
@response_json_schema = args[:response_json_schema] if args.key?(:response_json_schema)
@response_logprobs = args[:response_logprobs] if args.key?(:response_logprobs)
@response_mime_type = args[:response_mime_type] if args.key?(:response_mime_type)
Expand Down Expand Up @@ -2399,6 +2446,43 @@ def update!(**args)
end
end

# Configuration for image-specific output formatting.
class GoogleCloudAiplatformV1beta1ImageResponseFormat
include Google::Apis::Core::Hashable

# Optional. The aspect ratio for the image output.
# Corresponds to the JSON property `aspectRatio`
# @return [String]
attr_accessor :aspect_ratio

# Optional. Delivery mode for the generated content.
# Corresponds to the JSON property `delivery`
# @return [String]
attr_accessor :delivery

# Optional. The size of the image output.
# Corresponds to the JSON property `imageSize`
# @return [String]
attr_accessor :image_size

# Optional. The MIME type of the image output.
# Corresponds to the JSON property `mimeType`
# @return [String]
attr_accessor :mime_type

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@aspect_ratio = args[:aspect_ratio] if args.key?(:aspect_ratio)
@delivery = args[:delivery] if args.key?(:delivery)
@image_size = args[:image_size] if args.key?(:image_size)
@mime_type = args[:mime_type] if args.key?(:mime_type)
end
end

# The log probabilities of the tokens generated by the model. This is useful for
# understanding the model's confidence in its predictions and for debugging. For
# example, you can use log probabilities to identify when the model is making a
Expand Down Expand Up @@ -3020,6 +3104,43 @@ def update!(**args)
end
end

# Configuration for the model to configure output formatting and delivery.
class GoogleCloudAiplatformV1beta1ResponseFormat
include Google::Apis::Core::Hashable

# Configuration for audio-specific output formatting.
# Corresponds to the JSON property `audio`
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AudioResponseFormat]
attr_accessor :audio

# Configuration for image-specific output formatting.
# Corresponds to the JSON property `image`
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ImageResponseFormat]
attr_accessor :image

# Configuration for text-specific output formatting.
# Corresponds to the JSON property `text`
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1TextResponseFormat]
attr_accessor :text

# Configuration for video-specific output formatting.
# Corresponds to the JSON property `video`
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VideoResponseFormat]
attr_accessor :video

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@audio = args[:audio] if args.key?(:audio)
@image = args[:image] if args.key?(:image)
@text = args[:text] if args.key?(:text)
@video = args[:video] if args.key?(:video)
end
end

# Defines a retrieval tool that model can call to access external knowledge.
class GoogleCloudAiplatformV1beta1Retrieval
include Google::Apis::Core::Hashable
Expand Down Expand Up @@ -3540,6 +3661,32 @@ def update!(**args)
end
end

# Configuration for text-specific output formatting.
class GoogleCloudAiplatformV1beta1TextResponseFormat
include Google::Apis::Core::Hashable

# Optional. The IANA standard MIME type of the response.
# Corresponds to the JSON property `mimeType`
# @return [String]
attr_accessor :mime_type

# Optional. The JSON schema that the output should conform to. Only applicable
# when mime_type is APPLICATION_JSON.
# Corresponds to the JSON property `schema`
# @return [Object]
attr_accessor :schema

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@mime_type = args[:mime_type] if args.key?(:mime_type)
@schema = args[:schema] if args.key?(:schema)
end
end

# Tool details that the model may use to generate response. A `Tool` is a piece
# of code that enables the system to interact with external systems to perform
# an action, or set of actions, outside of knowledge and scope of the model. A
Expand Down Expand Up @@ -3652,6 +3799,12 @@ def update!(**args)
class GoogleCloudAiplatformV1beta1ToolComputerUse
include Google::Apis::Core::Hashable

# Optional. Enables the prompt injection detection check on computer-use request.
# Corresponds to the JSON property `enablePromptInjectionDetection`
# @return [Boolean]
attr_accessor :enable_prompt_injection_detection
alias_method :enable_prompt_injection_detection?, :enable_prompt_injection_detection

# Required. The environment being operated.
# Corresponds to the JSON property `environment`
# @return [String]
Expand All @@ -3673,6 +3826,7 @@ def initialize(**args)

# Update properties of this object
def update!(**args)
@enable_prompt_injection_detection = args[:enable_prompt_injection_detection] if args.key?(:enable_prompt_injection_detection)
@environment = args[:environment] if args.key?(:environment)
@excluded_predefined_functions = args[:excluded_predefined_functions] if args.key?(:excluded_predefined_functions)
end
Expand Down Expand Up @@ -4110,6 +4264,44 @@ def update!(**args)
end
end

# Configuration for video-specific output formatting.
class GoogleCloudAiplatformV1beta1VideoResponseFormat
include Google::Apis::Core::Hashable

# The aspect ratio for the video output.
# Corresponds to the JSON property `aspectRatio`
# @return [String]
attr_accessor :aspect_ratio

# Optional. Delivery mode for the generated content.
# Corresponds to the JSON property `delivery`
# @return [String]
attr_accessor :delivery

# Optional. The duration for the video output.
# Corresponds to the JSON property `duration`
# @return [String]
attr_accessor :duration

# Optional. The Google Cloud Storage URI to store the video output. Required for
# Vertex if delivery is URI.
# Corresponds to the JSON property `gcsUri`
# @return [String]
attr_accessor :gcs_uri

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@aspect_ratio = args[:aspect_ratio] if args.key?(:aspect_ratio)
@delivery = args[:delivery] if args.key?(:delivery)
@duration = args[:duration] if args.key?(:duration)
@gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
end
end

# Configuration for a voice.
class GoogleCloudAiplatformV1beta1VoiceConfig
include Google::Apis::Core::Hashable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module FirebasemlV2beta
# Version of the google-apis-firebaseml_v2beta gem
GEM_VERSION = "0.39.0"
GEM_VERSION = "0.40.0"

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

# Revision of the discovery document this client was generated from
REVISION = "20260605"
REVISION = "20260612"
end
end
end
Loading
Loading