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.
Implements
IMessageDatabaseTypesEncryptionConfigTypesCustomerManagedEncryptionOptions, IEquatableDatabaseTypesEncryptionConfigTypesCustomerManagedEncryptionOptions, IDeepCloneableDatabaseTypesEncryptionConfigTypesCustomerManagedEncryptionOptions, IBufferMessage, IMessageNamespace
Google.Cloud.Firestore.Admin.V1Assembly
Google.Cloud.Firestore.Admin.V1.dll
Constructors
CustomerManagedEncryptionOptions()
public CustomerManagedEncryptionOptions()
CustomerManagedEncryptionOptions(CustomerManagedEncryptionOptions)
public CustomerManagedEncryptionOptions(Database.Types.EncryptionConfig.Types.CustomerManagedEncryptionOptions other)
Parameter | |
---|---|
Name | Description |
other |
DatabaseTypesEncryptionConfigTypesCustomerManagedEncryptionOptions |
Properties
KmsKeyName
public string KmsKeyName { get; set; }
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}
.
Property Value | |
---|---|
Type | Description |
string |