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 in a user's mailbox, providing details like ID, name, and visibility."],["Requires an HTTP GET request to `https://gmail.googleapis.com/gmail/v1/users/{userId}/labels`, replacing `{userId}` with the user's email address or `me`."],["The response body includes a list of labels, each containing basic information; use `labels.get` for detailed label data."],["Requires authorization with specific OAuth scopes, such as `https://mail.google.com/` or `https://www.googleapis.com/auth/gmail.readonly`."]]],[]]