Package com.google.cloud.notebooks.v1
Interface EncryptionConfigOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
EncryptionConfig
,EncryptionConfig.Builder
public interface EncryptionConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getKmsKey()
The Cloud KMS resource identifier of the customer-managed encryption key used to protect a resource, such as a disks.com.google.protobuf.ByteString
getKmsKeyBytes()
The Cloud KMS resource identifier of the customer-managed encryption key used to protect a resource, such as a disks.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getKmsKey
String getKmsKey()
The Cloud KMS resource identifier of the customer-managed encryption key used to protect a resource, such as a disks. It has the following format: `projects/{PROJECT_ID}/locations/{REGION}/keyRings/{KEY_RING_NAME}/cryptoKeys/{KEY_NAME}`
string kms_key = 1;
- Returns:
- The kmsKey.
-
getKmsKeyBytes
com.google.protobuf.ByteString getKmsKeyBytes()
The Cloud KMS resource identifier of the customer-managed encryption key used to protect a resource, such as a disks. It has the following format: `projects/{PROJECT_ID}/locations/{REGION}/keyRings/{KEY_RING_NAME}/cryptoKeys/{KEY_NAME}`
string kms_key = 1;
- Returns:
- The bytes for kmsKey.
-
-