class Google::Apis::GmailV1::ListLabelsResponse

Attributes

labels[RW]

List of labels. Note that each label resource only contains an `id`, `name`, ` messageListVisibility`, `labelListVisibility`, and `type`. The labels.get method can fetch additional label details. Corresponds to the JSON property `labels` @return [Array<Google::Apis::GmailV1::Label>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/gmail_v1/classes.rb, line 812
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/gmail_v1/classes.rb, line 817
def update!(**args)
  @labels = args[:labels] if args.key?(:labels)
end