diff --git a/api_names_out.yaml b/api_names_out.yaml index 3fda2f5a83d..0699d112903 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 diff --git a/generated/google-apis-firebaseml_v2beta/CHANGELOG.md b/generated/google-apis-firebaseml_v2beta/CHANGELOG.md index 78973d2737d..3f850e2cbad 100644 --- a/generated/google-apis-firebaseml_v2beta/CHANGELOG.md +++ b/generated/google-apis-firebaseml_v2beta/CHANGELOG.md @@ -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 diff --git a/generated/google-apis-firebaseml_v2beta/lib/google/apis/firebaseml_v2beta/classes.rb b/generated/google-apis-firebaseml_v2beta/lib/google/apis/firebaseml_v2beta/classes.rb index ead48a207df..476743b5f70 100644 --- a/generated/google-apis-firebaseml_v2beta/lib/google/apis/firebaseml_v2beta/classes.rb +++ b/generated/google-apis-firebaseml_v2beta/lib/google/apis/firebaseml_v2beta/classes.rb @@ -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 @@ -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] + 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 @@ -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 @@ -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) @@ -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 @@ -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 @@ -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 @@ -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] @@ -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 @@ -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 diff --git a/generated/google-apis-firebaseml_v2beta/lib/google/apis/firebaseml_v2beta/gem_version.rb b/generated/google-apis-firebaseml_v2beta/lib/google/apis/firebaseml_v2beta/gem_version.rb index 47f7db657ad..44e5374e467 100644 --- a/generated/google-apis-firebaseml_v2beta/lib/google/apis/firebaseml_v2beta/gem_version.rb +++ b/generated/google-apis-firebaseml_v2beta/lib/google/apis/firebaseml_v2beta/gem_version.rb @@ -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 diff --git a/generated/google-apis-firebaseml_v2beta/lib/google/apis/firebaseml_v2beta/representations.rb b/generated/google-apis-firebaseml_v2beta/lib/google/apis/firebaseml_v2beta/representations.rb index ba770456199..50b829265ca 100644 --- a/generated/google-apis-firebaseml_v2beta/lib/google/apis/firebaseml_v2beta/representations.rb +++ b/generated/google-apis-firebaseml_v2beta/lib/google/apis/firebaseml_v2beta/representations.rb @@ -40,6 +40,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudAiplatformV1beta1AudioResponseFormat + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudAiplatformV1beta1AuthConfig class Representation < Google::Apis::Core::JsonRepresentation; end @@ -358,6 +364,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudAiplatformV1beta1ImageResponseFormat + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudAiplatformV1beta1LogprobsResult class Representation < Google::Apis::Core::JsonRepresentation; end @@ -472,6 +484,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudAiplatformV1beta1ResponseFormat + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudAiplatformV1beta1Retrieval class Representation < Google::Apis::Core::JsonRepresentation; end @@ -532,6 +550,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudAiplatformV1beta1TextResponseFormat + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudAiplatformV1beta1Tool class Representation < Google::Apis::Core::JsonRepresentation; end @@ -640,6 +664,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudAiplatformV1beta1VideoResponseFormat + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudAiplatformV1beta1VoiceConfig class Representation < Google::Apis::Core::JsonRepresentation; end @@ -683,6 +713,16 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudAiplatformV1beta1AudioResponseFormat + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bit_rate, as: 'bitRate' + property :delivery, as: 'delivery' + property :mime_type, as: 'mimeType' + property :sample_rate, as: 'sampleRate' + end + end + class GoogleCloudAiplatformV1beta1AuthConfig # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1058,6 +1098,8 @@ class Representation < Google::Apis::Core::JsonRepresentation property :model_config, as: 'modelConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfigModelConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfigModelConfig::Representation property :presence_penalty, as: 'presencePenalty' + collection :response_format, as: 'responseFormat', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ResponseFormat, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ResponseFormat::Representation + property :response_json_schema, as: 'responseJsonSchema' property :response_logprobs, as: 'responseLogprobs' property :response_mime_type, as: 'responseMimeType' @@ -1277,6 +1319,16 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudAiplatformV1beta1ImageResponseFormat + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :aspect_ratio, as: 'aspectRatio' + property :delivery, as: 'delivery' + property :image_size, as: 'imageSize' + property :mime_type, as: 'mimeType' + end + end + class GoogleCloudAiplatformV1beta1LogprobsResult # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1459,6 +1511,20 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudAiplatformV1beta1ResponseFormat + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :audio, as: 'audio', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AudioResponseFormat, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AudioResponseFormat::Representation + + property :image, as: 'image', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ImageResponseFormat, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ImageResponseFormat::Representation + + property :text, as: 'text', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1TextResponseFormat, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1TextResponseFormat::Representation + + property :video, as: 'video', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VideoResponseFormat, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VideoResponseFormat::Representation + + end + end + class GoogleCloudAiplatformV1beta1Retrieval # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1583,6 +1649,14 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudAiplatformV1beta1TextResponseFormat + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :mime_type, as: 'mimeType' + property :schema, as: 'schema' + end + end + class GoogleCloudAiplatformV1beta1Tool # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -1620,6 +1694,7 @@ class Representation < Google::Apis::Core::JsonRepresentation class GoogleCloudAiplatformV1beta1ToolComputerUse # @private class Representation < Google::Apis::Core::JsonRepresentation + property :enable_prompt_injection_detection, as: 'enablePromptInjectionDetection' property :environment, as: 'environment' collection :excluded_predefined_functions, as: 'excludedPredefinedFunctions' end @@ -1756,6 +1831,16 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudAiplatformV1beta1VideoResponseFormat + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :aspect_ratio, as: 'aspectRatio' + property :delivery, as: 'delivery' + property :duration, as: 'duration' + property :gcs_uri, as: 'gcsUri' + end + end + class GoogleCloudAiplatformV1beta1VoiceConfig # @private class Representation < Google::Apis::Core::JsonRepresentation