NetApp V1 API - Class Google::Cloud::NetApp::V1::Replication (v0.5.2)

Reference documentation and code samples for the NetApp V1 API class Google::Cloud::NetApp::V1::Replication.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#description

def description() -> ::String
Returns
  • (::String) — A description about this replication relationship.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — A description about this replication relationship.
Returns
  • (::String) — A description about this replication relationship.

#destination_volume

def destination_volume() -> ::String
Returns
  • (::String) — Output only. Full name of destination volume resource. Example : "projects/{project}/locations/{location}/volumes/{volume_id}"

#destination_volume_parameters

def destination_volume_parameters() -> ::Google::Cloud::NetApp::V1::DestinationVolumeParameters
Returns

#destination_volume_parameters=

def destination_volume_parameters=(value) -> ::Google::Cloud::NetApp::V1::DestinationVolumeParameters
Parameter
Returns

#healthy

def healthy() -> ::Boolean
Returns
  • (::Boolean) —

    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.

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Resource labels to represent user provided metadata.

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Resource labels to represent user provided metadata.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Resource labels to represent user provided metadata.

#mirror_state

def mirror_state() -> ::Google::Cloud::NetApp::V1::Replication::MirrorState
Returns

#name

def name() -> ::String
Returns
  • (::String) — Identifier. The resource name of the Replication. Format: projects/{project_id}/locations/{location}/volumes/{volume_id}/replications/{replication_id}.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Identifier. The resource name of the Replication. Format: projects/{project_id}/locations/{location}/volumes/{volume_id}/replications/{replication_id}.
Returns
  • (::String) — Identifier. The resource name of the Replication. Format: projects/{project_id}/locations/{location}/volumes/{volume_id}/replications/{replication_id}.

#replication_schedule

def replication_schedule() -> ::Google::Cloud::NetApp::V1::Replication::ReplicationSchedule
Returns

#replication_schedule=

def replication_schedule=(value) -> ::Google::Cloud::NetApp::V1::Replication::ReplicationSchedule
Parameter
Returns

#role

def role() -> ::Google::Cloud::NetApp::V1::Replication::ReplicationRole
Returns

#source_volume

def source_volume() -> ::String
Returns
  • (::String) — Output only. Full name of source volume resource. Example : "projects/{project}/locations/{location}/volumes/{volume_id}"

#state

def state() -> ::Google::Cloud::NetApp::V1::Replication::State
Returns

#state_details

def state_details() -> ::String
Returns
  • (::String) — Output only. State details of the replication.

#transfer_stats

def transfer_stats() -> ::Google::Cloud::NetApp::V1::TransferStats
Returns