class Google::Apis::DriveV2::Drive::Capabilities
Capabilities
the current user has on this shared drive.
Attributes
Whether the current user can add children to folders in this shared drive. Corresponds to the JSON property `canAddChildren` @return [Boolean]
Whether the current user can add children to folders in this shared drive. Corresponds to the JSON property `canAddChildren` @return [Boolean]
Whether the current user can change the copyRequiresWriterPermission restriction of this shared drive. Corresponds to the JSON property `canChangeCopyRequiresWriterPermissionRestriction` @return [Boolean]
Whether the current user can change the copyRequiresWriterPermission restriction of this shared drive. Corresponds to the JSON property `canChangeCopyRequiresWriterPermissionRestriction` @return [Boolean]
Whether the current user can change the domainUsersOnly restriction of this shared drive. Corresponds to the JSON property `canChangeDomainUsersOnlyRestriction` @return [Boolean]
Whether the current user can change the domainUsersOnly restriction of this shared drive. Corresponds to the JSON property `canChangeDomainUsersOnlyRestriction` @return [Boolean]
Whether the current user can change the background of this shared drive. Corresponds to the JSON property `canChangeDriveBackground` @return [Boolean]
Whether the current user can change the background of this shared drive. Corresponds to the JSON property `canChangeDriveBackground` @return [Boolean]
Whether the current user can change the driveMembersOnly restriction of this shared drive. Corresponds to the JSON property `canChangeDriveMembersOnlyRestriction` @return [Boolean]
Whether the current user can change the driveMembersOnly restriction of this shared drive. Corresponds to the JSON property `canChangeDriveMembersOnlyRestriction` @return [Boolean]
Whether the current user can comment on files in this shared drive. Corresponds to the JSON property `canComment` @return [Boolean]
Whether the current user can comment on files in this shared drive. Corresponds to the JSON property `canComment` @return [Boolean]
Whether the current user can copy files in this shared drive. Corresponds to the JSON property `canCopy` @return [Boolean]
Whether the current user can copy files in this shared drive. Corresponds to the JSON property `canCopy` @return [Boolean]
Whether the current user can delete children from folders in this shared drive. Corresponds to the JSON property `canDeleteChildren` @return [Boolean]
Whether the current user can delete children from folders in this shared drive. Corresponds to the JSON property `canDeleteChildren` @return [Boolean]
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. Corresponds to the JSON property `canDeleteDrive` @return [Boolean]
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. Corresponds to the JSON property `canDeleteDrive` @return [Boolean]
Whether the current user can download files in this shared drive. Corresponds to the JSON property `canDownload` @return [Boolean]
Whether the current user can download files in this shared drive. Corresponds to the JSON property `canDownload` @return [Boolean]
Whether the current user can edit files in this shared drive Corresponds to the JSON property `canEdit` @return [Boolean]
Whether the current user can edit files in this shared drive Corresponds to the JSON property `canEdit` @return [Boolean]
Whether the current user can list the children of folders in this shared drive. Corresponds to the JSON property `canListChildren` @return [Boolean]
Whether the current user can list the children of folders in this shared drive. Corresponds to the JSON property `canListChildren` @return [Boolean]
Whether the current user can add members to this shared drive or remove them or change their role. Corresponds to the JSON property `canManageMembers` @return [Boolean]
Whether the current user can add members to this shared drive or remove them or change their role. Corresponds to the JSON property `canManageMembers` @return [Boolean]
Whether the current user can read the revisions resource of files in this shared drive. Corresponds to the JSON property `canReadRevisions` @return [Boolean]
Whether the current user can read the revisions resource of files in this shared drive. Corresponds to the JSON property `canReadRevisions` @return [Boolean]
Whether the current user can rename files or folders in this shared drive. Corresponds to the JSON property `canRename` @return [Boolean]
Whether the current user can rename files or folders in this shared drive. Corresponds to the JSON property `canRename` @return [Boolean]
Whether the current user can rename this shared drive. Corresponds to the JSON property `canRenameDrive` @return [Boolean]
Whether the current user can rename this shared drive. Corresponds to the JSON property `canRenameDrive` @return [Boolean]
Whether the current user can trash children from folders in this shared drive. Corresponds to the JSON property `canTrashChildren` @return [Boolean]
Whether the current user can trash children from folders in this shared drive. Corresponds to the JSON property `canTrashChildren` @return [Boolean]
Public Class Methods
# File lib/google/apis/drive_v2/classes.rb, line 1652 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/drive_v2/classes.rb, line 1657 def update!(**args) @can_add_children = args[:can_add_children] if args.key?(:can_add_children) @can_change_copy_requires_writer_permission_restriction = args[:can_change_copy_requires_writer_permission_restriction] if args.key?(:can_change_copy_requires_writer_permission_restriction) @can_change_domain_users_only_restriction = args[:can_change_domain_users_only_restriction] if args.key?(:can_change_domain_users_only_restriction) @can_change_drive_background = args[:can_change_drive_background] if args.key?(:can_change_drive_background) @can_change_drive_members_only_restriction = args[:can_change_drive_members_only_restriction] if args.key?(:can_change_drive_members_only_restriction) @can_comment = args[:can_comment] if args.key?(:can_comment) @can_copy = args[:can_copy] if args.key?(:can_copy) @can_delete_children = args[:can_delete_children] if args.key?(:can_delete_children) @can_delete_drive = args[:can_delete_drive] if args.key?(:can_delete_drive) @can_download = args[:can_download] if args.key?(:can_download) @can_edit = args[:can_edit] if args.key?(:can_edit) @can_list_children = args[:can_list_children] if args.key?(:can_list_children) @can_manage_members = args[:can_manage_members] if args.key?(:can_manage_members) @can_read_revisions = args[:can_read_revisions] if args.key?(:can_read_revisions) @can_rename = args[:can_rename] if args.key?(:can_rename) @can_rename_drive = args[:can_rename_drive] if args.key?(:can_rename_drive) @can_share = args[:can_share] if args.key?(:can_share) @can_trash_children = args[:can_trash_children] if args.key?(:can_trash_children) end