Skip to content

BatchCreateOptions

Defined in: types.ts:425

optional readMask?: FieldMask

Defined in: types.ts:431

A FieldMask controlling which fields are returned on the created resources. Overrides the repository’s default read mask. Defaults to "*".


optional transaction?: Engine

Defined in: types.ts:448

Run the operation within a transaction. When provided, the batch operation participates in the caller’s transaction rather than opening a new one. The caller is responsible for committing or rolling back.


optional validateOnly?: boolean

Defined in: types.ts:440

If true, all resources are validated but not persisted. The returned messages reflect what would have been created (including computed etags), but no database writes occur.

https://google.aip.dev/163