gc_event_edit: Edit a calendar event

Description Usage Arguments Details Value Examples

Description

Makes arbitrary edits to the metadata of an event. This method operates on the Google Calendar API Events resource.

Usage

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

Arguments

x

event object representing the event to edit.

verbose

Logical indicating whether to print informative messages.

...

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

Details

For more information on properties available for editing, see Events: Insert. in the Google Calendar API reference documentation.

Value

The edited resource as an event object.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
gc_new("Bar Trivia") %>%
  gc_event_new(
    start = list(dateTime = "2016-09-21T20:00:00Z"),
    end = list(dateTime = "2016-09-21T23:30:00Z"),
    summary = "Dons"
  ) %>%
  gc_event_edit(summary = "Donnelly's Irish Pub")

## End(Not run)

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