Skip to main content

responses

Creates, updates, deletes, gets or lists a responses resource.

Overview​

Nameresponses
TypeResource
Idgoogle.aiplatform.responses

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:

NameAccessible byRequired ParamsOptional ParamsDescription
compactexecprojectsId, locationsId, publishersIddeployedModelIdForwards 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.

NameDatatypeDescription
locationsIdstring
projectsIdstring
publishersIdstring
deployedModelIdstring

Lifecycle Methods​

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.responses.compact
@projectsId='{{ projectsId }}' --required,
@locationsId='{{ locationsId }}' --required,
@publishersId='{{ publishersId }}' --required,
@deployedModelId='{{ deployedModelId }}'
@@json=
'{
"contentType": "{{ contentType }}",
"data": "{{ data }}",
"extensions": "{{ extensions }}"
}'
;