# Service Control API V1 API - Class Google::Cloud::ServiceControl::V1::MetricValueSet (v1.7.0)

1.7.0 (latest) 1.6.1 1.5.0 1.4.1 1.3.0 1.2.1 1.1.0 1.0.1 0.11.0 0.10.0 0.9.2 0.8.0 0.7.1 0.6.0 0.5.0 0.4.6 Reference documentation and code samples for the Service Control API V1 API class Google::Cloud::ServiceControl::V1::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.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #metric_name

    def metric_name() -> ::String

**Returns**

- (::String) --- The metric name defined in the service configuration.

### #metric_name=

    def metric_name=(value) -> ::String

**Parameter**

- **value** (::String) --- The metric name defined in the service configuration.
**Returns**

- (::String) --- The metric name defined in the service configuration.

### #metric_values

    def metric_values() -> ::Array<::Google::Cloud::ServiceControl::V1::MetricValue>

**Returns**

- (::Array\<[::Google::Cloud::ServiceControl::V1::MetricValue](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-service_control-v1/latest/Google-Cloud-ServiceControl-V1-MetricValue)\>) --- The values in this metric.

### #metric_values=

    def metric_values=(value) -> ::Array<::Google::Cloud::ServiceControl::V1::MetricValue>

**Parameter**

- **value** (::Array\<[::Google::Cloud::ServiceControl::V1::MetricValue](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-service_control-v1/latest/Google-Cloud-ServiceControl-V1-MetricValue)\>) --- The values in this metric.
**Returns**

- (::Array\<[::Google::Cloud::ServiceControl::V1::MetricValue](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-service_control-v1/latest/Google-Cloud-ServiceControl-V1-MetricValue)\>) --- The values in this metric.