Reference documentation and code samples for the Secret Manager V1 API class Google::Cloud::SecretManager::V1::Replication.
A policy that defines the replication and encryption configuration of data.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#automatic
def automatic() -> ::Google::Cloud::SecretManager::V1::Replication::Automatic
Returns
- (::Google::Cloud::SecretManager::V1::Replication::Automatic) — The Secret will automatically be replicated without any restrictions.
#automatic=
def automatic=(value) -> ::Google::Cloud::SecretManager::V1::Replication::Automatic
Parameter
- value (::Google::Cloud::SecretManager::V1::Replication::Automatic) — The Secret will automatically be replicated without any restrictions.
Returns
- (::Google::Cloud::SecretManager::V1::Replication::Automatic) — The Secret will automatically be replicated without any restrictions.
#user_managed
def user_managed() -> ::Google::Cloud::SecretManager::V1::Replication::UserManaged
Returns
- (::Google::Cloud::SecretManager::V1::Replication::UserManaged) — The Secret will only be replicated into the locations specified.
#user_managed=
def user_managed=(value) -> ::Google::Cloud::SecretManager::V1::Replication::UserManaged
Parameter
- value (::Google::Cloud::SecretManager::V1::Replication::UserManaged) — The Secret will only be replicated into the locations specified.
Returns
- (::Google::Cloud::SecretManager::V1::Replication::UserManaged) — The Secret will only be replicated into the locations specified.