|
206 | 206 | } |
207 | 207 | } |
208 | 208 | }, |
209 | | - "revision": "20250930", |
| 209 | + "revision": "20251005", |
210 | 210 | "rootUrl": "https://firebaseml.googleapis.com/", |
211 | 211 | "schemas": { |
212 | 212 | "Date": { |
|
949 | 949 | "description": "Required. The name of the function to call. Matches [FunctionDeclaration.name] and [FunctionCall.name].", |
950 | 950 | "type": "string" |
951 | 951 | }, |
| 952 | + "parts": { |
| 953 | + "description": "Optional. Ordered `Parts` that constitute a function response. Parts may have different IANA MIME types.", |
| 954 | + "items": { |
| 955 | + "$ref": "GoogleCloudAiplatformV1beta1FunctionResponsePart" |
| 956 | + }, |
| 957 | + "type": "array" |
| 958 | + }, |
952 | 959 | "response": { |
953 | 960 | "additionalProperties": { |
954 | 961 | "description": "Properties of the object.", |
|
960 | 967 | }, |
961 | 968 | "type": "object" |
962 | 969 | }, |
| 970 | + "GoogleCloudAiplatformV1beta1FunctionResponseBlob": { |
| 971 | + "description": "Raw media bytes for function response. Text should not be sent as raw bytes, use the 'text' field.", |
| 972 | + "id": "GoogleCloudAiplatformV1beta1FunctionResponseBlob", |
| 973 | + "properties": { |
| 974 | + "data": { |
| 975 | + "description": "Required. Raw bytes.", |
| 976 | + "format": "byte", |
| 977 | + "type": "string" |
| 978 | + }, |
| 979 | + "displayName": { |
| 980 | + "description": "Optional. Display name of the blob. Used to provide a label or filename to distinguish blobs. This field is only returned in PromptMessage for prompt management. It is currently used in the Gemini GenerateContent calls only when server side tools (code_execution, google_search, and url_context) are enabled.", |
| 981 | + "type": "string" |
| 982 | + }, |
| 983 | + "mimeType": { |
| 984 | + "description": "Required. The IANA standard MIME type of the source data.", |
| 985 | + "type": "string" |
| 986 | + } |
| 987 | + }, |
| 988 | + "type": "object" |
| 989 | + }, |
| 990 | + "GoogleCloudAiplatformV1beta1FunctionResponseFileData": { |
| 991 | + "description": "URI based data for function response.", |
| 992 | + "id": "GoogleCloudAiplatformV1beta1FunctionResponseFileData", |
| 993 | + "properties": { |
| 994 | + "displayName": { |
| 995 | + "description": "Optional. Display name of the file data. Used to provide a label or filename to distinguish file datas. This field is only returned in PromptMessage for prompt management. It is currently used in the Gemini GenerateContent calls only when server side tools (code_execution, google_search, and url_context) are enabled.", |
| 996 | + "type": "string" |
| 997 | + }, |
| 998 | + "fileUri": { |
| 999 | + "description": "Required. URI.", |
| 1000 | + "type": "string" |
| 1001 | + }, |
| 1002 | + "mimeType": { |
| 1003 | + "description": "Required. The IANA standard MIME type of the source data.", |
| 1004 | + "type": "string" |
| 1005 | + } |
| 1006 | + }, |
| 1007 | + "type": "object" |
| 1008 | + }, |
| 1009 | + "GoogleCloudAiplatformV1beta1FunctionResponsePart": { |
| 1010 | + "description": "A datatype containing media that is part of a `FunctionResponse` message. A `FunctionResponsePart` consists of data which has an associated datatype. A `FunctionResponsePart` can only contain one of the accepted types in `FunctionResponsePart.data`. A `FunctionResponsePart` must have a fixed IANA MIME type identifying the type and subtype of the media if the `inline_data` field is filled with raw bytes.", |
| 1011 | + "id": "GoogleCloudAiplatformV1beta1FunctionResponsePart", |
| 1012 | + "properties": { |
| 1013 | + "fileData": { |
| 1014 | + "$ref": "GoogleCloudAiplatformV1beta1FunctionResponseFileData", |
| 1015 | + "description": "URI based data." |
| 1016 | + }, |
| 1017 | + "inlineData": { |
| 1018 | + "$ref": "GoogleCloudAiplatformV1beta1FunctionResponseBlob", |
| 1019 | + "description": "Inline media bytes." |
| 1020 | + } |
| 1021 | + }, |
| 1022 | + "type": "object" |
| 1023 | + }, |
963 | 1024 | "GoogleCloudAiplatformV1beta1GenerateContentRequest": { |
964 | 1025 | "description": "Request message for [PredictionService.GenerateContent].", |
965 | 1026 | "id": "GoogleCloudAiplatformV1beta1GenerateContentRequest", |
|
1775 | 1836 | }, |
1776 | 1837 | "type": "object" |
1777 | 1838 | }, |
| 1839 | + "GoogleCloudAiplatformV1beta1MultiSpeakerVoiceConfig": { |
| 1840 | + "description": "Configuration for a multi-speaker text-to-speech setup. Enables the use of up to two distinct voices in a single synthesis request.", |
| 1841 | + "id": "GoogleCloudAiplatformV1beta1MultiSpeakerVoiceConfig", |
| 1842 | + "properties": { |
| 1843 | + "speakerVoiceConfigs": { |
| 1844 | + "description": "Required. A list of configurations for the voices of the speakers. Exactly two speaker voice configurations must be provided.", |
| 1845 | + "items": { |
| 1846 | + "$ref": "GoogleCloudAiplatformV1beta1SpeakerVoiceConfig" |
| 1847 | + }, |
| 1848 | + "type": "array" |
| 1849 | + } |
| 1850 | + }, |
| 1851 | + "type": "object" |
| 1852 | + }, |
1778 | 1853 | "GoogleCloudAiplatformV1beta1Part": { |
1779 | 1854 | "description": "A datatype containing media that is part of a multi-part `Content` message. A `Part` consists of data which has an associated datatype. A `Part` can only contain one of the accepted types in `Part.data`. A `Part` must have a fixed IANA MIME type identifying the type and subtype of the media if `inline_data` or `file_data` field is filled with raw bytes.", |
1780 | 1855 | "id": "GoogleCloudAiplatformV1beta1Part", |
|
2421 | 2496 | }, |
2422 | 2497 | "type": "object" |
2423 | 2498 | }, |
| 2499 | + "GoogleCloudAiplatformV1beta1SpeakerVoiceConfig": { |
| 2500 | + "description": "Configuration for a single speaker in a multi speaker setup.", |
| 2501 | + "id": "GoogleCloudAiplatformV1beta1SpeakerVoiceConfig", |
| 2502 | + "properties": { |
| 2503 | + "speaker": { |
| 2504 | + "description": "Required. The name of the speaker. This should be the same as the speaker name used in the prompt.", |
| 2505 | + "type": "string" |
| 2506 | + }, |
| 2507 | + "voiceConfig": { |
| 2508 | + "$ref": "GoogleCloudAiplatformV1beta1VoiceConfig", |
| 2509 | + "description": "Required. The configuration for the voice of this speaker." |
| 2510 | + } |
| 2511 | + }, |
| 2512 | + "type": "object" |
| 2513 | + }, |
2424 | 2514 | "GoogleCloudAiplatformV1beta1SpeechConfig": { |
2425 | 2515 | "description": "The speech generation config.", |
2426 | 2516 | "id": "GoogleCloudAiplatformV1beta1SpeechConfig", |
|
2429 | 2519 | "description": "Optional. Language code (ISO 639. e.g. en-US) for the speech synthesization.", |
2430 | 2520 | "type": "string" |
2431 | 2521 | }, |
| 2522 | + "multiSpeakerVoiceConfig": { |
| 2523 | + "$ref": "GoogleCloudAiplatformV1beta1MultiSpeakerVoiceConfig", |
| 2524 | + "description": "The configuration for a multi-speaker text-to-speech request. This field is mutually exclusive with `voice_config`." |
| 2525 | + }, |
2432 | 2526 | "voiceConfig": { |
2433 | 2527 | "$ref": "GoogleCloudAiplatformV1beta1VoiceConfig", |
2434 | 2528 | "description": "The configuration for the speaker to use." |
|
2444 | 2538 | "$ref": "GoogleCloudAiplatformV1beta1ToolCodeExecution", |
2445 | 2539 | "description": "Optional. CodeExecution tool type. Enables the model to execute code as part of generation." |
2446 | 2540 | }, |
| 2541 | + "computerUse": { |
| 2542 | + "$ref": "GoogleCloudAiplatformV1beta1ToolComputerUse", |
| 2543 | + "description": "Optional. Tool to support the model interacting directly with the computer. If enabled, it automatically populates computer-use specific Function Declarations." |
| 2544 | + }, |
2447 | 2545 | "enterpriseWebSearch": { |
2448 | 2546 | "$ref": "GoogleCloudAiplatformV1beta1EnterpriseWebSearch", |
2449 | 2547 | "description": "Optional. Tool to support searching public web data, powered by Vertex AI Search and Sec4 compliance." |
|
2485 | 2583 | "properties": {}, |
2486 | 2584 | "type": "object" |
2487 | 2585 | }, |
| 2586 | + "GoogleCloudAiplatformV1beta1ToolComputerUse": { |
| 2587 | + "description": "Tool to support computer use.", |
| 2588 | + "id": "GoogleCloudAiplatformV1beta1ToolComputerUse", |
| 2589 | + "properties": { |
| 2590 | + "environment": { |
| 2591 | + "description": "Required. The environment being operated.", |
| 2592 | + "enum": [ |
| 2593 | + "ENVIRONMENT_UNSPECIFIED", |
| 2594 | + "ENVIRONMENT_BROWSER" |
| 2595 | + ], |
| 2596 | + "enumDescriptions": [ |
| 2597 | + "Defaults to browser.", |
| 2598 | + "Operates in a web browser." |
| 2599 | + ], |
| 2600 | + "type": "string" |
| 2601 | + }, |
| 2602 | + "excludedPredefinedFunctions": { |
| 2603 | + "description": "Optional. By default, predefined functions are included in the final model call. Some of them can be explicitly excluded from being automatically included. This can serve two purposes: 1. Using a more restricted / different action space. 2. Improving the definitions / instructions of predefined functions.", |
| 2604 | + "items": { |
| 2605 | + "type": "string" |
| 2606 | + }, |
| 2607 | + "type": "array" |
| 2608 | + } |
| 2609 | + }, |
| 2610 | + "type": "object" |
| 2611 | + }, |
2488 | 2612 | "GoogleCloudAiplatformV1beta1ToolConfig": { |
2489 | 2613 | "description": "Tool config. This config is shared for all tools provided in the request.", |
2490 | 2614 | "id": "GoogleCloudAiplatformV1beta1ToolConfig", |
|
0 commit comments