NAME
Google::Cloud::Netapp::V1::Replication - Compiled Protocol Buffers messages for google/cloud/netapp/v1/replication.proto
SYNOPSIS
use Google::Cloud::Netapp::V1::Replication;
my $msg = Google::Cloud::Netapp::V1::Replication::TransferStats->new({
transfer_bytes => $transfer_bytes,
total_transfer_duration => $total_transfer_duration,
last_transfer_bytes => $last_transfer_bytes,
last_transfer_duration => $last_transfer_duration,
});
# Read or update a field
my $val = $msg->transfer_bytes();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Netapp::V1::Replication::TransferStats->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/netapp/v1/replication.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Netapp::V1::Replication::TransferStats
TransferStats reports all statistics related to replication transfer.
Inherits from Protobuf::Message.
Accessors
$msg->transfer_bytes()/$msg->transfer_bytes($value)Type:
Int64Cumulative bytes transferred so far for the replication relationship.
$msg->total_transfer_duration()/$msg->total_transfer_duration($value)Type:
Message(Google::Protobuf::Duration::Duration)Cumulative time taken across all transfers for the replication relationship.
$msg->last_transfer_bytes()/$msg->last_transfer_bytes($value)Type:
Int64Last transfer size in bytes.
$msg->last_transfer_duration()/$msg->last_transfer_duration($value)Type:
Message(Google::Protobuf::Duration::Duration)Time taken during last transfer.
$msg->lag_duration()/$msg->lag_duration($value)Type:
Message(Google::Protobuf::Duration::Duration)Lag duration indicates the duration by which Destination region volume content lags behind the primary region volume content.
$msg->update_time()/$msg->update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Time when progress was updated last.
$msg->last_transfer_end_time()/$msg->last_transfer_end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Time when last transfer completed.
$msg->last_transfer_error()/$msg->last_transfer_error($value)Type:
StringA message describing the cause of the last transfer failure.
Google::Cloud::Netapp::V1::Replication::Replication
Replication is a nested resource under Volume, that describes a cross-region replication relationship between 2 volumes in different regions.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. The resource name of the Replication. Format: `projects/{project_id}/locations/{location}/volumes/{volume_id}/replications/{replication_id}`.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Netapp::V1::Replication::State)Output only. State of the replication.
$msg->state_details()/$msg->state_details($value)Type:
StringOutput only. State details of the replication.
$msg->role()/$msg->role($value)Type:
Enum(Google::Cloud::Netapp::V1::Replication::ReplicationRole)Output only. Indicates whether this points to source or destination.
$msg->replication_schedule()/$msg->replication_schedule($value)Type:
Enum(Google::Cloud::Netapp::V1::Replication::ReplicationSchedule)Required. Indicates the schedule for replication.
$msg->mirror_state()/$msg->mirror_state($value)Type:
Enum(Google::Cloud::Netapp::V1::Replication::MirrorState)Output only. Indicates the state of mirroring.
$msg->healthy()/$msg->healthy($value)Type:
BoolOutput 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.
$msg->create_time()/$msg->create_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Replication create time.
$msg->destination_volume()/$msg->destination_volume($value)Type:
StringOutput only. Full name of destination volume resource. Example : "projects/{project}/locations/{location}/volumes/{volume_id}"
$msg->transfer_stats()/$msg->transfer_stats($value)Type:
Message(Google::Cloud::Netapp::V1::Replication::TransferStats)Output only. Replication transfer statistics.
$msg->labels()/$msg->labels($value)Type:
Message(Google::Cloud::Netapp::V1::Replication::Replication::LabelsEntry)Resource labels to represent user provided metadata.
$msg->description()/$msg->description($value)Type:
StringA description about this replication relationship.
$msg->destination_volume_parameters()/$msg->destination_volume_parameters($value)Type:
Message(Google::Cloud::Netapp::V1::Replication::DestinationVolumeParameters)Required. Input only. Destination volume parameters
$msg->source_volume()/$msg->source_volume($value)Type:
StringOutput only. Full name of source volume resource. Example : "projects/{project}/locations/{location}/volumes/{volume_id}"
$msg->hybrid_peering_details()/$msg->hybrid_peering_details($value)Type:
Message(Google::Cloud::Netapp::V1::Replication::HybridPeeringDetails)Output only. Hybrid peering details.
$msg->cluster_location()/$msg->cluster_location($value)Type:
StringOptional. Location of the user cluster.
$msg->hybrid_replication_type()/$msg->hybrid_replication_type($value)Type:
Enum(Google::Cloud::Netapp::V1::Replication::HybridReplicationType)Output only. Type of the hybrid replication.
$msg->hybrid_replication_user_commands()/$msg->hybrid_replication_user_commands($value)Type:
Message(Google::Cloud::Netapp::V1::Common::UserCommands)Output only. Copy pastable snapmirror commands to be executed on onprem cluster by the customer.
Enum: Replication::State
STATE_UNSPECIFIED=>0CREATING=>1READY=>2UPDATING=>3DELETING=>5ERROR=>6PENDING_CLUSTER_PEERING=>8PENDING_SVM_PEERING=>9PENDING_REMOTE_RESYNC=>10EXTERNALLY_MANAGED_REPLICATION=>11
Enum: Replication::ReplicationRole
REPLICATION_ROLE_UNSPECIFIED=>0SOURCE=>1DESTINATION=>2
Enum: Replication::ReplicationSchedule
REPLICATION_SCHEDULE_UNSPECIFIED=>0EVERY_10_MINUTES=>1HOURLY=>2DAILY=>3
Enum: Replication::MirrorState
MIRROR_STATE_UNSPECIFIED=>0PREPARING=>1MIRRORED=>2STOPPED=>3TRANSFERRING=>4BASELINE_TRANSFERRING=>5ABORTED=>6EXTERNALLY_MANAGED=>7PENDING_PEERING=>8
Enum: Replication::HybridReplicationType
HYBRID_REPLICATION_TYPE_UNSPECIFIED=>0MIGRATION=>1CONTINUOUS_REPLICATION=>2ONPREM_REPLICATION=>3REVERSE_ONPREM_REPLICATION=>4
Google::Cloud::Netapp::V1::Replication::HybridPeeringDetails
HybridPeeringDetails contains details about the hybrid peering.
Inherits from Protobuf::Message.
Accessors
$msg->subnet_ip()/$msg->subnet_ip($value)Type:
StringOutput only. IP address of the subnet.
$msg->command()/$msg->command($value)Type:
StringOutput only. Copy-paste-able commands to be used on user's ONTAP to accept peering requests.
$msg->command_expiry_time()/$msg->command_expiry_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. Expiration time for the peering command to be executed on user's ONTAP.
$msg->passphrase()/$msg->passphrase($value)Type:
StringOutput only. Temporary passphrase generated to accept cluster peering command.
$msg->peer_volume_name()/$msg->peer_volume_name($value)Type:
StringOutput only. Name of the user's local source volume to be peered with the destination volume.
$msg->peer_cluster_name()/$msg->peer_cluster_name($value)Type:
StringOutput only. Name of the user's local source cluster to be peered with the destination cluster.
$msg->peer_svm_name()/$msg->peer_svm_name($value)Type:
StringOutput only. Name of the user's local source vserver svm to be peered with the destination vserver svm.
Google::Cloud::Netapp::V1::Replication::ListReplicationsRequest
ListReplications lists replications.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The volume for which to retrieve replication information, in the format `projects/{project_id}/locations/{location}/volumes/{volume_id}`.
$msg->page_size()/$msg->page_size($value)Type:
Int32The maximum number of items to return.
$msg->page_token()/$msg->page_token($value)Type:
StringThe next_page_token value to use if there are additional results to retrieve for this list request.
$msg->order_by()/$msg->order_by($value)Type:
StringSort results. Supported values are "name", "name desc" or "" (unsorted).
$msg->filter()/$msg->filter($value)Type:
StringList filter.
Google::Cloud::Netapp::V1::Replication::ListReplicationsResponse
ListReplicationsResponse is the result of ListReplicationsRequest.
Inherits from Protobuf::Message.
Accessors
$msg->replications()/$msg->replications($value)Type:
Message(Google::Cloud::Netapp::V1::Replication::Replication)A list of replications in the project for the specified volume.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringThe token you can use to retrieve the next page of results. Not returned if there are no more results in the list.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations that could not be reached.
Google::Cloud::Netapp::V1::Replication::GetReplicationRequest
GetReplicationRequest gets the state of a replication.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The replication resource name, in the format `projects/{project_id}/locations/{location}/volumes/{volume_id}/replications/{replication_id}`
Google::Cloud::Netapp::V1::Replication::DestinationVolumeParameters
DestinationVolumeParameters specify input parameters used for creating destination volume.
Inherits from Protobuf::Message.
Accessors
$msg->storage_pool()/$msg->storage_pool($value)Type:
StringRequired. Existing destination StoragePool name.
$msg->volume_id()/$msg->volume_id($value)Type:
StringDesired destination volume resource id. If not specified, source volume's resource id will be used. This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
$msg->share_name()/$msg->share_name($value)Type:
StringDestination volume's share name. If not specified, source volume's share name will be used.
$msg->description()/$msg->description($value)Type:
StringDescription for the destination volume.
$msg->tiering_policy()/$msg->tiering_policy($value)Type:
Message(Google::Cloud::Netapp::V1::Volume::TieringPolicy)Optional. Tiering policy for the volume.
Google::Cloud::Netapp::V1::Replication::CreateReplicationRequest
CreateReplicationRequest creates a replication.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. The NetApp volume to create the replications of, in the format `projects/{project_id}/locations/{location}/volumes/{volume_id}`
$msg->replication()/$msg->replication($value)Type:
Message(Google::Cloud::Netapp::V1::Replication::Replication)Required. A replication resource
$msg->replication_id()/$msg->replication_id($value)Type:
StringRequired. ID of the replication to create. Must be unique within the parent resource. Must contain only letters, numbers and hyphen, with the first character a letter, the last a letter or a number, and a 63 character maximum.
Google::Cloud::Netapp::V1::Replication::DeleteReplicationRequest
DeleteReplicationRequest deletes a replication.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The replication resource name, in the format `projects/*/locations/*/volumes/*/replications/{replication_id}`
Google::Cloud::Netapp::V1::Replication::UpdateReplicationRequest
UpdateReplicationRequest updates description and/or labels for a replication.
Inherits from Protobuf::Message.
Accessors
$msg->update_mask()/$msg->update_mask($value)Type:
Message(Google::Protobuf::FieldMask::FieldMask)Required. Mask of fields to update. At least one path must be supplied in this field.
$msg->replication()/$msg->replication($value)Type:
Message(Google::Cloud::Netapp::V1::Replication::Replication)Required. A replication resource
Google::Cloud::Netapp::V1::Replication::StopReplicationRequest
StopReplicationRequest stops a replication until resumed.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name of the replication, in the format of projects/{project_id}/locations/{location}/volumes/{volume_id}/replications/{replication_id}.
$msg->force()/$msg->force($value)Type:
BoolIndicates whether to stop replication forcefully while data transfer is in progress. Warning! if force is true, this will abort any current transfers and can lead to data loss due to partial transfer. If force is false, stop replication will fail while data transfer is in progress and you will need to retry later.
Google::Cloud::Netapp::V1::Replication::ResumeReplicationRequest
ResumeReplicationRequest resumes a stopped replication.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name of the replication, in the format of projects/{project_id}/locations/{location}/volumes/{volume_id}/replications/{replication_id}.
Google::Cloud::Netapp::V1::Replication::ReverseReplicationDirectionRequest
ReverseReplicationDirectionRequest reverses direction of replication. Source becomes destination and destination becomes source.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name of the replication, in the format of projects/{project_id}/locations/{location}/volumes/{volume_id}/replications/{replication_id}.
Google::Cloud::Netapp::V1::Replication::EstablishPeeringRequest
EstablishPeeringRequest establishes cluster and svm peerings between the source and the destination replications.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name of the replication, in the format of projects/{project_id}/locations/{location}/volumes/{volume_id}/replications/{replication_id}.
$msg->peer_cluster_name()/$msg->peer_cluster_name($value)Type:
StringRequired. Name of the user's local source cluster to be peered with the destination cluster.
$msg->peer_svm_name()/$msg->peer_svm_name($value)Type:
StringRequired. Name of the user's local source vserver svm to be peered with the destination vserver svm.
$msg->peer_ip_addresses()/$msg->peer_ip_addresses($value)Type:
StringOptional. List of IPv4 ip addresses to be used for peering.
$msg->peer_volume_name()/$msg->peer_volume_name($value)Type:
StringRequired. Name of the user's local source volume to be peered with the destination volume.
Google::Cloud::Netapp::V1::Replication::SyncReplicationRequest
SyncReplicationRequest syncs the replication from source to destination.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringRequired. The resource name of the replication, in the format of projects/{project_id}/locations/{location}/volumes/{volume_id}/replications/{replication_id}.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Netapp::V1::Replication::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.