Cloud Firestore V1 Client - Class Progress (1.47.0)

Reference documentation and code samples for the Cloud Firestore V1 Client class Progress.

Describes the progress of the operation.

Unit of work is generic and must be interpreted based on where Progress is used.

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

Namespace

Google \ Cloud \ Firestore \ Admin \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ estimated_work int|string

The amount of work estimated.

↳ completed_work int|string

The amount of work completed.

getEstimatedWork

The amount of work estimated.

Returns
Type Description
int|string

setEstimatedWork

The amount of work estimated.

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

getCompletedWork

The amount of work completed.

Returns
Type Description
int|string

setCompletedWork

The amount of work completed.

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