Reference documentation and code samples for the Database Center V1BETA API class Google::Cloud::DatabaseCenter::V1beta::MetricData.
MetricData represents the metric data for a database resource.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#observation_time
def observation_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — The time the metric was observed in the metric source service.
#observation_time=
def observation_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — The time the metric was observed in the metric source service.
Returns
- (::Google::Protobuf::Timestamp) — The time the metric was observed in the metric source service.
#value
def value() -> ::Google::Cloud::DatabaseCenter::V1beta::TypedValue
Returns
- (::Google::Cloud::DatabaseCenter::V1beta::TypedValue) — The value associated with the metric.
#value=
def value=(value) -> ::Google::Cloud::DatabaseCenter::V1beta::TypedValue
Parameter
- value (::Google::Cloud::DatabaseCenter::V1beta::TypedValue) — The value associated with the metric.
Returns
- (::Google::Cloud::DatabaseCenter::V1beta::TypedValue) — The value associated with the metric.