Note: The following fields are mutually exclusive: automatic, user_managed. If a field in that set is populated, all other fields in the set will automatically be cleared.
Note: The following fields are mutually exclusive: automatic, user_managed. If a field in that set is populated, all other fields in the set will automatically be cleared.
Note: The following fields are mutually exclusive: automatic, user_managed. If a field in that set is populated, all other fields in the set will automatically be cleared.
Note: The following fields are mutually exclusive: user_managed, automatic. If a field in that set is populated, all other fields in the set will automatically be cleared.
Note: The following fields are mutually exclusive: user_managed, automatic. If a field in that set is populated, all other fields in the set will automatically be cleared.
Note: The following fields are mutually exclusive: user_managed, automatic. If a field in that set is populated, all other fields in the set will automatically be cleared.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Secret Manager V1beta1 API - Class Google::Cloud::SecretManager::V1beta1::Replication (v0.18.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.18.0 (latest)](/ruby/docs/reference/google-cloud-secret_manager-v1beta1/latest/Google-Cloud-SecretManager-V1beta1-Replication)\n- [0.17.2](/ruby/docs/reference/google-cloud-secret_manager-v1beta1/0.17.2/Google-Cloud-SecretManager-V1beta1-Replication)\n- [0.16.0](/ruby/docs/reference/google-cloud-secret_manager-v1beta1/0.16.0/Google-Cloud-SecretManager-V1beta1-Replication)\n- [0.15.1](/ruby/docs/reference/google-cloud-secret_manager-v1beta1/0.15.1/Google-Cloud-SecretManager-V1beta1-Replication)\n- [0.14.2](/ruby/docs/reference/google-cloud-secret_manager-v1beta1/0.14.2/Google-Cloud-SecretManager-V1beta1-Replication)\n- [0.13.0](/ruby/docs/reference/google-cloud-secret_manager-v1beta1/0.13.0/Google-Cloud-SecretManager-V1beta1-Replication)\n- [0.12.2](/ruby/docs/reference/google-cloud-secret_manager-v1beta1/0.12.2/Google-Cloud-SecretManager-V1beta1-Replication)\n- [0.11.0](/ruby/docs/reference/google-cloud-secret_manager-v1beta1/0.11.0/Google-Cloud-SecretManager-V1beta1-Replication)\n- [0.10.0](/ruby/docs/reference/google-cloud-secret_manager-v1beta1/0.10.0/Google-Cloud-SecretManager-V1beta1-Replication)\n- [0.9.0](/ruby/docs/reference/google-cloud-secret_manager-v1beta1/0.9.0/Google-Cloud-SecretManager-V1beta1-Replication)\n- [0.8.5](/ruby/docs/reference/google-cloud-secret_manager-v1beta1/0.8.5/Google-Cloud-SecretManager-V1beta1-Replication) \nReference documentation and code samples for the Secret Manager V1beta1 API class Google::Cloud::SecretManager::V1beta1::Replication.\n\nA policy that defines the replication configuration of data. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #automatic\n\n def automatic() -\u003e ::Google::Cloud::SecretManager::V1beta1::Replication::Automatic\n\n**Returns**\n\n- ([::Google::Cloud::SecretManager::V1beta1::Replication::Automatic](./Google-Cloud-SecretManager-V1beta1-Replication-Automatic)) --- The [Secret](/ruby/docs/reference/google-cloud-secret_manager-v1beta1/latest/Google-Cloud-SecretManager-V1beta1-Secret \"Google::Cloud::SecretManager::V1beta1::Secret (class)\") will automatically be replicated without any restrictions.\n\n\n Note: The following fields are mutually exclusive: `automatic`, `user_managed`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #automatic=\n\n def automatic=(value) -\u003e ::Google::Cloud::SecretManager::V1beta1::Replication::Automatic\n\n**Parameter**\n\n- **value** ([::Google::Cloud::SecretManager::V1beta1::Replication::Automatic](./Google-Cloud-SecretManager-V1beta1-Replication-Automatic)) --- The [Secret](/ruby/docs/reference/google-cloud-secret_manager-v1beta1/latest/Google-Cloud-SecretManager-V1beta1-Secret \"Google::Cloud::SecretManager::V1beta1::Secret (class)\") will automatically be replicated without any restrictions.\n\n\nNote: The following fields are mutually exclusive: `automatic`, `user_managed`. If a field in that set is populated, all other fields in the set will automatically be cleared. \n**Returns**\n\n- ([::Google::Cloud::SecretManager::V1beta1::Replication::Automatic](./Google-Cloud-SecretManager-V1beta1-Replication-Automatic)) --- The [Secret](/ruby/docs/reference/google-cloud-secret_manager-v1beta1/latest/Google-Cloud-SecretManager-V1beta1-Secret \"Google::Cloud::SecretManager::V1beta1::Secret (class)\") will automatically be replicated without any restrictions.\n\n\n Note: The following fields are mutually exclusive: `automatic`, `user_managed`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #user_managed\n\n def user_managed() -\u003e ::Google::Cloud::SecretManager::V1beta1::Replication::UserManaged\n\n**Returns**\n\n- ([::Google::Cloud::SecretManager::V1beta1::Replication::UserManaged](./Google-Cloud-SecretManager-V1beta1-Replication-UserManaged)) --- The [Secret](/ruby/docs/reference/google-cloud-secret_manager-v1beta1/latest/Google-Cloud-SecretManager-V1beta1-Secret \"Google::Cloud::SecretManager::V1beta1::Secret (class)\") will only be replicated into the locations specified.\n\n\n Note: The following fields are mutually exclusive: `user_managed`, `automatic`. If a field in that set is populated, all other fields in the set will automatically be cleared.\n\n### #user_managed=\n\n def user_managed=(value) -\u003e ::Google::Cloud::SecretManager::V1beta1::Replication::UserManaged\n\n**Parameter**\n\n- **value** ([::Google::Cloud::SecretManager::V1beta1::Replication::UserManaged](./Google-Cloud-SecretManager-V1beta1-Replication-UserManaged)) --- The [Secret](/ruby/docs/reference/google-cloud-secret_manager-v1beta1/latest/Google-Cloud-SecretManager-V1beta1-Secret \"Google::Cloud::SecretManager::V1beta1::Secret (class)\") will only be replicated into the locations specified.\n\n\nNote: The following fields are mutually exclusive: `user_managed`, `automatic`. If a field in that set is populated, all other fields in the set will automatically be cleared. \n**Returns**\n\n- ([::Google::Cloud::SecretManager::V1beta1::Replication::UserManaged](./Google-Cloud-SecretManager-V1beta1-Replication-UserManaged)) --- The [Secret](/ruby/docs/reference/google-cloud-secret_manager-v1beta1/latest/Google-Cloud-SecretManager-V1beta1-Secret \"Google::Cloud::SecretManager::V1beta1::Secret (class)\") will only be replicated into the locations specified.\n\n\n Note: The following fields are mutually exclusive: `user_managed`, `automatic`. If a field in that set is populated, all other fields in the set will automatically be cleared."]]