Stackdriver Error Reporting V1beta1 Client - Class TimedCount (0.22.8)

Reference documentation and code samples for the Stackdriver Error Reporting V1beta1 Client class TimedCount.

The number of errors in a given time period.

All numbers are approximate since the error events are sampled before counting them.

Generated from protobuf message google.devtools.clouderrorreporting.v1beta1.TimedCount

Namespace

Google \ Cloud \ ErrorReporting \ V1beta1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ count int|string

Approximate number of occurrences in the given time period.

↳ start_time Google\Protobuf\Timestamp

Start of the time period to which count refers (included).

↳ end_time Google\Protobuf\Timestamp

End of the time period to which count refers (excluded).

getCount

Approximate number of occurrences in the given time period.

Returns
Type Description
int|string

setCount

Approximate number of occurrences in the given time period.

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

getStartTime

Start of the time period to which count refers (included).

Returns
Type Description
Google\Protobuf\Timestamp|null

hasStartTime

clearStartTime

setStartTime

Start of the time period to which count refers (included).

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

getEndTime

End of the time period to which count refers (excluded).

Returns
Type Description
Google\Protobuf\Timestamp|null

hasEndTime

clearEndTime

setEndTime

End of the time period to which count refers (excluded).

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