Google Cloud Capacity Planner V1beta Client - Class OperationMetadata (0.1.0)

Reference documentation and code samples for the Google Cloud Capacity Planner V1beta Client class OperationMetadata.

Represents the metadata of a long-running operation.

Generated from protobuf message google.cloud.capacityplanner.v1beta.OperationMetadata

Namespace

Google \ Cloud \ CapacityPlanner \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ create_time Google\Protobuf\Timestamp

Output only. The time the operation was created.

↳ end_time Google\Protobuf\Timestamp

Output only. The time the operation finished running.

getCreateTime

Output only. The time the operation was created.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. The time the operation was created.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getEndTime

Output only. The time the operation finished running.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasEndTime

clearEndTime

setEndTime

Output only. The time the operation finished running.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this