Optional
altOptional
authAuth client or API Key for the request
Optional
emailA plain text custom message to include in the notification email.
Optional
enforceDeprecated. See moveToNewOwnersRoot for details.
Optional
fieldsSelector specifying which fields to include in a partial response.
Optional
fileThe ID of the file or shared drive.
Optional
keyAPI 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.
Optional
moveThis parameter will only take effect if the item is not in a shared drive and the request is attempting to transfer the ownership of the item. If set to true, the item will be moved to the new owner's My Drive root folder and all prior parents removed. If set to false, parents are not changed.
Optional
oauth_OAuth 2.0 token for the current user.
Optional
prettyReturns response with indentations and line breaks.
Optional
quotaAn opaque string that represents a user for quota purposes. Must not exceed 40 characters.
Optional
requestRequest body metadata
Optional
sendWhether to send a notification email when sharing to users or groups. This defaults to true for users and groups, and is not allowed for other requests. It must not be disabled for ownership transfers.
Optional
supportsWhether the requesting application supports both My Drives and shared drives.
Optional
supportsDeprecated use supportsAllDrives instead.
Optional
transferWhether to transfer ownership to the specified user and downgrade the current owner to a writer. This parameter is required as an acknowledgement of the side effect. File owners can only transfer ownership of files existing on My Drive. Files existing in a shared drive are owned by the organization that owns that shared drive. Ownership transfers are not supported for files and folders in shared drives. Organizers of a shared drive can move items from that shared drive into their My Drive which transfers the ownership to them.
Optional
useIssue the request as a domain administrator; if set to true, then the requester will be granted access if the file ID parameter refers to a shared drive and the requester is an administrator of the domain to which the shared drive belongs.
Optional
userDeprecated. Please use quotaUser instead.
Generated using TypeDoc
Data format for the response.