public sealed class Database.Types.EncryptionConfig.Types.CustomerManagedEncryptionOptions : IMessage<Database.Types.EncryptionConfig.Types.CustomerManagedEncryptionOptions>, IEquatable<Database.Types.EncryptionConfig.Types.CustomerManagedEncryptionOptions>, IDeepCloneable<Database.Types.EncryptionConfig.Types.CustomerManagedEncryptionOptions>, IBufferMessage, IMessage
Reference documentation and code samples for the Firestore Admin v1 API class Database.Types.EncryptionConfig.Types.CustomerManagedEncryptionOptions.
The configuration options for using CMEK (Customer Managed Encryption
Key) encryption.
Required. Only keys in the same location as the database are allowed to
be used for encryption.
For Firestore's nam5 multi-region, this corresponds to Cloud KMS
multi-region us. For Firestore's eur3 multi-region, this corresponds to
Cloud KMS multi-region europe. See
https://cloud.google.com/kms/docs/locations.
The expected format is
projects/{project_id}/locations/{kms_location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eCustomerManagedEncryptionOptions\u003c/code\u003e class within the Google Cloud Firestore Admin v1 API, specifically for version 3.11.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCustomerManagedEncryptionOptions\u003c/code\u003e class is used to configure Customer Managed Encryption Key (CMEK) encryption for Firestore databases.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, supporting functionalities such as message handling, equality checks, deep cloning, and buffer operations.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eKmsKeyName\u003c/code\u003e property, a string, is a required field specifying the Cloud KMS key used for encryption, with constraints on key location.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation shows the available versions of the library, from version 2.2.0 to 3.12.0, with 3.12.0 being the latest.\u003c/p\u003e\n"]]],[],null,[]]