RecordField enum
sasha.common.public.RecordField · sasha/common/public/record_field.proto:19
Identifies a core (strongly-typed) field of sasha.common.public.Record
for access-control and disclosure purposes.
A closed enum is used deliberately instead of raw protobuf field numbers:
access-control data is persisted, and binding it to wire field numbers would
let a future renumbering silently re-point a grant. Custom
fields (Record.custom_fields) are addressed by their string key, not this
enum.
| 0 | RECORD_FIELD_UNSPECIFIED | Default value; identifies no field. |
| 1 | RECORD_FIELD_SHARE_STATE | Record.share_state: the creator-declared share state of the media. |
| 2 | RECORD_FIELD_ALLOWED_PUBLISH_URLS | Record.allowed_publish_urls: the URL patterns the display URL of the media is allowed to match. |
| 3 | RECORD_FIELD_ALLOWED_SOURCE_URLS | Record.allowed_source_urls: the URL patterns the storage/CDN address of the media bytes is allowed to match. |
| 4 | RECORD_FIELD_ALLOWED_FROM | Record.allowed_from: the time before which the media is not allowed to be available. |
| 5 | RECORD_FIELD_ALLOWED_TO | Record.allowed_to: the time after which the media is not allowed to be available. |
| 6 | RECORD_FIELD_BYLINE | Record.byline: the display text shown alongside the media, e.g. a photographer credit. |
| 7 | RECORD_FIELD_PURCHASE_URL | Record.purchase_url: the URL where the media can be purchased or licensed. |
| 8 | RECORD_FIELD_LICENSEE | Record.licensee: the legal business name of the entity that has licensed the media. |
| 9 | RECORD_FIELD_ASSET_SOURCE_ID | Record.asset_source_id: the creator's own identifier for the media in their system. |