Cloud Bigtable V2 Client - Class OperationProgress (1.27.0)

Reference documentation and code samples for the Cloud Bigtable V2 Client class OperationProgress.

Encapsulates progress related information for a Cloud Bigtable long running operation.

Generated from protobuf message google.bigtable.admin.v2.OperationProgress

Namespace

Google \ Cloud \ Bigtable \ Admin \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ progress_percent int

Percent completion of the operation. Values are between 0 and 100 inclusive.

↳ start_time Google\Protobuf\Timestamp

Time the request was received.

↳ end_time Google\Protobuf\Timestamp

If set, the time at which this operation failed or was completed successfully.

getProgressPercent

Percent completion of the operation.

Values are between 0 and 100 inclusive.

Returns
TypeDescription
int

setProgressPercent

Percent completion of the operation.

Values are between 0 and 100 inclusive.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getStartTime

Time the request was received.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasStartTime

clearStartTime

setStartTime

Time the request was received.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getEndTime

If set, the time at which this operation failed or was completed successfully.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasEndTime

clearEndTime

setEndTime

If set, the time at which this operation failed or was completed successfully.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this