google_api_drive v0.16.0 GoogleApi.Drive.V3.Model.ContentRestriction 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. -
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.