MetricValue(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Represents a single metric value. .. attribute:: labels
The labels describing the metric value. See comments on
google.api.servicecontrol.v1.Operation.labels][google.api.servicecontrol.v1.Operation.labels]
for the overriding relationship. Note that this map must not
contain monitored resource labels.
:type: Sequence[google.cloud.servicecontrol_v1.types.MetricValue.LabelsEntry]
Attributes | |
---|---|
Name | Description |
start_time |
google.protobuf.timestamp_pb2.Timestamp
The start of the time period over which this metric value's measurement applies. The time period has different semantics for different metric types (cumulative, delta, and gauge). See the metric definition documentation in the service configuration for details. |
end_time |
google.protobuf.timestamp_pb2.Timestamp
The end of the time period over which this metric value's measurement applies. |
bool_value |
bool
A boolean value. |
int64_value |
int
A signed 64-bit integer value. |
double_value |
float
A double precision floating point value. |
string_value |
str
A text string value. |
distribution_value |
google.cloud.servicecontrol_v1.types.Distribution
A distribution value. |
Classes
LabelsEntry
LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The abstract base class for a message.
Parameters | |
---|---|
Name | Description |
kwargs |
dict
Keys and values corresponding to the fields of the message. |
mapping |
Union[dict,
A dictionary or message to be used to determine the values for this message. |
ignore_unknown_fields |
Optional(bool)
If True, do not raise errors for unknown fields. Only applied if |