AI-generated Key Takeaways
-
Update location attributes using a PATCH request to the specified endpoint.
-
Specify the location using the
attributes.namepath parameter and the attributes to update using theattributeMaskquery parameter. -
Provide the updated attribute values in the request body as an
Attributesobject. -
A successful response returns the updated
Attributesobject. -
Requires the
https://www.googleapis.com/auth/business.manageOAuth scope for authorization.
Update attributes for a given location.
HTTP request
PATCH https://mybusinessbusinessinformation.googleapis.com/v1/{attributes.name=locations/*/attributes}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
attributes.name |
Required. Google identifier for this location in the form of |
Query parameters
| Parameters | |
|---|---|
attributeMask |
Required. Attribute name of attributes that you'd like to update. Represented by Updates: All attributes provided in the attributes field that you would like to update must be set in the Deletes: If you'd like to delete certain attributes, they must be specified in the This is a comma-separated list of fully qualified names of fields. Example: |
Request body
The request body contains an instance of Attributes.
Response body
If successful, the response body contains an instance of Attributes.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/business.manage
For more information, see the OAuth 2.0 Overview.