Changes the all-day working location for the specified day. To remove a working location, set location
field to NoLocation
.
HTTP request
POST https://calendaruseravailability.googleapis.com/v1alpha/{calendar=workinglocations/*}/day:write
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
calendar |
Required. The calendar where you want to set a working location. For example, |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "date": { object ( |
Fields | |
---|---|
date |
Required. The date to modify. |
location |
Required. The working location to set. |
Response body
If successful, the response body is empty.
Authorization Scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/calendar
https://www.googleapis.com/auth/calendar.workinglocation
For more information, see the OAuth 2.0 Overview.