Google Cloud Net App V1 Client - Class TransferStats (0.3.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

bytes trasferred so far in current transfer.

↳ total_transfer_duration Google\Protobuf\Duration

Total time taken during transfer.

↳ 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

bytes trasferred so far in current transfer.

Returns
Type Description
int|string

hasTransferBytes

clearTransferBytes

setTransferBytes

bytes trasferred so far in current transfer.

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

getTotalTransferDuration

Total time taken during transfer.

Returns
Type Description
Google\Protobuf\Duration|null

hasTotalTransferDuration

clearTotalTransferDuration

setTotalTransferDuration

Total time taken during transfer.

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