warningOnly property

bool? warningOnly
getter/setter pair

True if this protected range will show a warning when editing.

Warning-based protection means that every user can edit data in the protected range, except editing will prompt a warning asking the user to confirm the edit. When writing: if this field is true, then editors are ignored. Additionally, if this field is changed from true to false and the editors field is not set (nor included in the field mask), then the editors will be set to all the editors in the document.

Implementation

core.bool? warningOnly;