class Google::Apis::GmailV1::ModifyThreadRequest

Attributes

add_label_ids[RW]

A list of IDs of labels to add to this thread. Corresponds to the JSON property `addLabelIds` @return [Array<String>]

remove_label_ids[RW]

A list of IDs of labels to remove from this thread. Corresponds to the JSON property `removeLabelIds` @return [Array<String>]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/gmail_v1/classes.rb, line 667
def update!(**args)
  @add_label_ids = args[:add_label_ids] if args.key?(:add_label_ids)
  @remove_label_ids = args[:remove_label_ids] if args.key?(:remove_label_ids)
end