Class: Google::Apis::GmailV1::BatchDeleteMessagesRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/gmail_v1/classes.rb,
lib/google/apis/gmail_v1/representations.rb,
lib/google/apis/gmail_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BatchDeleteMessagesRequest

Returns a new instance of BatchDeleteMessagesRequest.



67
68
69
# File 'lib/google/apis/gmail_v1/classes.rb', line 67

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#idsArray<String>

The IDs of the messages to delete. Corresponds to the JSON property ids

Returns:

  • (Array<String>)


65
66
67
# File 'lib/google/apis/gmail_v1/classes.rb', line 65

def ids
  @ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



72
73
74
# File 'lib/google/apis/gmail_v1/classes.rb', line 72

def update!(**args)
  @ids = args[:ids] if args.key?(:ids)
end