class Google::Apis::GmailV1::ListMessagesResponse

Attributes

messages[RW]

List of messages. Note that each message resource contains only an `id` and a ` threadId`. Additional message details can be fetched using the messages.get method. Corresponds to the JSON property `messages` @return [Array<Google::Apis::GmailV1::Message>]

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 843
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 848
def update!(**args)
  @messages = args[:messages] if args.key?(:messages)
  @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