# Class Replication (2.29.0)

2.29.0 (latest) 2.28.0 2.27.0 2.26.0 2.25.0 2.23.3 2.22.1 2.21.1 2.20.2 2.19.0 2.18.3 2.17.0 2.16.3 2.15.1 2.14.0 2.13.0 2.12.6 2.11.1 2.10.0 2.9.2 2.8.0 2.7.3 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.0.2 0.2.0 0.1.1

    Replication(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A policy that defines the replication configuration of data.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `automatic` | `https://docs.cloud.google.com/python/docs/reference/secretmanager/latest/google.cloud.secretmanager_v1beta1.types.Replication.Automatic` The Secret will automatically be replicated without any restrictions. This field is a member of `oneof`_ `replication`. |
| `user_managed` | `https://docs.cloud.google.com/python/docs/reference/secretmanager/latest/google.cloud.secretmanager_v1beta1.types.Replication.UserManaged` The Secret will only be replicated into the locations specified. This field is a member of `oneof`_ `replication`. |

## Classes

### Automatic

    Automatic(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A replication policy that replicates the
Secret payload without any
restrictions.

### UserManaged

    UserManaged(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A replication policy that replicates the
Secret payload into the
locations specified in
Replication.UserManaged.replicas