Skip to content

Google: Creates a copy of a file and applies any requested updates with patch semantics For more information, see Create and manage files (https: developers google com workspace drive api guides create-file) — response body — capabilities

Creates a copy of a file and applies any requested updates with patch semantics. For more information, see [Create and manage files](https://developers.google.com/workspace/drive/api/guides/create-file).: response body, field capabilities. Complete fields and constraints for contract 2026-10-27.

API reference · Contract 2026-10-27

SDK schema: Creates a copy of a file and applies any requested updates with patch semantics For more information, see Create and manage files (https: developers google com workspace drive api guides create-file) — response body — capabilities

FieldTypePresenceDescription and constraints
$objectRootOutput only. Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take. For more information, see [Understand file capabilities](https://developers.google.com/workspace/drive/api/guides/manage-sharing#capabilities).
canAcceptOwnershipbooleanOptionalOutput only. Whether the current user is the pending owner of the file. Not populated for shared drive files.
canAccessViaGenAibooleanOptionalWhether the current user can access this file via Gen AI features. For more information, see [Drive MCP file eligibility](https://developers.google.com/workspace/drive/api/guides/drive-mcp-server-file-eligibility).
canAddChildrenbooleanOptionalOutput only. Whether the current user can add children to this folder. This is always `false` when the item isn’t a folder.
canAddFolderFromAnotherDrivebooleanOptionalOutput only. Whether the current user can add a folder from another drive (different shared drive or My Drive) to this folder. This is `false` when the item isn’t a folder. Only populated for items in shared drives.
canAddMyDriveParentbooleanOptionalOutput only. Whether the current user can add a parent for the item without removing an existing parent in the same request. Not populated for shared drive files.
canChangeCopyRequiresWriterPermissionbooleanOptionalOutput only. Whether the current user can change the `copyRequiresWriterPermission` restriction of this file.
canChangeItemDownloadRestrictionbooleanOptionalOutput only. Whether the current user can change the owner or organizer-applied download restrictions of the file.
canChangeSecurityUpdateEnabledbooleanOptionalOutput only. Whether the current user can change the `securityUpdateEnabled` field on link share metadata.
canChangeViewersCanCopyContentbooleanOptionalDeprecated: Output only.
canCommentbooleanOptionalOutput only. Whether the current user can comment on this file.
canCopybooleanOptionalOutput only. Whether the current user can copy this file. For an item in a shared drive, whether the current user can copy non-folder descendants of this item, or this item if it’s not a folder.
canDeletebooleanOptionalOutput only. Whether the current user can delete this file.
canDeleteChildrenbooleanOptionalOutput only. Whether the current user can delete children of this folder. This is `false` when the item isn’t a folder. Only populated for items in shared drives.
canDisableInheritedPermissionsbooleanOptionalWhether a user can disable inherited permissions.
canDownloadbooleanOptionalOutput only. Whether the current user can download this file.
canEditbooleanOptionalOutput only. Whether the current user can edit this file. Other factors may limit the type of changes a user can make to a file. For example, see `canChangeCopyRequiresWriterPermission` or `canModifyContent`.
canEnableInheritedPermissionsbooleanOptionalWhether a user can re-enable inherited permissions.
canListChildrenbooleanOptionalOutput only. Whether the current user can list the children of this folder. This is always `false` when the item isn’t a folder.
canModifyContentbooleanOptionalOutput only. Whether the current user can modify the content of this file.
canModifyContentRestrictionbooleanOptionalDeprecated: Output only. Use one of `canModifyEditorContentRestriction`, `canModifyOwnerContentRestriction`, or `canRemoveContentRestriction`.
canModifyEditorContentRestrictionbooleanOptionalOutput only. Whether the current user can add or modify content restrictions on the file which are editor restricted.
canModifyLabelsbooleanOptionalOutput only. Whether the current user can modify the labels on the file.
canModifyOwnerContentRestrictionbooleanOptionalOutput only. Whether the current user can add or modify content restrictions which are owner restricted.
canMoveChildrenOutOfDrivebooleanOptionalOutput only. Whether the current user can move children of this folder outside of the shared drive. This is `false` when the item isn’t a folder. Only populated for items in shared drives.
canMoveChildrenOutOfTeamDrivebooleanOptionalDeprecated: Output only. Use `canMoveChildrenOutOfDrive` instead.
canMoveChildrenWithinDrivebooleanOptionalOutput only. Whether the current user can move children of this folder within this drive. This is `false` when the item isn’t a folder. Note that a request to move the child may still fail depending on the current user’s access to the child and to the destination folder.
canMoveChildrenWithinTeamDrivebooleanOptionalDeprecated: Output only. Use `canMoveChildrenWithinDrive` instead.
canMoveItemIntoTeamDrivebooleanOptionalDeprecated: Output only. Use `canMoveItemOutOfDrive` instead.
canMoveItemOutOfDrivebooleanOptionalOutput only. Whether the current user can move this item outside of this drive by changing its parent. Note that a request to change the parent of the item may still fail depending on the new parent that’s being added.
canMoveItemOutOfTeamDrivebooleanOptionalDeprecated: Output only. Use `canMoveItemOutOfDrive` instead.
canMoveItemWithinDrivebooleanOptionalOutput only. Whether the current user can move this item within this drive. Note that a request to change the parent of the item may still fail depending on the new parent that’s being added and the parent that is being removed.
canMoveItemWithinTeamDrivebooleanOptionalDeprecated: Output only. Use `canMoveItemWithinDrive` instead.
canMoveTeamDriveItembooleanOptionalDeprecated: Output only. Use `canMoveItemWithinDrive` or `canMoveItemOutOfDrive` instead.
canReadDrivebooleanOptionalOutput only. Whether the current user can read the shared drive to which this file belongs. Only populated for items in shared drives.
canReadLabelsbooleanOptionalOutput only. Whether the current user can read the labels on the file.
canReadRevisionsbooleanOptionalOutput only. Whether the current user can read the revisions resource of this file. For a shared drive item, whether revisions of non-folder descendants of this item, or this item if it’s not a folder, can be read.
canReadTeamDrivebooleanOptionalDeprecated: Output only. Use `canReadDrive` instead.
canRemoveChildrenbooleanOptionalOutput only. Whether the current user can remove children from this folder. This is always `false` when the item isn’t a folder. For a folder in a shared drive, use `canDeleteChildren` or `canTrashChildren` instead.
canRemoveContentRestrictionbooleanOptionalOutput only. Whether there’s a content restriction on the file that can be removed by the current user.
canRemoveMyDriveParentbooleanOptionalOutput only. Whether the current user can remove a parent from the item without adding another parent in the same request. Not populated for shared drive files.
canRenamebooleanOptionalOutput only. Whether the current user can rename this file.
canSharebooleanOptionalOutput only. Whether the current user can modify the sharing settings for this file.
canStartApprovalbooleanOptionalWhether the current user can start an approval on the file.
canTrashbooleanOptionalOutput only. Whether the current user can move this file to trash.
canTrashChildrenbooleanOptionalOutput only. Whether the current user can trash children of this folder. This is `false` when the item isn’t a folder. Only populated for items in shared drives.
canUntrashbooleanOptionalOutput only. Whether the current user can restore this file from trash.

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.