Executes the request against a given extension.
Endpoint
post https:Path parameters
name
string
Required. name (identifier) of the extension; Format: projects/{project}/locations/{location}/extensions/{extension}
Request body
The request body contains data with the following structure:
operationId
string
Required. The desired id of the operation to be executed in this extension as defined in ExtensionOperation.operation_id
.
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][].
Example request
Python
Response body
Response message for ExtensionExecutionService.ExecuteExtension
.
If successful, the response body contains data with the following structure:
content
string
Response content from the extension. The content should be conformant to the response.content schema in the extension's manifest/OpenAPI spec.
JSON representation |
---|
{ "content": string } |