Class: Google::Apis::AlloydbV1beta::EncryptionInfo
- Inherits:
-
Object
- Object
- Google::Apis::AlloydbV1beta::EncryptionInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/alloydb_v1beta/classes.rb,
lib/google/apis/alloydb_v1beta/representations.rb,
lib/google/apis/alloydb_v1beta/representations.rb
Overview
EncryptionInfo describes the encryption information of a cluster or a backup.
Instance Attribute Summary collapse
-
#encryption_type ⇒ String
Output only.
-
#kms_key_versions ⇒ Array<String>
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EncryptionInfo
constructor
A new instance of EncryptionInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EncryptionInfo
Returns a new instance of EncryptionInfo.
981 982 983 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 981 def initialize(**args) update!(**args) end |
Instance Attribute Details
#encryption_type ⇒ String
Output only. Type of encryption.
Corresponds to the JSON property encryptionType
973 974 975 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 973 def encryption_type @encryption_type end |
#kms_key_versions ⇒ Array<String>
Output only. Cloud KMS key versions that are being used to protect the
database or the backup.
Corresponds to the JSON property kmsKeyVersions
979 980 981 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 979 def kms_key_versions @kms_key_versions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
986 987 988 989 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 986 def update!(**args) @encryption_type = args[:encryption_type] if args.key?(:encryption_type) @kms_key_versions = args[:kms_key_versions] if args.key?(:kms_key_versions) end |