Metric
class Metric extends Message
A specific metric, identified by specifying values for all of the
labels of a [MetricDescriptor
][google.api.MetricDescriptor].
Generated from protobuf message google.api.Metric
Methods
No description
An existing metric type, see [google.api.MetricDescriptor][google.api.MetricDescriptor].
An existing metric type, see [google.api.MetricDescriptor][google.api.MetricDescriptor].
The set of label values that uniquely identify this metric. All
labels listed in the MetricDescriptor
must be assigned values.
The set of label values that uniquely identify this metric. All
labels listed in the MetricDescriptor
must be assigned values.
Details
at line 34
__construct()
at line 46
string
getType()
An existing metric type, see [google.api.MetricDescriptor][google.api.MetricDescriptor].
For example, custom.googleapis.com/invoice/paid/amount
.
Generated from protobuf field string type = 3;
at line 59
$this
setType(string $var)
An existing metric type, see [google.api.MetricDescriptor][google.api.MetricDescriptor].
For example, custom.googleapis.com/invoice/paid/amount
.
Generated from protobuf field string type = 3;
at line 74
MapField
getLabels()
The set of label values that uniquely identify this metric. All
labels listed in the MetricDescriptor
must be assigned values.
Generated from protobuf field map<string, string> labels = 2;
at line 87
$this
setLabels(array|MapField $var)
The set of label values that uniquely identify this metric. All
labels listed in the MetricDescriptor
must be assigned values.
Generated from protobuf field map<string, string> labels = 2;