google_api_drive v0.15.0 GoogleApi.Drive.V3.Model.DriveCapabilities View Source

Capabilities the current user has on this shared drive.

Attributes

  • canAddChildren (type: boolean(), default: nil) - Whether the current user can add children to folders in this shared drive.
  • canChangeCopyRequiresWriterPermissionRestriction (type: boolean(), default: nil) - Whether the current user can change the copyRequiresWriterPermission restriction of this shared drive.
  • canChangeDomainUsersOnlyRestriction (type: boolean(), default: nil) - Whether the current user can change the domainUsersOnly restriction of this shared drive.
  • canChangeDriveBackground (type: boolean(), default: nil) - Whether the current user can change the background of this shared drive.
  • canChangeDriveMembersOnlyRestriction (type: boolean(), default: nil) - Whether the current user can change the driveMembersOnly restriction of this shared drive.
  • canComment (type: boolean(), default: nil) - Whether the current user can comment on files in this shared drive.
  • canCopy (type: boolean(), default: nil) - Whether the current user can copy files in this shared drive.
  • canDeleteChildren (type: boolean(), default: nil) - Whether the current user can delete children from folders in this shared drive.
  • canDeleteDrive (type: boolean(), default: nil) - Whether the current user can delete this shared drive. Attempting to delete the shared drive may still fail if there are untrashed items inside the shared drive.
  • canDownload (type: boolean(), default: nil) - Whether the current user can download files in this shared drive.
  • canEdit (type: boolean(), default: nil) - Whether the current user can edit files in this shared drive
  • canListChildren (type: boolean(), default: nil) - Whether the current user can list the children of folders in this shared drive.
  • canManageMembers (type: boolean(), default: nil) - Whether the current user can add members to this shared drive or remove them or change their role.
  • canReadRevisions (type: boolean(), default: nil) - Whether the current user can read the revisions resource of files in this shared drive.
  • canRename (type: boolean(), default: nil) - Whether the current user can rename files or folders in this shared drive.
  • canRenameDrive (type: boolean(), default: nil) - Whether the current user can rename this shared drive.
  • canShare (type: boolean(), default: nil) - Whether the current user can share files or folders in this shared drive.
  • canTrashChildren (type: boolean(), default: nil) - Whether the current user can trash children from folders in this shared drive.

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.DriveCapabilities{
  canAddChildren: boolean(),
  canChangeCopyRequiresWriterPermissionRestriction: boolean(),
  canChangeDomainUsersOnlyRestriction: boolean(),
  canChangeDriveBackground: boolean(),
  canChangeDriveMembersOnlyRestriction: boolean(),
  canComment: boolean(),
  canCopy: boolean(),
  canDeleteChildren: boolean(),
  canDeleteDrive: boolean(),
  canDownload: boolean(),
  canEdit: boolean(),
  canListChildren: boolean(),
  canManageMembers: boolean(),
  canReadRevisions: boolean(),
  canRename: boolean(),
  canRenameDrive: boolean(),
  canShare: boolean(),
  canTrashChildren: boolean()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.