Skip to content

UpdateOptions

Defined in: types.ts:364

optional readMask?: FieldMask

Defined in: types.ts:376

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


optional transaction?: Engine

Defined in: types.ts:388

Run the operation within a transaction.


optional updateMask?: FieldMask

Defined in: types.ts:370

A FieldMask controlling which fields from the input are applied to the existing resource. Overrides the repository’s default update mask. Defaults to "*" (all non-OUTPUT_ONLY fields).


optional validateOnly?: boolean

Defined in: types.ts:385

If true, the resource is validated and merged but not persisted. The returned message reflects what would have been updated (including the recomputed etag), but no database write occurs.

https://google.aip.dev/163