Get a specific label by id and user_id. update_label_patch is identical to update_label but the latter uses HTTP PATCH to allow partial update.

update_label(id, label, user_id = "me")

update_label_patch(id, label, user_id = "me")

Arguments

id

label id to update

label

the label fields to update

user_id

gmail user_id to access, special value of 'me' indicates the authenticated user.

References

https://developers.google.com/gmail/api/v1/reference/users/labels/update

https://developers.google.com/gmail/api/v1/reference/users/labels/patch

See also