class Google::Apis::ContainerV1beta1::DatabaseEncryption
Configuration of etcd encryption.
Attributes
key_name[RW]
Name of CloudKMS key to use for the encryption of secrets in etcd. Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key Corresponds to the JSON property `keyName` @return [String]
state[RW]
Denotes the state of etcd encryption. Corresponds to the JSON property `state` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/container_v1beta1/classes.rb, line 1645 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/container_v1beta1/classes.rb, line 1650 def update!(**args) @key_name = args[:key_name] if args.key?(:key_name) @state = args[:state] if args.key?(:state) end