Skip to main content

generate_content_batches

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

Overview

Namegenerate_content_batches
TypeResource
Idgemini.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:

NameAccessible byRequired ParamsOptional ParamsDescription
patchupdatebatchesIdupdateMaskUpdates 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.

NameDatatypeDescription
batchesIdstring
updateMaskstring (google-fieldmask)Optional. The list of fields to update.

UPDATE examples

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;