# CustomAttribute

- [JSON representation](https://developers.google.com/merchant/api/reference/rest/Shared.Types/CustomAttribute#SCHEMA_REPRESENTATION)

A message that represents custom attributes. Exactly one of `value` or `groupValues` must not be empty.

| JSON representation |
|---|
| ``` { "groupValues": [ { object (`https://developers.google.com/merchant/api/reference/rest/Shared.Types/CustomAttribute`) } ], "name": string, "value": string } ``` |

| Fields ||
|---|---|
| `groupValues[]` | ``object (`https://developers.google.com/merchant/api/reference/rest/Shared.Types/CustomAttribute`)`` Subattributes within this attribute group. If `groupValues` is not empty, `value` must be empty. |
| `name` | `string` The name of the attribute. |
| `value` | `string` The value of the attribute. If `value` is not empty, `groupValues` must be empty. |