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 — client Encryption Details decryption Metadata

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 clientEncryptionDetails / decryptionMetadata. 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 — client Encryption Details decryption Metadata

FieldTypePresenceDescription and constraints
$objectRootRepresentation of the CSE DecryptionMetadata.
aes256GcmChunkSizestringOptionalChunk size used if content was encrypted with the AES 256 GCM Cipher. Possible values are: - default - small
encryptionResourceKeyHashstringOptionalThe URL-safe Base64 encoded HMAC-SHA256 digest of the resource metadata with its DEK (Data Encryption Key); see https://developers.google.com/workspace/cse/reference
jwtstringOptionalThe signed JSON Web Token (JWT) which can be used to authorize the requesting user with the Key ACL Service (KACLS). The JWT asserts that the requesting user has at least read permissions on the file.
kaclsIdstringOptionalThe ID of the KACLS (Key ACL Service) used to encrypt the file.
Format: int64
kaclsNamestringOptionalThe name of the KACLS (Key ACL Service) used to encrypt the file.
keyFormatstringOptionalKey format for the unwrapped key. Must be `tinkAesGcmKey`.
wrappedKeystringOptionalThe URL-safe Base64 encoded wrapped key used to encrypt the contents of the 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.