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

Capabilities the current user has on this Team Drive.

Attributes

  • canAddChildren (type: boolean(), default: nil) - Whether the current user can add children to folders in this Team Drive.
  • canChangeCopyRequiresWriterPermissionRestriction (type: boolean(), default: nil) - Whether the current user can change the copyRequiresWriterPermission restriction of this Team Drive.
  • canChangeDomainUsersOnlyRestriction (type: boolean(), default: nil) - Whether the current user can change the domainUsersOnly restriction of this Team Drive.
  • canChangeTeamDriveBackground (type: boolean(), default: nil) - Whether the current user can change the background of this Team Drive.
  • canChangeTeamMembersOnlyRestriction (type: boolean(), default: nil) - Whether the current user can change the teamMembersOnly restriction of this Team Drive.
  • canComment (type: boolean(), default: nil) - Whether the current user can comment on files in this Team Drive.
  • canCopy (type: boolean(), default: nil) - Whether the current user can copy files in this Team Drive.
  • canDeleteChildren (type: boolean(), default: nil) - Whether the current user can delete children from folders in this Team Drive.
  • canDeleteTeamDrive (type: boolean(), default: nil) - Whether the current user can delete this Team Drive. Attempting to delete the Team Drive may still fail if there are untrashed items inside the Team Drive.
  • canDownload (type: boolean(), default: nil) - Whether the current user can download files in this Team Drive.
  • canEdit (type: boolean(), default: nil) - Whether the current user can edit files in this Team Drive
  • canListChildren (type: boolean(), default: nil) - Whether the current user can list the children of folders in this Team Drive.
  • canManageMembers (type: boolean(), default: nil) - Whether the current user can add members to this Team 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 Team Drive.
  • canRemoveChildren (type: boolean(), default: nil) - Deprecated - use canDeleteChildren or canTrashChildren instead.
  • canRename (type: boolean(), default: nil) - Whether the current user can rename files or folders in this Team Drive.
  • canRenameTeamDrive (type: boolean(), default: nil) - Whether the current user can rename this Team Drive.
  • canShare (type: boolean(), default: nil) - Whether the current user can share files or folders in this Team Drive.
  • canTrashChildren (type: boolean(), default: nil) - Whether the current user can trash children from folders in this Team 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.TeamDriveCapabilities{
  canAddChildren: boolean() | nil,
  canChangeCopyRequiresWriterPermissionRestriction: boolean() | nil,
  canChangeDomainUsersOnlyRestriction: boolean() | nil,
  canChangeTeamDriveBackground: boolean() | nil,
  canChangeTeamMembersOnlyRestriction: boolean() | nil,
  canComment: boolean() | nil,
  canCopy: boolean() | nil,
  canDeleteChildren: boolean() | nil,
  canDeleteTeamDrive: boolean() | nil,
  canDownload: boolean() | nil,
  canEdit: boolean() | nil,
  canListChildren: boolean() | nil,
  canManageMembers: boolean() | nil,
  canReadRevisions: boolean() | nil,
  canRemoveChildren: boolean() | nil,
  canRename: boolean() | nil,
  canRenameTeamDrive: 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.