class Google::Apis::ContainerV1::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_v1/classes.rb, line 1435
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_v1/classes.rb, line 1440
def update!(**args)
  @key_name = args[:key_name] if args.key?(:key_name)
  @state = args[:state] if args.key?(:state)
end