Starting April 29, 2025, Gemini 1.5 Pro and Gemini 1.5 Flash models are not available in projects that have no prior usage of these models, including new projects. For details, see Model versions and lifecycle.
Optional. Request parameters that will be used for executing this operation.
The struct should be in a form of map with param name as the key and actual param value as the value. E.g. If this operation requires a param "name" to be set to "abc". you can set this to something like {"name": "abc"}.
Optional. Auth config provided at runtime to override the default value in [Extension.manifest.auth_config][]. The AuthConfig.auth_type should match the value in [Extension.manifest.auth_config][].
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-27 UTC."],[],[],null,["# Method: extensions.execute\n\n**Full name**: projects.locations.extensions.execute\n\nExecutes the request against a given extension. \n\n### Endpoint\n\npost `https:``/``/aiplatform.googleapis.com``/v1beta1``/{name}:execute` \n\n### Path parameters\n\n`name` `string` \nRequired. name (identifier) of the extension; Format: `projects/{project}/locations/{location}/extensions/{extension}`\n\n### Request body\n\nThe request body contains data with the following structure:\nFields `operationId` `string` \nRequired. The desired id of the operation to be executed in this extension as defined in [ExtensionOperation.operation_id](/vertex-ai/generative-ai/docs/reference/rest/v1beta1/projects.locations.extensions#ExtensionOperation.FIELDS.operation_id).\n`operationParams` `object (`[Struct](https://protobuf.dev/reference/protobuf/google.protobuf/#struct)` format)` \nOptional. Request parameters that will be used for executing this operation.\n\nThe struct should be in a form of map with param name as the key and actual param value as the value. E.g. If this operation requires a param \"name\" to be set to \"abc\". you can set this to something like {\"name\": \"abc\"}.\n`runtimeAuthConfig` `object (`[AuthConfig](/vertex-ai/generative-ai/docs/reference/rest/v1beta1/AuthConfig)`)` \nOptional. Auth config provided at runtime to override the default value in \\[Extension.manifest.auth_config\\]\\[\\]. The AuthConfig.auth_type should match the value in \\[Extension.manifest.auth_config\\]\\[\\]. \n\n### Response body\n\nResponse message for [ExtensionExecutionService.ExecuteExtension](/vertex-ai/generative-ai/docs/reference/rest/v1beta1/projects.locations.extensions/execute#google.cloud.aiplatform.v1beta1.ExtensionExecutionService.ExecuteExtension).\n\nIf successful, the response body contains data with the following structure:\nFields `content` `string` \nResponse content from the extension. The content should be conformant to the response.content schema in the extension's manifest/OpenAPI spec."]]