commentsViewMode property
The comments view mode applied to the document.
Output only. Possible string values are:
- "COMMENTS_VIEW_MODE_UNSPECIFIED" : The CommentsViewMode is unspecified. COMMENTS_VIEW_MODE_OMITTED is applied.
- "COMMENTS_VIEW_MODE_DEFAULT_FOR_CURRENT_ACCESS" : The CommentsViewMode applied to the returned document depends on the user's current access level. If the user only has view access, COMMENTS_VIEW_MODE_OMITTED is applied. Otherwise, COMMENTS_VIEW_MODE_INCLUDED is applied.
- "COMMENTS_VIEW_MODE_OMITTED" : The returned document has comments omitted.
- "COMMENTS_VIEW_MODE_INCLUDED" : The returned document has comments included. Requests to retrieve a document using this mode will return a 403 error if the user does not have permission to view comments. When set, suggestions_view_mode must also be set to SUGGESTIONS_INLINE. Returns a 400 bad request error otherwise.
Implementation
core.String? commentsViewMode;