public sealed class CmekSettings : IMessage<CmekSettings>, IEquatable<CmekSettings>, IDeepCloneable<CmekSettings>, IBufferMessage, IMessageReference documentation and code samples for the Observability v1 API class CmekSettings.
Settings for configuring CMEK for a bucket.
Implements
IMessageCmekSettings, IEquatableCmekSettings, IDeepCloneableCmekSettings, IBufferMessage, IMessageNamespace
Google.Cloud.Observability.V1Assembly
Google.Cloud.Observability.V1.dll
Constructors
CmekSettings()
public CmekSettings()CmekSettings(CmekSettings)
public CmekSettings(CmekSettings other)| Parameter | |
|---|---|
| Name | Description |
other |
CmekSettings |
Properties
KmsKey
public string KmsKey { get; set; }Optional. The resource name for the configured Cloud KMS key. The format is:
projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]
For example:
projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key
| Property Value | |
|---|---|
| Type | Description |
string |
|
KmsKeyVersion
public string KmsKeyVersion { get; set; }Output only. The CryptoKeyVersion resource name for the configured Cloud KMS key. The format is:
projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[VERSION]
For example:
projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key/cryptoKeyVersions/1
This read-only field is used to convey the specific configured
CryptoKeyVersion of the kms_key that has been configured. It is
populated when the CMEK settings are bound to a single key version.
| Property Value | |
|---|---|
| Type | Description |
string |
|
ServiceAccountId
public string ServiceAccountId { get; set; }Output only. The service account used to access the key.
| Property Value | |
|---|---|
| Type | Description |
string |
|