public interface SnapshotUpdateKmsKeyRequestOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getKmsKeyName()
public abstract String getKmsKeyName()Optional. The new KMS key to replace the current one on the snapshot. If empty, the snapshot will be re-encrypted using the primary version of the snapshot's current KMS key.
The KMS key can be provided in the following formats:
- projects/project_id/locations/region/keyRings/key_ring/cryptoKeys/key
optional string kms_key_name = 484373913;
| Returns | |
|---|---|
| Type | Description |
String |
The kmsKeyName. |
getKmsKeyNameBytes()
public abstract ByteString getKmsKeyNameBytes()Optional. The new KMS key to replace the current one on the snapshot. If empty, the snapshot will be re-encrypted using the primary version of the snapshot's current KMS key.
The KMS key can be provided in the following formats:
- projects/project_id/locations/region/keyRings/key_ring/cryptoKeys/key
optional string kms_key_name = 484373913;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for kmsKeyName. |
hasKmsKeyName()
public abstract boolean hasKmsKeyName()Optional. The new KMS key to replace the current one on the snapshot. If empty, the snapshot will be re-encrypted using the primary version of the snapshot's current KMS key.
The KMS key can be provided in the following formats:
- projects/project_id/locations/region/keyRings/key_ring/cryptoKeys/key
optional string kms_key_name = 484373913;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the kmsKeyName field is set. |