Class: Google::Apis::SecretmanagerV1::Automatic

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/secretmanager_v1/classes.rb,
lib/google/apis/secretmanager_v1/representations.rb,
lib/google/apis/secretmanager_v1/representations.rb

Overview

A replication policy that replicates the Secret payload without any restrictions.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Automatic

Returns a new instance of Automatic.



154
155
156
# File 'lib/google/apis/secretmanager_v1/classes.rb', line 154

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#customer_managed_encryptionGoogle::Apis::SecretmanagerV1::CustomerManagedEncryption

Configuration for encrypting secret payloads using customer-managed encryption keys (CMEK). Corresponds to the JSON property customerManagedEncryption



152
153
154
# File 'lib/google/apis/secretmanager_v1/classes.rb', line 152

def customer_managed_encryption
  @customer_managed_encryption
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



159
160
161
# File 'lib/google/apis/secretmanager_v1/classes.rb', line 159

def update!(**args)
  @customer_managed_encryption = args[:customer_managed_encryption] if args.key?(:customer_managed_encryption)
end