public interface EncryptionKeyOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getKmsKey()
public abstract String getKmsKey() Optional. The KMS key used to encrypt the Autonomous Database.
This field is required if the provider is GOOGLE_MANAGED.
The name of the KMS key resource in the following format:
projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}.
string kms_key = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The kmsKey. |
getKmsKeyBytes()
public abstract ByteString getKmsKeyBytes() Optional. The KMS key used to encrypt the Autonomous Database.
This field is required if the provider is GOOGLE_MANAGED.
The name of the KMS key resource in the following format:
projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}.
string kms_key = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for kmsKey. |
getProvider()
public abstract EncryptionKey.Provider getProvider()Optional. The provider of the encryption key.
.google.cloud.oracledatabase.v1.EncryptionKey.Provider provider = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
EncryptionKey.Provider |
The provider. |
getProviderValue()
public abstract int getProviderValue()Optional. The provider of the encryption key.
.google.cloud.oracledatabase.v1.EncryptionKey.Provider provider = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for provider. |