google_api_drive_activity v0.6.0 GoogleApi.DriveActivity.V2.Model.Permission View Source
The permission setting of an object.
Attributes
-
allowDiscovery
(type:boolean()
, default:nil
) - If true, the item can be discovered (e.g. in the user's "Shared with me" collection) without needing a link to the item. -
anyone
(type:GoogleApi.DriveActivity.V2.Model.Anyone.t
, default:nil
) - If set, this permission applies to anyone, even logged out users. -
domain
(type:GoogleApi.DriveActivity.V2.Model.Domain.t
, default:nil
) - The domain to whom this permission applies. -
group
(type:GoogleApi.DriveActivity.V2.Model.Group.t
, default:nil
) - The group to whom this permission applies. -
role
(type:String.t
, default:nil
) - Indicates the <a href="/drive/web/manage-sharing#roles">Google Drive permissions role</a>. The role determines a user's ability to read, write, and comment on items. -
user
(type:GoogleApi.DriveActivity.V2.Model.User.t
, default:nil
) - The user to whom this permission applies.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Specs
t() :: %GoogleApi.DriveActivity.V2.Model.Permission{ allowDiscovery: boolean(), anyone: GoogleApi.DriveActivity.V2.Model.Anyone.t(), domain: GoogleApi.DriveActivity.V2.Model.Domain.t(), group: GoogleApi.DriveActivity.V2.Model.Group.t(), role: String.t(), user: GoogleApi.DriveActivity.V2.Model.User.t() }
Link to this section Functions
Specs
Unwrap a decoded JSON object into its complex fields.