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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ BatchDeleteMessagesRequest

Returns a new instance of BatchDeleteMessagesRequest.



67
68
69
# File 'generated/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 'generated/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 'generated/google/apis/gmail_v1/classes.rb', line 72

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