Google Cloud Database Center V1beta Client - Class MetricData (0.5.0)

Reference documentation and code samples for the Google Cloud Database Center V1beta Client class MetricData.

MetricData represents the metric data for a database resource.

Generated from protobuf message google.cloud.databasecenter.v1beta.MetricData

Namespace

Google \ Cloud \ DatabaseCenter \ V1beta

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ value
TypedValue

The value associated with the metric.

↳ observation_time
Google\Protobuf\Timestamp

The time the metric was observed in the metric source service.

getValue

The value associated with the metric.

Returns
Type
Description
TypedValue |null

hasValue

clearValue

setValue

The value associated with the metric.

Parameter
Name
Description
Returns
Type
Description
$this

getObservationTime

The time the metric was observed in the metric source service.

Returns
Type
Description

hasObservationTime

clearObservationTime

setObservationTime

The time the metric was observed in the metric source service.

Parameter
Name
Description
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: