Creates a copy of a file and applies any requested updates with patch semantics. Use when you need to duplicate a file with advanced options like label inclusion, visibility settings, or custom metadata.
altstringData format for response.
keystringAPI key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
namestringThe name of the copied file. If not provided, the copied file will have the same name as the original, prefixed with 'Copy of '.
xgafvstringV1 error format options.
fieldsstringSelector specifying which fields to include in a partial response. Use comma-separated field paths.
fileIdRequiredstringThe ID of the file to copy. This is the unique identifier for the file on Google Drive.
parentsarrayThe IDs of the parent folders which contain the file. If not specified as part of a copy request, the file inherits any discoverable parents of the source file.
starredbooleanWhether the user has starred the file.
trashedbooleanWhether the file has been trashed.
callbackstringJSONP callback parameter.
mimeTypestringThe MIME type of the file. Google Drive attempts to automatically detect an appropriate value from uploaded content, if no value is provided.
quotaUserstringAvailable to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
OAuth connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.