gmb_info_locations_updateattributes
Update attributes for a specified Google Business Profile location. Provide the location ID and attribute mask to modify or delete attributes via the Google My Business API.
Instructions
PATCH v1/{+name}. Update attributes for a given location.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | JSON request body for this Google API method. | |
| name | Yes | Required. Google identifier for this location in the form of `locations/{location_id}/attributes`. | |
| fields | No | Selector specifying which fields to include in a partial response. | |
| $.xgafv | No | V1 error format. | |
| quotaUser | No | Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. | |
| prettyPrint | No | Returns response with indentations and line breaks. | |
| attributeMask | No | Required. Attribute name of attributes that you'd like to update. Represented by `attributes/{attribute}`. Updates: All attributes provided in the attributes field that you would like to update must be set in the `attribute_mask`. Attributes set in the above list but not in the `attribute_mask` will be ignored. Deletes: If you'd like to delete certain attributes, they must be specified in the `attribute_mask` with no matching entry in the attributes list. If you'd like to delete all attributes set on a location, you should look up all the applicable attributes for the location and then add them to the `attribute_mask` with an empty attributes field. |