# Parameter

- [JSON representation](https://developers.google.com/tag-platform/tag-manager/api/reference/rest/v2/Parameter#SCHEMA_REPRESENTATION)
- [Type](https://developers.google.com/tag-platform/tag-manager/api/reference/rest/v2/Parameter#Type)

Represents a Google Tag Manager Parameter.

| JSON representation |
|---|
| ``` { "type": enum (`https://developers.google.com/tag-platform/tag-manager/api/reference/rest/v2/Parameter#Type`), "key": string, "value": string, "list": [ { object (`https://developers.google.com/tag-platform/tag-manager/api/reference/rest/v2/Parameter`) } ], "map": [ { object (`https://developers.google.com/tag-platform/tag-manager/api/reference/rest/v2/Parameter`) } ], "isWeakReference": boolean } ``` |

| Fields ||
|---|---|
| `type` | ``enum (`https://developers.google.com/tag-platform/tag-manager/api/reference/rest/v2/Parameter#Type`)`` The parameter type. Valid values are: - <br /> `boolean` : The value represents a boolean, represented as 'true' or 'false' - <br /> `integer` : The value represents a 64-bit signed integer value, in base 10 - <br /> `list` : A list of parameters should be specified - <br /> `map` : A map of parameters should be specified - <br /> `template` : The value represents any text; this can include variable references (even variable references that might return non-string types) - <br /> `trigger_reference` : The value represents a trigger, represented as the trigger id - <br /> `tag_reference` : The value represents a tag, represented as the tag name <br /> |
| `key` | `string` The named key that uniquely identifies a parameter. Required for top-level parameters, as well as map values. Ignored for list values. |
| `value` | `string` A parameter's value (may contain variable references). as appropriate to the specified type. |
| `list[]` | ``object (`https://developers.google.com/tag-platform/tag-manager/api/reference/rest/v2/Parameter`)`` This list parameter's parameters (keys will be ignored). |
| `map[]` | ``object (`https://developers.google.com/tag-platform/tag-manager/api/reference/rest/v2/Parameter`)`` This map parameter's parameters (must have keys; keys must be unique). |
| `isWeakReference` | `boolean` Whether or not a reference type parameter is strongly or weakly referenced. Only used by Transformations. |

## Type

When modifying Type enum, make sure you keep the type field documentation in sync.

| Enums ||
|---|---|
| `typeUnspecified` |   |
| `template` | May include variable references. |
| `integer` |   |
| `boolean` |   |
| `list` |   |
| `map` |   |
| `triggerReference` |   |
| `tagReference` |   |