# Secret Manager V1BETA2 API - Class Google::Cloud::SecretManager::V1beta2::Replication::UserManaged (v0.8.0)

0.8.0 (latest) 0.7.1 0.6.0 0.5.1 0.4.0 0.3.1 0.2.0 0.1.1 Reference documentation and code samples for the Secret Manager V1BETA2 API class Google::Cloud::SecretManager::V1beta2::Replication::UserManaged.

A replication policy that replicates the
[Secret](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-secret_manager-v1beta2/latest/Google-Cloud-SecretManager-V1beta2-Secret "Google::Cloud::SecretManager::V1beta2::Secret (class)") payload into the
locations specified in
[Replication.UserManaged.replicas](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-secret_manager-v1beta2/latest/Google-Cloud-SecretManager-V1beta2-Replication-UserManaged#Google__Cloud__SecretManager__V1beta2__Replication__UserManaged_replicas_instance_ "Google::Cloud::SecretManager::V1beta2::Replication::UserManaged#replicas (method)")

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #replicas

    def replicas() -> ::Array<::Google::Cloud::SecretManager::V1beta2::Replication::UserManaged::Replica>

**Returns**

- (::Array\<[::Google::Cloud::SecretManager::V1beta2::Replication::UserManaged::Replica](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-secret_manager-v1beta2/latest/Google-Cloud-SecretManager-V1beta2-Replication-UserManaged-Replica)\>) --- Required. The list of Replicas for this [Secret](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-secret_manager-v1beta2/latest/Google-Cloud-SecretManager-V1beta2-Secret "Google::Cloud::SecretManager::V1beta2::Secret (class)").


  Cannot be empty.

### #replicas=

    def replicas=(value) -> ::Array<::Google::Cloud::SecretManager::V1beta2::Replication::UserManaged::Replica>

**Parameter**

- **value** (::Array\<[::Google::Cloud::SecretManager::V1beta2::Replication::UserManaged::Replica](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-secret_manager-v1beta2/latest/Google-Cloud-SecretManager-V1beta2-Replication-UserManaged-Replica)\>) --- Required. The list of Replicas for this [Secret](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-secret_manager-v1beta2/latest/Google-Cloud-SecretManager-V1beta2-Secret "Google::Cloud::SecretManager::V1beta2::Secret (class)").


  Cannot be empty.
**Returns**

- (::Array\<[::Google::Cloud::SecretManager::V1beta2::Replication::UserManaged::Replica](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-secret_manager-v1beta2/latest/Google-Cloud-SecretManager-V1beta2-Replication-UserManaged-Replica)\>) --- Required. The list of Replicas for this [Secret](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-secret_manager-v1beta2/latest/Google-Cloud-SecretManager-V1beta2-Secret "Google::Cloud::SecretManager::V1beta2::Secret (class)").


  Cannot be empty.