Update the metadata of an existing Team Drive, e.g. its background image or theme.

Note: Team Drives are only available to users of certain enhanced Google services, such as G Suite Enterprise, G Suite Business, or G Suite for Education.

team_drive_update(team_drive, ..., verbose = TRUE)



Anything that identifies one specific Team Drive: its name, its id or URL marked with as_id(), or a dribble. Is pre-processed with as_team_drive(). Read more about Team Drives.


Named parameters to pass along to the Drive API. See the "Request body" section of the Drive API docs for the associated endpoint.


Logical, indicating whether to print informative messages (default TRUE).


An object of class dribble, a tibble with one row per item.

See also

Wraps the teamdrives.update endpoint:


## create a Team Drive
td <- team_drive_create("I love themes!")

## see the themes available to you
themes <- drive_user(fields = "teamDriveThemes")$teamDriveThemes
purrr::map_chr(themes, "id")

## cycle through various themes for this Team Drive
td <- team_drive_update(td, themeId = "bok_choy")
td <- team_drive_update(td, themeId = "cocktails")

## clean up
# }