AI-generated Key Takeaways
- 
          Locations have attributes that provide additional information, varying by location properties like category. 
- 
          Attributes have a name, value type, and values which can be of type URL or REPEATED_ENUM. 
- 
          REPEATED_ENUM attributes have values that are either set or unset, while URL attributes have a URI value. 
- 
          Available location attributes are determined by Google and can change without API updates. 
- 
          Attributes only support one value, but multiple values can be provided in a repeated field. 
A container for all the attributes for a given location.
| JSON representation | 
|---|
| {
  "name": string,
  "attributes": [
    {
      object ( | 
| Fields | |
|---|---|
| name | 
 Required. Google identifier for this location in the form of  | 
| attributes[] | 
 A collection of attributes that need to be updated. | 
Attribute
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 ( | 
| Fields | |
|---|---|
| name | 
 Required. The resource name for this attribute. | 
| valueType | 
 Output only. The type of value that this attribute contains. This should be used to determine how to interpret the value. | 
| values[] | 
 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 | 
 When the attribute value type is REPEATED_ENUM, this contains the attribute value, and the other values fields must be empty. | 
| uriValues[] | 
 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[] | 
 Enum values that are set. | 
| unsetValues[] | 
 Enum values that are unset. | 
UriAttributeValue
Values for an attribute with a valueType of URL.
| JSON representation | 
|---|
| { "uri": string } | 
| Fields | |
|---|---|
| uri | 
 Required. The proposed URI value for this attribute. |