Lista de etiquetas. Ten en cuenta que cada recurso de etiqueta solo contiene un id, name, messageListVisibility, labelListVisibility y type. El método labels.get puede recuperar detalles adicionales de la etiqueta.
Alcances de autorización
Se necesita uno de los siguientes permisos de OAuth:
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Falta la información que necesito","missingTheInformationINeed","thumb-down"],["Muy complicado o demasiados pasos","tooComplicatedTooManySteps","thumb-down"],["Desactualizado","outOfDate","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Problema con las muestras o los códigos","samplesCodeIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 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."]]],[]]