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 lib/google/apis/gmail_v1/classes.rb, line 1162 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 1167 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