Class Replication (0.1.0)

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

Replication is a nested resource under Volume, that describes a cross-region replication relationship between 2 volumes in different regions.

.. _oneof:


name str
Output only. The resource name of the Replication. Format: projects/{project_id}/locations/{location}/volumes/{volume_id}/replications/{replication_id}.
Output only. State of the replication.
state_details str
Output only. State details of the replication.
Output only. Indicates whether this points to source or destination.
Required. Indicates the schedule for replication.
Output only. Indicates the state of mirroring.
healthy bool
Output only. Condition of the relationship. Can be one of the following: - true: The replication relationship is healthy. It has not missed the most recent scheduled transfer. - false: The replication relationship is not healthy. It has missed the most recent scheduled transfer. This field is a member of oneof_ _healthy.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. Replication create time.
destination_volume str
Output only. Full name of destination volume resource. Example : "projects/{project}/locations/{location}/volumes/{volume_id}".
Output only. Replication transfer statistics.
labels MutableMapping[str, str]
Resource labels to represent user provided metadata.
description str
A description about this replication relationship. This field is a member of oneof_ _description.
Required. Input only. Destination volume parameters
source_volume str
Output only. Full name of source volume resource. Example : "projects/{project}/locations/{location}/volumes/{volume_id}".



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

The abstract base class for a message.

kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.



Mirroring states. No new value is expected to be added in future.

Values: MIRROR_STATE_UNSPECIFIED (0): Unspecified MirrorState PREPARING (1): Destination volume is being prepared. MIRRORED (2): Destination volume has been initialized and is ready to receive replication transfers. STOPPED (3): Destination volume is not receiving replication transfers. TRANSFERRING (4): Replication is in progress.



Replication role New enum values may be added in future to support different replication topology.

Values: REPLICATION_ROLE_UNSPECIFIED (0): Unspecified replication role SOURCE (1): Indicates Source volume. DESTINATION (2): Indicates Destination volume.



Schedule for Replication. New enum values may be added in future to support different frequency of replication.

Values: REPLICATION_SCHEDULE_UNSPECIFIED (0): Unspecified ReplicationSchedule EVERY_10_MINUTES (1): Replication happens once every 10 minutes. HOURLY (2): Replication happens once every hour. DAILY (3): Replication happens once every day.



The replication states New enum values may be added in future to indicate possible new states.

Values: STATE_UNSPECIFIED (0): Unspecified replication State CREATING (1): Replication is creating. READY (2): Replication is ready. UPDATING (3): Replication is updating. DELETING (5): Replication is deleting. ERROR (6): Replication is in error state.