Class: Google::Cloud::AlloyDB::V1::EncryptionInfo
- Inherits:
-
Object
- Object
- Google::Cloud::AlloyDB::V1::EncryptionInfo
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/alloydb/v1/resources.rb
Overview
EncryptionInfo describes the encryption information of a cluster or a backup.
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#encryption_type ⇒ ::Google::Cloud::AlloyDB::V1::EncryptionInfo::Type
readonly
Output only.
-
#kms_key_versions ⇒ ::Array<::String>
readonly
Output only.
Instance Attribute Details
#encryption_type ⇒ ::Google::Cloud::AlloyDB::V1::EncryptionInfo::Type (readonly)
Returns Output only. Type of encryption.
84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 |
# File 'proto_docs/google/cloud/alloydb/v1/resources.rb', line 84 class EncryptionInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Possible encryption types. module Type # Encryption type not specified. Defaults to GOOGLE_DEFAULT_ENCRYPTION. TYPE_UNSPECIFIED = 0 # The data is encrypted at rest with a key that is fully managed by Google. # No key version will be populated. This is the default state. GOOGLE_DEFAULT_ENCRYPTION = 1 # The data is encrypted at rest with a key that is managed by the customer. # KMS key versions will be populated. CUSTOMER_MANAGED_ENCRYPTION = 2 end end |
#kms_key_versions ⇒ ::Array<::String> (readonly)
Returns Output only. Cloud KMS key versions that are being used to protect the database or the backup.
84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 |
# File 'proto_docs/google/cloud/alloydb/v1/resources.rb', line 84 class EncryptionInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Possible encryption types. module Type # Encryption type not specified. Defaults to GOOGLE_DEFAULT_ENCRYPTION. TYPE_UNSPECIFIED = 0 # The data is encrypted at rest with a key that is fully managed by Google. # No key version will be populated. This is the default state. GOOGLE_DEFAULT_ENCRYPTION = 1 # The data is encrypted at rest with a key that is managed by the customer. # KMS key versions will be populated. CUSTOMER_MANAGED_ENCRYPTION = 2 end end |