Method: resources.calendars.update
Updates a calendar resource.
This method supports patch semantics, meaning you only need to include the fields you wish to update. Fields that are not present in the request will be preserved.
HTTP request
PUT https://admin.googleapis.com/admin/directory/v1/customer/{customer}/resources/calendars/{calendarResourceId}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
customer |
string
The unique ID for the customer's Google Workspace account. As an account administrator, you can also use the my_customer alias to represent your account's customer ID.
|
calendarResourceId |
string
The unique ID of the calendar resource to update.
|
Request body
The request body contains an instance of CalendarResource
.
Response body
If successful, the response body contains an instance of CalendarResource
.
Authorization scopes
Requires one of the following OAuth scopes:
https://apps-apis.google.com/a/feeds/calendar/resource/
https://www.googleapis.com/auth/admin.directory.resource.calendar
For more information, see the Authorization guide.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-22 UTC.
[null,null,["Last updated 2024-08-22 UTC."],[[["Updates a specified calendar resource with patch semantics, preserving unmodified fields."],["Requires providing the customer ID and calendar resource ID in the request URL."],["The request body should contain the desired updates in a CalendarResource object format."],["Successful responses return the updated CalendarResource object."],["Authorization requires specific OAuth scopes related to calendar resource management."]]],["This API method updates a specific calendar resource using a `PUT` request to a designated URL, identified by the `customer` and `calendarResourceId`. It employs patch semantics, allowing for partial updates; only included fields are modified, and omitted fields remain unchanged. The request body contains the updated `CalendarResource`, and a successful response returns the updated resource. Authorization requires specific OAuth scopes related to calendar resource management. The `my_customer` alias can be used in place of the actual customer id.\n"]]