Google Cloud Datastore Admin V1 Client - Class Progress (1.0.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

Namespace

Google \ Cloud \ Datastore \ Admin \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
int|string

setWorkCompleted

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

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

getWorkEstimated

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

Returns
Type Description
int|string

setWorkEstimated

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

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