Class: Google::Apis::GmailV1::BatchDeleteMessagesRequest
- Inherits:
-
Object
- Object
- Google::Apis::GmailV1::BatchDeleteMessagesRequest
- 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
-
#ids ⇒ Array<String>
The IDs of the messages to delete.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BatchDeleteMessagesRequest
constructor
A new instance of BatchDeleteMessagesRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#ids ⇒ Array<String>
The IDs of the messages to delete.
Corresponds to the JSON property ids
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 |