Lista etykiet. Pamiętaj, że każdy zasób etykiety zawiera tylko te atrybuty: id, name, messageListVisibility, labelListVisibility i type. Metoda labels.get może pobrać dodatkowe informacje o etykiecie.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2024-09-05 UTC."],[[["Lists all labels, such as \"Inbox\" or \"Starred\", in a user's Gmail mailbox."],["Sends an HTTP GET request to the Gmail API with the user's ID to retrieve the labels."],["Returns a JSON response containing an array of labels with basic information like ID, name, and visibility."],["Requires authorization with specific Gmail scopes, such as `https://mail.google.com/` or `https://www.googleapis.com/auth/gmail.readonly`, to access the user's mailbox."]]],[]]