diff --git a/docs/dyn/firebaseml_v2beta.projects.locations.publishers.models.html b/docs/dyn/firebaseml_v2beta.projects.locations.publishers.models.html
index adca9f98aa..a072da15be 100644
--- a/docs/dyn/firebaseml_v2beta.projects.locations.publishers.models.html
+++ b/docs/dyn/firebaseml_v2beta.projects.locations.publishers.models.html
@@ -150,9 +150,13 @@
Method Details
"frequencyPenalty": 3.14, # Optional. Frequency penalties.
"logprobs": 42, # Optional. Logit probabilities.
"maxOutputTokens": 42, # Optional. The maximum number of output tokens to generate per message.
+ "mediaResolution": "A String", # Optional. If specified, the media resolution specified will be used.
"presencePenalty": 3.14, # Optional. Positive penalties.
"responseLogprobs": True or False, # Optional. If true, export the logprobs results in response.
"responseMimeType": "A String", # Optional. Output response mimetype of the generated candidate text. Supported mimetype: - `text/plain`: (default) Text output. - `application/json`: JSON response in the candidates. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature.
+ "responseModalities": [ # Optional. The modalities of the response.
+ "A String",
+ ],
"responseSchema": { # Schema is used to define the format of input/output data. Represents a select subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema-object). More fields may be added in the future as needed. # Optional. The `Schema` object allows the definition of input and output data types. These types can be objects, but also primitives and arrays. Represents a select subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema). If set, a compatible response_mime_type must also be set. Compatible mimetypes: `application/json`: Schema for JSON response.
"anyOf": [ # Optional. The value should be validated against any (one or more) of the subschemas in the list.
# Object with schema name: GoogleCloudAiplatformV1beta1Schema
@@ -196,6 +200,13 @@ Method Details
},
},
"seed": 42, # Optional. Seed.
+ "speechConfig": { # The speech generation config. # Optional. The speech generation config.
+ "voiceConfig": { # The configuration for the voice to use. # The configuration for the speaker to use.
+ "prebuiltVoiceConfig": { # The configuration for the prebuilt speaker to use. # The configuration for the prebuilt voice to use.
+ "voiceName": "A String", # The name of the preset voice to use.
+ },
+ },
+ },
"stopSequences": [ # Optional. Stop sequences.
"A String",
],
@@ -325,6 +336,8 @@ Method Details
},
},
],
+ "googleSearch": { # GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google. # Optional. GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google.
+ },
"googleSearchRetrieval": { # Tool to retrieve public web data for grounding, powered by Google. # Optional. GoogleSearchRetrieval tool type. Specialized retrieval tool that is powered by Google search.
"dynamicRetrievalConfig": { # Describes the options to customize dynamic retrieval. # Specifies the dynamic retrieval configuration for the given source.
"dynamicThreshold": 3.14, # Optional. The threshold to be used in dynamic retrieval. If not set, a system default value is used.
@@ -448,9 +461,13 @@ Method Details
"frequencyPenalty": 3.14, # Optional. Frequency penalties.
"logprobs": 42, # Optional. Logit probabilities.
"maxOutputTokens": 42, # Optional. The maximum number of output tokens to generate per message.
+ "mediaResolution": "A String", # Optional. If specified, the media resolution specified will be used.
"presencePenalty": 3.14, # Optional. Positive penalties.
"responseLogprobs": True or False, # Optional. If true, export the logprobs results in response.
"responseMimeType": "A String", # Optional. Output response mimetype of the generated candidate text. Supported mimetype: - `text/plain`: (default) Text output. - `application/json`: JSON response in the candidates. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature.
+ "responseModalities": [ # Optional. The modalities of the response.
+ "A String",
+ ],
"responseSchema": { # Schema is used to define the format of input/output data. Represents a select subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema-object). More fields may be added in the future as needed. # Optional. The `Schema` object allows the definition of input and output data types. These types can be objects, but also primitives and arrays. Represents a select subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema). If set, a compatible response_mime_type must also be set. Compatible mimetypes: `application/json`: Schema for JSON response.
"anyOf": [ # Optional. The value should be validated against any (one or more) of the subschemas in the list.
# Object with schema name: GoogleCloudAiplatformV1beta1Schema
@@ -494,6 +511,13 @@ Method Details
},
},
"seed": 42, # Optional. Seed.
+ "speechConfig": { # The speech generation config. # Optional. The speech generation config.
+ "voiceConfig": { # The configuration for the voice to use. # The configuration for the speaker to use.
+ "prebuiltVoiceConfig": { # The configuration for the prebuilt speaker to use. # The configuration for the prebuilt voice to use.
+ "voiceName": "A String", # The name of the preset voice to use.
+ },
+ },
+ },
"stopSequences": [ # Optional. Stop sequences.
"A String",
],
@@ -637,6 +661,8 @@ Method Details
},
},
],
+ "googleSearch": { # GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google. # Optional. GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google.
+ },
"googleSearchRetrieval": { # Tool to retrieve public web data for grounding, powered by Google. # Optional. GoogleSearchRetrieval tool type. Specialized retrieval tool that is powered by Google search.
"dynamicRetrievalConfig": { # Describes the options to customize dynamic retrieval. # Specifies the dynamic retrieval configuration for the given source.
"dynamicThreshold": 3.14, # Optional. The threshold to be used in dynamic retrieval. If not set, a system default value is used.
@@ -917,9 +943,13 @@ Method Details
"frequencyPenalty": 3.14, # Optional. Frequency penalties.
"logprobs": 42, # Optional. Logit probabilities.
"maxOutputTokens": 42, # Optional. The maximum number of output tokens to generate per message.
+ "mediaResolution": "A String", # Optional. If specified, the media resolution specified will be used.
"presencePenalty": 3.14, # Optional. Positive penalties.
"responseLogprobs": True or False, # Optional. If true, export the logprobs results in response.
"responseMimeType": "A String", # Optional. Output response mimetype of the generated candidate text. Supported mimetype: - `text/plain`: (default) Text output. - `application/json`: JSON response in the candidates. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature.
+ "responseModalities": [ # Optional. The modalities of the response.
+ "A String",
+ ],
"responseSchema": { # Schema is used to define the format of input/output data. Represents a select subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema-object). More fields may be added in the future as needed. # Optional. The `Schema` object allows the definition of input and output data types. These types can be objects, but also primitives and arrays. Represents a select subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema). If set, a compatible response_mime_type must also be set. Compatible mimetypes: `application/json`: Schema for JSON response.
"anyOf": [ # Optional. The value should be validated against any (one or more) of the subschemas in the list.
# Object with schema name: GoogleCloudAiplatformV1beta1Schema
@@ -963,6 +993,13 @@ Method Details
},
},
"seed": 42, # Optional. Seed.
+ "speechConfig": { # The speech generation config. # Optional. The speech generation config.
+ "voiceConfig": { # The configuration for the voice to use. # The configuration for the speaker to use.
+ "prebuiltVoiceConfig": { # The configuration for the prebuilt speaker to use. # The configuration for the prebuilt voice to use.
+ "voiceName": "A String", # The name of the preset voice to use.
+ },
+ },
+ },
"stopSequences": [ # Optional. Stop sequences.
"A String",
],
@@ -1106,6 +1143,8 @@ Method Details
},
},
],
+ "googleSearch": { # GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google. # Optional. GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google.
+ },
"googleSearchRetrieval": { # Tool to retrieve public web data for grounding, powered by Google. # Optional. GoogleSearchRetrieval tool type. Specialized retrieval tool that is powered by Google search.
"dynamicRetrievalConfig": { # Describes the options to customize dynamic retrieval. # Specifies the dynamic retrieval configuration for the given source.
"dynamicThreshold": 3.14, # Optional. The threshold to be used in dynamic retrieval. If not set, a system default value is used.
diff --git a/googleapiclient/discovery_cache/documents/firebaseml.v2beta.json b/googleapiclient/discovery_cache/documents/firebaseml.v2beta.json
index 1f16d3ecaa..af0f41dd1b 100644
--- a/googleapiclient/discovery_cache/documents/firebaseml.v2beta.json
+++ b/googleapiclient/discovery_cache/documents/firebaseml.v2beta.json
@@ -206,7 +206,7 @@
}
}
},
-"revision": "20241117",
+"revision": "20241204",
"rootUrl": "https://firebaseml.googleapis.com/",
"schemas": {
"Date": {
@@ -812,6 +812,22 @@
"format": "int32",
"type": "integer"
},
+"mediaResolution": {
+"description": "Optional. If specified, the media resolution specified will be used.",
+"enum": [
+"MEDIA_RESOLUTION_UNSPECIFIED",
+"MEDIA_RESOLUTION_LOW",
+"MEDIA_RESOLUTION_MEDIUM",
+"MEDIA_RESOLUTION_HIGH"
+],
+"enumDescriptions": [
+"Media resolution has not been set.",
+"Media resolution set to low (64 tokens).",
+"Media resolution set to medium (256 tokens).",
+"Media resolution set to high (zoomed reframing with 256 tokens)."
+],
+"type": "string"
+},
"presencePenalty": {
"description": "Optional. Positive penalties.",
"format": "float",
@@ -825,6 +841,25 @@
"description": "Optional. Output response mimetype of the generated candidate text. Supported mimetype: - `text/plain`: (default) Text output. - `application/json`: JSON response in the candidates. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature.",
"type": "string"
},
+"responseModalities": {
+"description": "Optional. The modalities of the response.",
+"items": {
+"enum": [
+"MODALITY_UNSPECIFIED",
+"TEXT",
+"IMAGE",
+"AUDIO"
+],
+"enumDescriptions": [
+"Unspecified modality. Will be processed as text.",
+"Text modality.",
+"Image modality.",
+"Audio modality."
+],
+"type": "string"
+},
+"type": "array"
+},
"responseSchema": {
"$ref": "GoogleCloudAiplatformV1beta1Schema",
"description": "Optional. The `Schema` object allows the definition of input and output data types. These types can be objects, but also primitives and arrays. Represents a select subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema). If set, a compatible response_mime_type must also be set. Compatible mimetypes: `application/json`: Schema for JSON response."
@@ -838,6 +873,10 @@
"format": "int32",
"type": "integer"
},
+"speechConfig": {
+"$ref": "GoogleCloudAiplatformV1beta1SpeechConfig",
+"description": "Optional. The speech generation config."
+},
"stopSequences": {
"description": "Optional. Stop sequences.",
"items": {
@@ -1138,6 +1177,17 @@
},
"type": "object"
},
+"GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig": {
+"description": "The configuration for the prebuilt speaker to use.",
+"id": "GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig",
+"properties": {
+"voiceName": {
+"description": "The name of the preset voice to use.",
+"type": "string"
+}
+},
+"type": "object"
+},
"GoogleCloudAiplatformV1beta1RagRetrievalConfig": {
"description": "Specifies the context retrieval config.",
"id": "GoogleCloudAiplatformV1beta1RagRetrievalConfig",
@@ -1590,6 +1640,17 @@
},
"type": "object"
},
+"GoogleCloudAiplatformV1beta1SpeechConfig": {
+"description": "The speech generation config.",
+"id": "GoogleCloudAiplatformV1beta1SpeechConfig",
+"properties": {
+"voiceConfig": {
+"$ref": "GoogleCloudAiplatformV1beta1VoiceConfig",
+"description": "The configuration for the speaker to use."
+}
+},
+"type": "object"
+},
"GoogleCloudAiplatformV1beta1Tool": {
"description": "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 Tool object should contain exactly one type of Tool (e.g FunctionDeclaration, Retrieval or GoogleSearchRetrieval).",
"id": "GoogleCloudAiplatformV1beta1Tool",
@@ -1605,6 +1666,10 @@
},
"type": "array"
},
+"googleSearch": {
+"$ref": "GoogleCloudAiplatformV1beta1ToolGoogleSearch",
+"description": "Optional. GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google."
+},
"googleSearchRetrieval": {
"$ref": "GoogleCloudAiplatformV1beta1GoogleSearchRetrieval",
"description": "Optional. GoogleSearchRetrieval tool type. Specialized retrieval tool that is powered by Google search."
@@ -1633,6 +1698,12 @@
},
"type": "object"
},
+"GoogleCloudAiplatformV1beta1ToolGoogleSearch": {
+"description": "GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google.",
+"id": "GoogleCloudAiplatformV1beta1ToolGoogleSearch",
+"properties": {},
+"type": "object"
+},
"GoogleCloudAiplatformV1beta1VertexAISearch": {
"description": "Retrieve from Vertex AI Search datastore for grounding. See https://cloud.google.com/products/agent-builder",
"id": "GoogleCloudAiplatformV1beta1VertexAISearch",
@@ -1717,6 +1788,17 @@
},
"type": "object"
},
+"GoogleCloudAiplatformV1beta1VoiceConfig": {
+"description": "The configuration for the voice to use.",
+"id": "GoogleCloudAiplatformV1beta1VoiceConfig",
+"properties": {
+"prebuiltVoiceConfig": {
+"$ref": "GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig",
+"description": "The configuration for the prebuilt voice to use."
+}
+},
+"type": "object"
+},
"ModelOperationMetadata": {
"description": "This is returned in the longrunning operations for create/update.",
"id": "ModelOperationMetadata",