class Google::Apis::GmailV1::ListDraftsResponse
Attributes
drafts[RW]
List of drafts. Note that the `Message` property in each `Draft` resource only contains an `id` and a `threadId`. The messages.get method can fetch additional message details. Corresponds to the JSON property `drafts` @return [Array<Google::Apis::GmailV1::Draft>]
next_page_token[RW]
Token to retrieve the next page of results in the list. Corresponds to the JSON property `nextPageToken` @return [String]
result_size_estimate[RW]
Estimated total number of results. Corresponds to the JSON property `resultSizeEstimate` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/gmail_v1/classes.rb, line 719 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 724 def update!(**args) @drafts = args[:drafts] if args.key?(:drafts) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @result_size_estimate = args[:result_size_estimate] if args.key?(:result_size_estimate) end