Update Entity Type Field
Update an entity type field: rename it (set name) and/or change its data type (set data_type, plus enum_options when the new type is ENUM/MULTI_SELECT). At most one attribute may change per request. This is an asynchronous schema migration: the response contains schema_migration_id, which you poll via Get Schema Migration to track completion.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The ID of the entity type field to update.
Body
New display name. When provided and different from the current name, the field is renamed (key re-derived via slugify). Omit to leave unchanged.
New data type. When provided and different from the current type, the field's type is changed and existing values are converted. Omit to leave unchanged.
DATA_TYPE_UNSPECIFIED, TEXT, NUMBER, BOOL, TIMESTAMP, ENUM, ENTITY_REF, USER_REF, UNIQUE, MULTI_SELECT, FILE Required when data_type is changing to ENUM or MULTI_SELECT: the option set for the converted field.
Response
Success
Reference to the staged migration applying the change. data.schema_migration_id is empty if the request was a no-op. At most one attribute may change per request; changing both name and data_type at once returns InvalidArgument.

