public sealed class EncryptionInfo : IMessage<EncryptionInfo>, IEquatable<EncryptionInfo>, IDeepCloneable<EncryptionInfo>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Spanner Database Administration v1 API class EncryptionInfo.
Encryption information for a Cloud Spanner database or backup.
Implements
IMessageEncryptionInfo, IEquatableEncryptionInfo, IDeepCloneableEncryptionInfo, IBufferMessage, IMessageNamespace
Google.Cloud.Spanner.Admin.Database.V1Assembly
Google.Cloud.Spanner.Admin.Database.V1.dll
Constructors
EncryptionInfo()
public EncryptionInfo()
EncryptionInfo(EncryptionInfo)
public EncryptionInfo(EncryptionInfo other)
Parameter | |
---|---|
Name | Description |
other |
EncryptionInfo |
Properties
EncryptionStatus
public Status EncryptionStatus { get; set; }
Output only. If present, the status of a recent encrypt/decrypt call on underlying data for this database or backup. Regardless of status, data is always encrypted at rest.
Property Value | |
---|---|
Type | Description |
Status |
EncryptionType
public EncryptionInfo.Types.Type EncryptionType { get; set; }
Output only. The type of encryption.
Property Value | |
---|---|
Type | Description |
EncryptionInfoTypesType |
KmsKeyVersion
public string KmsKeyVersion { get; set; }
Output only. A Cloud KMS key version that is being used to protect the database or backup.
Property Value | |
---|---|
Type | Description |
string |
KmsKeyVersionAsCryptoKeyVersionName
public CryptoKeyVersionName KmsKeyVersionAsCryptoKeyVersionName { get; set; }
CryptoKeyVersionName-typed view over the KmsKeyVersion resource name property.
Property Value | |
---|---|
Type | Description |
CryptoKeyVersionName |