gc_edit: Edit a calendar

Description Usage Arguments Details Value Examples

Description

Makes arbitrary edits to the metadata of a calendar. This method operates on the Google Calendar API CalendarList and Calendars resources. It filters information made available through the CalendarList resource.

Usage

1
gc_edit(x, ..., verbose = TRUE)

Arguments

x

googlecalendar object representing the calendar to edit.

verbose

Logical indicating whether to print informative messages.

...

Optional properties and their new values to be passed as part of the HTTP PATCH request body.

Details

This method combines the functionalities of the PATCH methods for both the Calendars and CalendarList resources. For more information on properties available for editing, see CalendarList: Update and Calendars: Update in the Google Calendar API reference documentation.

Value

The edited resource as a googlecalendar object.

Examples

1
2
3
4
5
## Not run: 
gc_new(summary = "Clint Meetings") %>%
  gc_edit(summary = "Client Meetings", location = "New York")

## End(Not run)

benjcunningham/googlecalendar documentation built on May 12, 2019, 11:56 a.m.