Google Cloud Datastore Admin V1 Client - Class Progress (0.6.0)

Reference documentation and code samples for the Google Cloud Datastore Admin V1 Client class Progress.

Measures the progress of a particular metric.

Generated from protobuf message google.datastore.admin.v1.Progress

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ work_completed int|string

The amount of work that has been completed. Note that this may be greater than work_estimated.

↳ work_estimated int|string

An estimate of how much work needs to be performed. May be zero if the work estimate is unavailable.

getWorkCompleted

The amount of work that has been completed. Note that this may be greater than work_estimated.

Returns
TypeDescription
int|string

setWorkCompleted

The amount of work that has been completed. Note that this may be greater than work_estimated.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getWorkEstimated

An estimate of how much work needs to be performed. May be zero if the work estimate is unavailable.

Returns
TypeDescription
int|string

setWorkEstimated

An estimate of how much work needs to be performed. May be zero if the work estimate is unavailable.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this