Google Cloud Build V1 Client - Class TimeSpan (0.16.3)

Reference documentation and code samples for the Google Cloud Build V1 Client class TimeSpan.

Start and end times for a build execution phase.

Generated from protobuf message google.devtools.cloudbuild.v1.TimeSpan

Namespace

Google \ Cloud \ Build \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ start_time Google\Protobuf\Timestamp

Start of time span.

↳ end_time Google\Protobuf\Timestamp

End of time span.

getStartTime

Start of time span.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasStartTime

clearStartTime

setStartTime

Start of time span.

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

getEndTime

End of time span.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasEndTime

clearEndTime

setEndTime

End of time span.

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