Interface Schema$ContentRestriction

A restriction for accessing the content of the file.

Hierarchy

  • Schema$ContentRestriction

Properties

readOnly?: boolean

Whether the content of the file is read-only. If a file is read-only, a new revision of the file may not be added, comments may not be added or modified, and the title of the file may not be modified.

reason?: string

Reason for why the content of the file is restricted. This is only mutable on requests that also set readOnly=true.

restrictingUser?: Schema$User

The user who set the content restriction. Only populated if readOnly is true.

restrictionTime?: string

The time at which the content restriction was set (formatted RFC 3339 timestamp). Only populated if readOnly is true.

type?: string

The type of the content restriction. Currently the only possible value is globalContentRestriction.

Generated using TypeDoc