public static final class EncryptionConfig.Builder extends GeneratedMessageV3.Builder<EncryptionConfig.Builder> implements EncryptionConfigOrBuilder
Encryption configuration for a Cloud Spanner database.
Protobuf type google.spanner.admin.database.v1.EncryptionConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > EncryptionConfig.BuilderImplements
EncryptionConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllKmsKeyNames(Iterable<String> values)
public EncryptionConfig.Builder addAllKmsKeyNames(Iterable<String> values)
Specifies the KMS configuration for the one or more keys used to encrypt
the database. Values are of the form
projects/<project>/locations/<location>/keyRings/<key_ring>/cryptoKeys/<kms_key_name>
.
The keys referenced by kms_key_names must fully cover all re