class Google::Apis::SecretmanagerV1::Replication
A policy that defines the replication and encryption configuration of data.
Attributes
automatic[RW]
A replication policy that replicates the Secret
payload without any restrictions. Corresponds to the JSON property `automatic` @return [Google::Apis::SecretmanagerV1::Automatic]
user_managed[RW]
A replication policy that replicates the Secret
payload into the locations specified in Secret.replication
.user_managed.replicas Corresponds to the JSON property `userManaged` @return [Google::Apis::SecretmanagerV1::UserManaged]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/secretmanager_v1/classes.rb, line 729 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/secretmanager_v1/classes.rb, line 734 def update!(**args) @automatic = args[:automatic] if args.key?(:automatic) @user_managed = args[:user_managed] if args.key?(:user_managed) end