Google Cloud Net App V1 Client - Class TransferStats (1.0.1)

Reference documentation and code samples for the Google Cloud Net App V1 Client class TransferStats.

TransferStats reports all statistics related to replication transfer.

Generated from protobuf message google.cloud.netapp.v1.TransferStats

Namespace

Google \ Cloud \ NetApp \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ transfer_bytes int|string

Cumulative bytes trasferred so far for the replication relatinonship.

↳ total_transfer_duration Google\Protobuf\Duration

Cumulative time taken across all transfers for the replication relationship.

↳ last_transfer_bytes int|string

Last transfer size in bytes.

↳ last_transfer_duration Google\Protobuf\Duration

Time taken during last transfer.

↳ lag_duration Google\Protobuf\Duration

Lag duration indicates the duration by which Destination region volume content lags behind the primary region volume content.

↳ update_time Google\Protobuf\Timestamp

Time when progress was updated last.

↳ last_transfer_end_time Google\Protobuf\Timestamp

Time when last transfer completed.

↳ last_transfer_error string

A message describing the cause of the last transfer failure.

getTransferBytes

Cumulative bytes trasferred so far for the replication relatinonship.

Returns
Type Description
int|string

hasTransferBytes

clearTransferBytes

setTransferBytes

Cumulative bytes trasferred so far for the replication relatinonship.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getTotalTransferDuration

Cumulative time taken across all transfers for the replication relationship.

Returns
Type Description
Google\Protobuf\Duration|null

hasTotalTransferDuration

clearTotalTransferDuration

setTotalTransferDuration

Cumulative time taken across all transfers for the replication relationship.

Parameter
Name Description
var Google\Protobuf\Duration
Returns
Type Description
$this

getLastTransferBytes

Last transfer size in bytes.

Returns
Type Description
int|string

hasLastTransferBytes

clearLastTransferBytes

setLastTransferBytes

Last transfer size in bytes.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getLastTransferDuration

Time taken during last transfer.

Returns
Type Description
Google\Protobuf\Duration|null

hasLastTransferDuration

clearLastTransferDuration

setLastTransferDuration

Time taken during last transfer.

Parameter
Name Description
var Google\Protobuf\Duration
Returns
Type Description
$this

getLagDuration

Lag duration indicates the duration by which Destination region volume content lags behind the primary region volume content.

Returns
Type Description
Google\Protobuf\Duration|null

hasLagDuration

clearLagDuration

setLagDuration

Lag duration indicates the duration by which Destination region volume content lags behind the primary region volume content.

Parameter
Name Description
var Google\Protobuf\Duration
Returns
Type Description
$this

getUpdateTime

Time when progress was updated last.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Time when progress was updated last.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getLastTransferEndTime

Time when last transfer completed.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasLastTransferEndTime

clearLastTransferEndTime

setLastTransferEndTime

Time when last transfer completed.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getLastTransferError

A message describing the cause of the last transfer failure.

Returns
Type Description
string

hasLastTransferError

clearLastTransferError

setLastTransferError

A message describing the cause of the last transfer failure.

Parameter
Name Description
var string
Returns
Type Description
$this