

# V2MetricSpec

MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).

## Properties

| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**containerResource** | [**V2ContainerResourceMetricSource**](V2ContainerResourceMetricSource.md) |  |  [optional] |
|**external** | [**V2ExternalMetricSource**](V2ExternalMetricSource.md) |  |  [optional] |
|**_object** | [**V2ObjectMetricSource**](V2ObjectMetricSource.md) |  |  [optional] |
|**pods** | [**V2PodsMetricSource**](V2PodsMetricSource.md) |  |  [optional] |
|**resource** | [**V2ResourceMetricSource**](V2ResourceMetricSource.md) |  |  [optional] |
|**type** | **String** | type is the type of metric source.  It should be one of \&quot;ContainerResource\&quot;, \&quot;External\&quot;, \&quot;Object\&quot;, \&quot;Pods\&quot; or \&quot;Resource\&quot;, each mapping to a matching field in the object. |  |



