Reference documentation and code samples for the Google API Common Protos Client class Metric.
A specific metric, identified by specifying values for all of the
labels of a MetricDescriptor
.
Generated from protobuf message google.api.Metric
Namespace
Google \ ApiMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ type
string
An existing metric type, see google.api.MetricDescriptor
. For example, custom.googleapis.com/invoice/paid/amount
.
↳ labels
array| Google\Protobuf\Internal\MapField
The set of label values that uniquely identify this metric. All labels listed in the MetricDescriptor
must be assigned values.
getType
An existing metric type, see google.api.MetricDescriptor
. For example, custom.googleapis.com/invoice/paid/amount
.
string
setType
An existing metric type, see google.api.MetricDescriptor
. For example, custom.googleapis.com/invoice/paid/amount
.
var
string
$this
getLabels
The set of label values that uniquely identify this metric. All
labels listed in the MetricDescriptor
must be assigned values.
setLabels
The set of label values that uniquely identify this metric. All
labels listed in the MetricDescriptor
must be assigned values.
$this