--- title: istio.mixer.adapter.sample.quota layout: protoc-gen-docs number_of_entries: 6 ---

## Res1

Field | Type | Description
--- | --- | ---
`value` | `istio.mixer.adapter.model.v1beta1.Value` |
`dimensions` | `map<string, istio.mixer.adapter.model.v1beta1.Value>` |
`int64Primitive` | `int64` |
`boolPrimitive` | `bool` |
`doublePrimitive` | `double` |
`stringPrimitive` | `string` |
`int64Map` | `map<string, int64>` |
`timeStamp` | `istio.mixer.adapter.model.v1beta1.TimeStamp` |
`duration` | `istio.mixer.adapter.model.v1beta1.Duration` |
`res2` | `Res2` |
`res2Map` | `map<string, Res2>` |

## Res2

Field | Type | Description
--- | --- | ---
`value` | `istio.mixer.adapter.model.v1beta1.Value` |
`dimensions` | `map<string, istio.mixer.adapter.model.v1beta1.Value>` |
`int64Primitive` | `int64` |

## Template

Field | Type | Description
--- | --- | ---
`dimensions` | `map<string, istio.mixer.adapter.model.v1beta1.Value>` |
`boolMap` | `map<string, bool>` |
`res1` | `Res1` |

## istio.mixer.adapter.model.v1beta1.Duration

Duration is used inside templates for fields that are of ValueType “DURATION”

Field | Type | Description
--- | --- | ---
`value` | `google.protobuf.Duration` | Duration encoded as google.protobuf.Duration.

## istio.mixer.adapter.model.v1beta1.TimeStamp

TimeStamp is used inside templates for fields that are of ValueType “TIMESTAMP”

Field | Type | Description
--- | --- | ---
`value` | `google.protobuf.Timestamp` | TimeStamp encoded as google.protobuf.Timestamp.

## istio.mixer.adapter.model.v1beta1.Value

Value is used inside templates for fields that have dynamic types. The actual datatype of the field depends on the datatype of the expression used in the operator configuration.

Field | Type | Description
--- | --- | ---
`stringValue` | `string (oneof)` | Used for values of type STRING
`int64Value` | `int64 (oneof)` | Used for values of type INT64
`doubleValue` | `double (oneof)` | Used for values of type DOUBLE
`boolValue` | `bool (oneof)` | Used for values of type BOOL
`ipAddressValue` | `istio.mixer.adapter.model.v1beta1.IPAddress (oneof)` | Used for values of type IPAddress
`timestampValue` | `istio.mixer.adapter.model.v1beta1.TimeStamp (oneof)` | Used for values of type TIMESTAMP
`durationValue` | `istio.mixer.adapter.model.v1beta1.Duration (oneof)` | Used for values of type DURATION
`emailAddressValue` | `istio.mixer.adapter.model.v1beta1.EmailAddress (oneof)` | Used for values of type EmailAddress
`dnsNameValue` | `istio.mixer.adapter.model.v1beta1.DNSName (oneof)` | Used for values of type DNSName
`uriValue` | `istio.mixer.adapter.model.v1beta1.Uri (oneof)` | Used for values of type Uri