labels property

List<Label>? labels
getter/setter pair

List of labels.

Note that each label resource only contains an id, name, messageListVisibility, labelListVisibility, and type. The [labels.get](https://developers.google.com/workspace/gmail/api/v1/reference/users/labels/get) method can fetch additional label details.

Implementation

core.List<Label>? labels;