AI-generated Key Takeaways
-
This document outlines how to update a location's service list using the
PATCH
method and provides details about the request structure. -
The request requires specifying the service list name in the path and allows for partial updates through the
updateMask
query parameter. -
Both request and response bodies utilize the
ServiceList
object, detailed further in external documentation. -
Authorization is necessary and can be achieved using either
https://www.googleapis.com/auth/plus.business.manage
orhttps://www.googleapis.com/auth/business.manage
OAuth scopes.
Updates the specified service list of a location.
HTTP request
PATCH https://mybusiness.googleapis.com/v4/{serviceList.name=accounts/*/locations/*/serviceList}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
serviceList.name |
Required. Google identifier for this location in the form: |
Query parameters
Parameters | |
---|---|
updateMask |
Optional. The specific fields to update. If no mask is specified, then this is treated as a full update and all fields are set to the values passed in, which may include unsetting empty fields in the request. Repeated field items can not be individually updated. This is a comma-separated list of fully qualified names of fields. Example: |
Request body
The request body contains an instance of ServiceList
.
Response body
If successful, the response body contains an instance of ServiceList
.
Authorization Scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/plus.business.manage
https://www.googleapis.com/auth/business.manage
For more information, see the OAuth 2.0 Overview.