generate_content_batches
Creates, updates, deletes, gets or lists a generate_content_batches resource.
Overview
| Name | generate_content_batches |
| Type | Resource |
| Id | gemini.batches.generate_content_batches |
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 |
|---|---|---|---|---|
patch | update | batchesId | updateMask | Updates a batch of GenerateContent requests for batch processing. |
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 |
|---|---|---|
batchesId | string | |
updateMask | string (google-fieldmask) | Optional. The list of fields to update. |
UPDATE examples
- patch
Updates a batch of GenerateContent requests for batch processing.
UPDATE gemini.batches.generate_content_batches
SET
priority = '{{ priority }}',
inputConfig = '{{ inputConfig }}',
model = '{{ model }}',
displayName = '{{ displayName }}'
WHERE
batchesId = '{{ batchesId }}' --required
WHERE updateMask = '{{ updateMask}}'
RETURNING
name,
batchStats,
createTime,
displayName,
endTime,
inputConfig,
model,
output,
priority,
state,
updateTime;