GoogleApi.Drive.V3.Model.ContentRestriction (google_api_drive v0.20.2) View Source
A restriction for accessing the content of the file.
Attributes
-
readOnly(type:boolean(), default:nil) - 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(type:String.t, default:nil) - Reason for why the content of the file is restricted. This is only mutable on requests that also set readOnly=true. -
restrictingUser(type:GoogleApi.Drive.V3.Model.User.t, default:nil) - The user who set the content restriction. Only populated if readOnly is true. -
restrictionTime(type:DateTime.t, default:nil) - The time at which the content restriction was set (formatted RFC 3339 timestamp). Only populated if readOnly is true. -
type(type:String.t, default:nil) - The type of the content restriction. Currently the only possible value is globalContentRestriction.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Specs
t() :: %GoogleApi.Drive.V3.Model.ContentRestriction{
readOnly: boolean(),
reason: String.t(),
restrictingUser: GoogleApi.Drive.V3.Model.User.t(),
restrictionTime: DateTime.t(),
type: String.t()
}
Link to this section Functions
Specs
Unwrap a decoded JSON object into its complex fields.