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 — shortcut Details

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 shortcutDetails. 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 — shortcut Details

FieldTypePresenceDescription and constraints
$objectRootInformation about a shortcut file.
targetIdstringOptionalThe ID of the file that this shortcut points to. Can only be set on `files.create` requests.
targetMimeTypestringOptionalOutput only. The MIME type of the file that this shortcut points to. The value of this field is a snapshot of the target’s MIME type, captured when the shortcut is created.
targetResourceKeystringOptionalOutput only. The `resourceKey` for the target file.

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.