Show / Hide Table of Contents

Enum SpreadsheetsResource.GetRequest.CommentsViewModeEnum

The comments view mode to apply to the spreadsheet. This allows viewing the spreadsheet with comments omitted or included. If one is not specified, COMMENTS_VIEW_MODE_OMITTED is used.

Namespace: Google.Apis.Sheets.v4
Assembly: Google.Apis.Sheets.v4.dll
Syntax
public enum SpreadsheetsResource.GetRequest.CommentsViewModeEnum

Fields

Name Description
COMMENTSVIEWMODEDEFAULTFORCURRENTACCESS

The CommentsViewMode applied to the returned spreadsheet 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.

COMMENTSVIEWMODEINCLUDED

The returned spreadsheet has comments included. Requests to retrieve a spreadsheet using this mode will return a 403 error if the user does not have permission to view comments.

COMMENTSVIEWMODEOMITTED

The returned spreadsheet has comments omitted.

COMMENTSVIEWMODEUNSPECIFIED

The CommentsViewMode is unspecified; COMMENTS_VIEW_MODE_OMITTED is applied.

In this article
Back to top Generated by DocFX