- [JSON representation](https://developers.google.com/my-business/reference/businessinformation/rest/v1alpha/Attribute#SCHEMA_REPRESENTATION)
- [RepeatedEnumAttributeValue](https://developers.google.com/my-business/reference/businessinformation/rest/v1alpha/Attribute#RepeatedEnumAttributeValue)
  - [JSON representation](https://developers.google.com/my-business/reference/businessinformation/rest/v1alpha/Attribute#RepeatedEnumAttributeValue.SCHEMA_REPRESENTATION)
- [UriAttributeValue](https://developers.google.com/my-business/reference/businessinformation/rest/v1alpha/Attribute#UriAttributeValue)
  - [JSON representation](https://developers.google.com/my-business/reference/businessinformation/rest/v1alpha/Attribute#UriAttributeValue.SCHEMA_REPRESENTATION)

A location attribute. Attributes provide additional information about a location. The attributes that can be set on a location may vary based on the properties of that location (for example, category). Available attributes are determined by Google and may be added and removed without API changes.

| JSON representation |
|---|
| ``` { "name": string, "valueType": enum (`https://developers.google.com/my-business/reference/businessinformation/rest/v1alpha/AttributeValueType`), "values": [ value ], "repeatedEnumValue": { object (`https://developers.google.com/my-business/reference/businessinformation/rest/v1alpha/Attribute#RepeatedEnumAttributeValue`) }, "uriValues": [ { object (`https://developers.google.com/my-business/reference/businessinformation/rest/v1alpha/Attribute#UriAttributeValue`) } ] } ``` |

| Fields ||
|---|---|
| `name` | `string` Required. The resource name for this attribute. |
| `valueType` | ``enum (`https://developers.google.com/my-business/reference/businessinformation/rest/v1alpha/AttributeValueType`)`` Output only. The type of value that this attribute contains. This should be used to determine how to interpret the value. |
| `values[]` | ``value (`https://protobuf.dev/reference/protobuf/google.protobuf#value` format)`` The values for this attribute. The type of the values supplied must match that expected for that attribute. This is a repeated field where multiple attribute values may be provided. Attribute types only support one value. |
| `repeatedEnumValue` | ``object (`https://developers.google.com/my-business/reference/businessinformation/rest/v1alpha/Attribute#RepeatedEnumAttributeValue`)`` When the attribute value type is REPEATED_ENUM, this contains the attribute value, and the other values fields must be empty. |
| `uriValues[]` | ``object (`https://developers.google.com/my-business/reference/businessinformation/rest/v1alpha/Attribute#UriAttributeValue`)`` When the attribute value type is URL, this field contains the value(s) for this attribute, and the other values fields must be empty. |

## RepeatedEnumAttributeValue

Values for an attribute with a `valueType` of REPEATED_ENUM. This consists of two lists of value IDs: those that are set (true) and those that are unset (false). Values absent are considered unknown. At least one value must be specified.

| JSON representation |
|---|
| ``` { "setValues": [ string ], "unsetValues": [ string ] } ``` |

| Fields ||
|---|---|
| `setValues[]` | `string` Enum values that are set. |
| `unsetValues[]` | `string` Enum values that are unset. |

## UriAttributeValue

Values for an attribute with a `valueType` of URL.

| JSON representation |
|---|
| ``` { "uri": string } ``` |

| Fields ||
|---|---|
| `uri` | `string` Required. The proposed URI value for this attribute. |