Backup and DR Service v1 API - Class CustomerEncryptionKey (1.2.0)

public sealed class CustomerEncryptionKey : IMessage<CustomerEncryptionKey>, IEquatable<CustomerEncryptionKey>, IDeepCloneable<CustomerEncryptionKey>, IBufferMessage, IMessage

Reference documentation and code samples for the Backup and DR Service v1 API class CustomerEncryptionKey.

A customer-supplied encryption key.

Inheritance

object > CustomerEncryptionKey

Namespace

Google.Cloud.BackupDR.V1

Assembly

Google.Cloud.BackupDR.V1.dll

Constructors

CustomerEncryptionKey()

public CustomerEncryptionKey()

CustomerEncryptionKey(CustomerEncryptionKey)

public CustomerEncryptionKey(CustomerEncryptionKey other)
Parameter
Name Description
other CustomerEncryptionKey

Properties

HasKmsKeyName

public bool HasKmsKeyName { get; }

Gets whether the "kms_key_name" field is set

Property Value
Type Description
bool

HasKmsKeyServiceAccount

public bool HasKmsKeyServiceAccount { get; }

Gets whether the "kms_key_service_account" field is set

Property Value
Type Description
bool

HasRawKey

public bool HasRawKey { get; }

Gets whether the "raw_key" field is set

Property Value
Type Description
bool

HasRsaEncryptedKey

public bool HasRsaEncryptedKey { get; }

Gets whether the "rsa_encrypted_key" field is set

Property Value
Type Description
bool

KeyCase

public CustomerEncryptionKey.KeyOneofCase KeyCase { get; }
Property Value
Type Description
CustomerEncryptionKeyKeyOneofCase

KmsKeyName

public string KmsKeyName { get; set; }

Optional. The name of the encryption key that is stored in Google Cloud KMS.

Property Value
Type Description
string

KmsKeyServiceAccount

public string KmsKeyServiceAccount { get; set; }

Optional. The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used.

Property Value
Type Description
string

RawKey

public string RawKey { get; set; }

Optional. Specifies a 256-bit customer-supplied encryption key.

Property Value
Type Description
string

RsaEncryptedKey

public string RsaEncryptedKey { get; set; }

Optional. RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource.

Property Value
Type Description
string