# NetApp V1 API - Class Google::Cloud::NetApp::V1::TransferStats (v2.11.0)

2.11.0 (latest) 2.10.0 2.9.0 2.8.0 2.7.0 2.6.1 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.2 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.1 1.0.0 0.6.0 0.5.2 0.4.2 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the NetApp V1 API class Google::Cloud::NetApp::V1::TransferStats.

TransferStats reports all statistics related to replication transfer.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #lag_duration

    def lag_duration() -> ::Google::Protobuf::Duration

**Returns**

- ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-netapp-v1/latest/Google-Protobuf-Duration)) --- Lag duration indicates the duration by which Destination region volume content lags behind the primary region volume content.

### #lag_duration=

    def lag_duration=(value) -> ::Google::Protobuf::Duration

**Parameter**

- **value** ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-netapp-v1/latest/Google-Protobuf-Duration)) --- Lag duration indicates the duration by which Destination region volume content lags behind the primary region volume content.
**Returns**

- ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-netapp-v1/latest/Google-Protobuf-Duration)) --- Lag duration indicates the duration by which Destination region volume content lags behind the primary region volume content.

### #last_transfer_bytes

    def last_transfer_bytes() -> ::Integer

**Returns**

- (::Integer) --- Last transfer size in bytes.

### #last_transfer_bytes=

    def last_transfer_bytes=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Last transfer size in bytes.
**Returns**

- (::Integer) --- Last transfer size in bytes.

### #last_transfer_duration

    def last_transfer_duration() -> ::Google::Protobuf::Duration

**Returns**

- ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-netapp-v1/latest/Google-Protobuf-Duration)) --- Time taken during last transfer.

### #last_transfer_duration=

    def last_transfer_duration=(value) -> ::Google::Protobuf::Duration

**Parameter**

- **value** ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-netapp-v1/latest/Google-Protobuf-Duration)) --- Time taken during last transfer.
**Returns**

- ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-netapp-v1/latest/Google-Protobuf-Duration)) --- Time taken during last transfer.

### #last_transfer_end_time

    def last_transfer_end_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-netapp-v1/latest/Google-Protobuf-Timestamp)) --- Time when last transfer completed.

### #last_transfer_end_time=

    def last_transfer_end_time=(value) -> ::Google::Protobuf::Timestamp

**Parameter**

- **value** ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-netapp-v1/latest/Google-Protobuf-Timestamp)) --- Time when last transfer completed.
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-netapp-v1/latest/Google-Protobuf-Timestamp)) --- Time when last transfer completed.

### #last_transfer_error

    def last_transfer_error() -> ::String

**Returns**

- (::String) --- A message describing the cause of the last transfer failure.

### #last_transfer_error=

    def last_transfer_error=(value) -> ::String

**Parameter**

- **value** (::String) --- A message describing the cause of the last transfer failure.
**Returns**

- (::String) --- A message describing the cause of the last transfer failure.

### #total_transfer_duration

    def total_transfer_duration() -> ::Google::Protobuf::Duration

**Returns**

- ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-netapp-v1/latest/Google-Protobuf-Duration)) --- Cumulative time taken across all transfers for the replication relationship.

### #total_transfer_duration=

    def total_transfer_duration=(value) -> ::Google::Protobuf::Duration

**Parameter**

- **value** ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-netapp-v1/latest/Google-Protobuf-Duration)) --- Cumulative time taken across all transfers for the replication relationship.
**Returns**

- ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-netapp-v1/latest/Google-Protobuf-Duration)) --- Cumulative time taken across all transfers for the replication relationship.

### #transfer_bytes

    def transfer_bytes() -> ::Integer

**Returns**

- (::Integer) --- Cumulative bytes transferred so far for the replication relationship.

### #transfer_bytes=

    def transfer_bytes=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Cumulative bytes transferred so far for the replication relationship.
**Returns**

- (::Integer) --- Cumulative bytes transferred so far for the replication relationship.

### #update_time

    def update_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-netapp-v1/latest/Google-Protobuf-Timestamp)) --- Time when progress was updated last.

### #update_time=

    def update_time=(value) -> ::Google::Protobuf::Timestamp

**Parameter**

- **value** ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-netapp-v1/latest/Google-Protobuf-Timestamp)) --- Time when progress was updated last.
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-netapp-v1/latest/Google-Protobuf-Timestamp)) --- Time when progress was updated last.