class Google::Apis::GmailV1::ModifyMessageRequest

Attributes

add_label_ids[RW]

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

remove_label_ids[RW]

A list IDs of labels to remove from this message. 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 637
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 642
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