suggestionsViewMode property

String? suggestionsViewMode
getter/setter pair

The suggestions view mode applied to the document.

Note: When editing a document, changes must be based on a document with SUGGESTIONS_INLINE.

Output only. Possible string values are:

  • "DEFAULT_FOR_CURRENT_ACCESS" : The SuggestionsViewMode applied to the returned document depends on the user's current access level. If the user only has view access, PREVIEW_WITHOUT_SUGGESTIONS is applied. Otherwise, SUGGESTIONS_INLINE is applied. This is the default suggestions view mode.
  • "SUGGESTIONS_INLINE" : The returned document has suggestions inline. Suggested changes will be differentiated from base content within the document. Requests to retrieve a document using this mode will return a 403 error if the user does not have permission to view suggested changes.
  • "PREVIEW_SUGGESTIONS_ACCEPTED" : The returned document is a preview with all suggested changes accepted. Requests to retrieve a document using this mode will return a 403 error if the user does not have permission to view suggested changes.
  • "PREVIEW_WITHOUT_SUGGESTIONS" : The returned document is a preview with all suggested changes rejected if there are any suggestions in the document.

Implementation

core.String? suggestionsViewMode;