Class: Google::Apis::SecretmanagerV1::Automatic
- Inherits:
-
Object
- Object
- Google::Apis::SecretmanagerV1::Automatic
- 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
-
#customer_managed_encryption ⇒ Google::Apis::SecretmanagerV1::CustomerManagedEncryption
Configuration for encrypting secret payloads using customer-managed encryption keys (CMEK).
Instance Method Summary collapse
-
#initialize(**args) ⇒ Automatic
constructor
A new instance of Automatic.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_encryption ⇒ Google::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 |