This is a list that contains the valid values for granting access to other users (see
Share
). If you wish, you can specify access roles using the list values, e.g.,
SharingRole$ReadWrite
instead of typing the string "READ_WRITE". This way you can
benefit from autocomplete and not have to remember the valid options.
SharingRole
An object of class list
of length 6.
Owner
allows any action including deletion.
ReadWrite
or Editor
allows modifications to the state, e.g., renaming
and creating data sources from a data store, but *not* deleting the entity.
ReadOnly
or Consumer
- for data sources, enables creating projects and predictions;
for data stores, allows viewing them only.