--- title: istio.mixer.adapter.sample.myApa layout: protoc-gen-docs number_of_entries: 9 ---

## OutputTemplate

Field | Type | Description
--- | --- | ---
`int64Primitive` | `int64` |
`boolPrimitive` | `bool` |
`doublePrimitive` | `double` |
`stringPrimitive` | `string` |
`timeStamp` | `istio.mixer.adapter.model.v1beta1.TimeStamp` |
`duration` | `istio.mixer.adapter.model.v1beta1.Duration` |
`email` | `istio.mixer.adapter.model.v1beta1.EmailAddress` |
`outIp` | `istio.mixer.adapter.model.v1beta1.IPAddress` |
`outStrMap` | `map<string, string>` |

## Resource1

Field | Type | Description
--- | --- | ---
`str` | `string` |
`selfRefRes1` | `Resource1` |
`resRef2` | `Resource2` |

## Resource2

Field | Type | Description
--- | --- | ---
`str` | `string` |
`res3` | `Resource3` |
`res3Map` | `map<string, Resource3>` |

## Resource3

resource3 comment

Field | Type | Description
--- | --- | ---
`int64Primitive` | `int64` |
`boolPrimitive` | `bool` |
`doublePrimitive` | `double` |
`stringPrimitive` | `string` |
`dimensionsFixedInt64ValueDType` | `map<string, int64>` |
`timeStamp` | `istio.mixer.adapter.model.v1beta1.TimeStamp` |
`duration` | `istio.mixer.adapter.model.v1beta1.Duration` |

## Template

myapa template is ..

Field | Type | Description
--- | --- | ---
`int64Primitive` | `int64` |
`boolPrimitive` | `bool` |
`doublePrimitive` | `double` |
`stringPrimitive` | `string` |
`dimensionsFixedInt64ValueDType` | `map<string, int64>` |
`timeStamp` | `istio.mixer.adapter.model.v1beta1.TimeStamp` |
`duration` | `istio.mixer.adapter.model.v1beta1.Duration` |
`res3Map` | `map<string, Resource3>` |
`optionalIP` | `istio.mixer.adapter.model.v1beta1.IPAddress` |
`email` | `istio.mixer.adapter.model.v1beta1.EmailAddress` |

## 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.EmailAddress

EmailAddress is used inside templates for fields that are of ValueType “EMAIL_ADDRESS” DO NOT USE !! Under Development

Field | Type | Description
--- | --- | ---
`value` | `string` | EmailAddress encoded as string.

## istio.mixer.adapter.model.v1beta1.IPAddress

IPAddress is used inside templates for fields that are of ValueType “IP_ADDRESS”

Field | Type | Description
--- | --- | ---
`value` | `bytes` | IPAddress encoded as bytes.

## 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.