Class: Google::Apis::SecretmanagerV1::AutomaticStatus

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

Overview

The replication status of a SecretVersion using automatic replication. Only populated if the parent Secret has an automatic replication policy.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AutomaticStatus

Returns a new instance of AutomaticStatus.



174
175
176
# File 'generated/google/apis/secretmanager_v1/classes.rb', line 174

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

Instance Attribute Details

#customer_managed_encryptionGoogle::Apis::SecretmanagerV1::CustomerManagedEncryptionStatus

Describes the status of customer-managed encryption. Corresponds to the JSON property customerManagedEncryption



172
173
174
# File 'generated/google/apis/secretmanager_v1/classes.rb', line 172

def customer_managed_encryption
  @customer_managed_encryption
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



179
180
181
# File 'generated/google/apis/secretmanager_v1/classes.rb', line 179

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