Google Cloud Service Control V1 Client - Class MetricValueSet (1.1.1)

Reference documentation and code samples for the Google Cloud Service Control V1 Client class MetricValueSet.

Represents a set of metric values in the same metric.

Each metric value in the set should have a unique combination of start time, end time, and label values.

Generated from protobuf message google.api.servicecontrol.v1.MetricValueSet

Namespace

Google \ Cloud \ ServiceControl \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ metric_name string

The metric name defined in the service configuration.

↳ metric_values array<Google\Cloud\ServiceControl\V1\MetricValue>

The values in this metric.

getMetricName

The metric name defined in the service configuration.

Returns
TypeDescription
string

setMetricName

The metric name defined in the service configuration.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getMetricValues

The values in this metric.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setMetricValues

The values in this metric.

Parameter
NameDescription
var array<Google\Cloud\ServiceControl\V1\MetricValue>
Returns
TypeDescription
$this