invoke
Creates, updates, deletes, gets or lists an invoke resource.
Overview
| Name | invoke |
| Type | Resource |
| Id | google.aiplatform.invoke |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
invoke | exec | projectsId, locationsId, endpointsId, invokeId | Forwards arbitrary HTTP requests for both streaming and non-streaming cases. To use this method, invoke_route_prefix must be set to allow the paths that will be specified in the request. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
endpointsId | string | |
invokeId | string | |
locationsId | string | |
projectsId | string |
Lifecycle Methods
- invoke
Forwards arbitrary HTTP requests for both streaming and non-streaming cases. To use this method, invoke_route_prefix must be set to allow the paths that will be specified in the request.
EXEC google.aiplatform.invoke.invoke
@projectsId='{{ projectsId }}' --required,
@locationsId='{{ locationsId }}' --required,
@endpointsId='{{ endpointsId }}' --required,
@invokeId='{{ invokeId }}' --required
@@json=
'{
"httpBody": "{{ httpBody }}",
"deployedModelId": "{{ deployedModelId }}"
}'
;