Update location attributes
update_location_attributesModify Google Business location attributes: set values like Wi-Fi availability or clear them by name. Uses PATCH with a 10 edits/min per-profile limit.
Instructions
Updates attributes of a location (PATCH). Each attribute needs its name (attributes/{attribute_id} from list_attribute_metadata's parent field) plus values (BOOL/ENUM), uriValues (URL) or repeatedEnumValue ({setValues, unsetValues}). attributeMask defaults to the names of the attributes you pass; name an attribute in the mask with no values to clear it. Counts against the 10 edits/min per-profile cap.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| attributes | Yes | Attribute objects to set, e.g. [{"name": "attributes/wi_fi", "repeatedEnumValue": {"setValues": ["free_wi_fi"]}}]. | |
| locationId | Yes | Location id — bare "123", "locations/123" or "accounts/1/locations/123" all work. | |
| attributeMask | No | Comma-separated attribute names to update. Defaults to the names of `attributes`. |