View Source GoogleApi.Drive.V3.Model.DriveCapabilities (google_api_drive v0.25.0)

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

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.