class Google::Apis::DriveV3::TeamDrive::Capabilities
Capabilities
the current user has on this Team Drive
.
Attributes
Whether the current user can add children to folders in this Team Drive
. Corresponds to the JSON property `canAddChildren` @return [Boolean]
Whether the current user can add children to folders in this Team Drive
. Corresponds to the JSON property `canAddChildren` @return [Boolean]
Whether the current user can change the copyRequiresWriterPermission restriction of this Team Drive
. Corresponds to the JSON property `canChangeCopyRequiresWriterPermissionRestriction` @return [Boolean]
Whether the current user can change the copyRequiresWriterPermission restriction of this Team Drive
. Corresponds to the JSON property `canChangeCopyRequiresWriterPermissionRestriction` @return [Boolean]
Whether the current user can change the domainUsersOnly restriction of this Team Drive
. Corresponds to the JSON property `canChangeDomainUsersOnlyRestriction` @return [Boolean]
Whether the current user can change the domainUsersOnly restriction of this Team Drive
. Corresponds to the JSON property `canChangeDomainUsersOnlyRestriction` @return [Boolean]
Whether the current user can change the background of this Team Drive
. Corresponds to the JSON property `canChangeTeamDriveBackground` @return [Boolean]
Whether the current user can change the background of this Team Drive
. Corresponds to the JSON property `canChangeTeamDriveBackground` @return [Boolean]
Whether the current user can change the teamMembersOnly restriction of this Team Drive
. Corresponds to the JSON property `canChangeTeamMembersOnlyRestriction` @return [Boolean]
Whether the current user can change the teamMembersOnly restriction of this Team Drive
. Corresponds to the JSON property `canChangeTeamMembersOnlyRestriction` @return [Boolean]
Whether the current user can comment on files in this Team Drive
. Corresponds to the JSON property `canComment` @return [Boolean]
Whether the current user can comment on files in this Team Drive
. Corresponds to the JSON property `canComment` @return [Boolean]
Whether the current user can copy files in this Team Drive
. Corresponds to the JSON property `canCopy` @return [Boolean]
Whether the current user can copy files in this Team Drive
. Corresponds to the JSON property `canCopy` @return [Boolean]
Whether the current user can delete children from folders in this Team Drive
. Corresponds to the JSON property `canDeleteChildren` @return [Boolean]
Whether the current user can delete children from folders in this Team Drive
. Corresponds to the JSON property `canDeleteChildren` @return [Boolean]
Whether the current user can download files in this Team Drive
. Corresponds to the JSON property `canDownload` @return [Boolean]
Whether the current user can download files in this Team Drive
. Corresponds to the JSON property `canDownload` @return [Boolean]
Whether the current user can edit files in this Team Drive
Corresponds to the JSON property `canEdit` @return [Boolean]
Whether the current user can edit files in this Team Drive
Corresponds to the JSON property `canEdit` @return [Boolean]
Whether the current user can list the children of folders in this Team Drive
. Corresponds to the JSON property `canListChildren` @return [Boolean]
Whether the current user can list the children of folders in this Team Drive
. Corresponds to the JSON property `canListChildren` @return [Boolean]
Whether the current user can add members to this Team 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 Team 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 Team Drive
. Corresponds to the JSON property `canReadRevisions` @return [Boolean]
Whether the current user can read the revisions resource of files in this Team Drive
. Corresponds to the JSON property `canReadRevisions` @return [Boolean]
Deprecated - use canDeleteChildren or canTrashChildren instead. Corresponds to the JSON property `canRemoveChildren` @return [Boolean]
Deprecated - use canDeleteChildren or canTrashChildren instead. Corresponds to the JSON property `canRemoveChildren` @return [Boolean]
Whether the current user can rename files or folders in this Team Drive
. Corresponds to the JSON property `canRename` @return [Boolean]
Whether the current user can rename files or folders in this Team Drive
. Corresponds to the JSON property `canRename` @return [Boolean]
Whether the current user can rename this Team Drive
. Corresponds to the JSON property `canRenameTeamDrive` @return [Boolean]
Whether the current user can rename this Team Drive
. Corresponds to the JSON property `canRenameTeamDrive` @return [Boolean]
Whether the current user can trash children from folders in this Team Drive
. Corresponds to the JSON property `canTrashChildren` @return [Boolean]
Whether the current user can trash children from folders in this Team Drive
. Corresponds to the JSON property `canTrashChildren` @return [Boolean]
Public Class Methods
# File lib/google/apis/drive_v3/classes.rb, line 2929 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/drive_v3/classes.rb, line 2934 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_team_drive_background = args[:can_change_team_drive_background] if args.key?(:can_change_team_drive_background) @can_change_team_members_only_restriction = args[:can_change_team_members_only_restriction] if args.key?(:can_change_team_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_team_drive = args[:can_delete_team_drive] if args.key?(:can_delete_team_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_remove_children = args[:can_remove_children] if args.key?(:can_remove_children) @can_rename = args[:can_rename] if args.key?(:can_rename) @can_rename_team_drive = args[:can_rename_team_drive] if args.key?(:can_rename_team_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