Metric
class Metric extends Message
A specific metric, identified by specifying values for all of the
labels of a [MetricDescriptor
][google.api.MetricDescriptor].
Protobuf type 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 58
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 71
RepeatedField
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 83
setLabels(array|RepeatedField $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;