Class MetricValue
Represents a single metric value.
Implements
Inherited Members
Namespace: Google.Apis.ServiceControl.v1.Data
Assembly: Google.Apis.ServiceControl.v1.dll
Syntax
public class MetricValue : IDirectResponseSchema
Properties
BoolValue
A boolean value.
Declaration
[JsonProperty("boolValue")]
public virtual bool? BoolValue { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
DistributionValue
A distribution value.
Declaration
[JsonProperty("distributionValue")]
public virtual Distribution DistributionValue { get; set; }
Property Value
| Type | Description |
|---|---|
| Distribution |
DoubleValue
A double precision floating point value.
Declaration
[JsonProperty("doubleValue")]
public virtual double? DoubleValue { get; set; }
Property Value
| Type | Description |
|---|---|
| double? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
EndTime
object representation of EndTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use EndTimeDateTimeOffset instead.")]
public virtual object EndTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
EndTimeDateTimeOffset
DateTimeOffset representation of EndTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? EndTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
EndTimeRaw
The end of the time period over which this metric value's measurement applies. If not specified, google.api.servicecontrol.v1.Operation.end_time will be used.
Declaration
[JsonProperty("endTime")]
public virtual string EndTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Int64Value
A signed 64-bit integer value.
Declaration
[JsonProperty("int64Value")]
public virtual long? Int64Value { get; set; }
Property Value
| Type | Description |
|---|---|
| long? |
Labels
The labels describing the metric value. See comments on google.api.servicecontrol.v1.Operation.labels for the overriding relationship. Note that this map must not contain monitored resource labels.
Declaration
[JsonProperty("labels")]
public virtual IDictionary<string, string> Labels { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, string> |
MoneyValue
A money value.
Declaration
[JsonProperty("moneyValue")]
public virtual Money MoneyValue { get; set; }
Property Value
| Type | Description |
|---|---|
| Money |
StartTime
object representation of StartTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use StartTimeDateTimeOffset instead.")]
public virtual object StartTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
StartTimeDateTimeOffset
DateTimeOffset representation of StartTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? StartTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
StartTimeRaw
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. If not specified, google.api.servicecontrol.v1.Operation.start_time will be used.
Declaration
[JsonProperty("startTime")]
public virtual string StartTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
StringValue
A text string value.
Declaration
[JsonProperty("stringValue")]
public virtual string StringValue { get; set; }
Property Value
| Type | Description |
|---|---|
| string |