Class: Google::Apis::GmailV1::ListMessagesResponse
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::GmailV1::ListMessagesResponse
 
- 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
- 
  
    
      #messages  ⇒ Array<Google::Apis::GmailV1::Message> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    List of messages. 
- 
  
    
      #next_page_token  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Token to retrieve the next page of results in the list. 
- 
  
    
      #result_size_estimate  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Estimated total number of results. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ListMessagesResponse 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ListMessagesResponse. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListMessagesResponse
Returns a new instance of ListMessagesResponse
| 749 750 751 | # File 'generated/google/apis/gmail_v1/classes.rb', line 749 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#messages ⇒ Array<Google::Apis::GmailV1::Message>
List of messages.
Corresponds to the JSON property messages
| 737 738 739 | # File 'generated/google/apis/gmail_v1/classes.rb', line 737 def @messages end | 
#next_page_token ⇒ String
Token to retrieve the next page of results in the list.
Corresponds to the JSON property nextPageToken
| 742 743 744 | # File 'generated/google/apis/gmail_v1/classes.rb', line 742 def next_page_token @next_page_token end | 
#result_size_estimate ⇒ Fixnum
Estimated total number of results.
Corresponds to the JSON property resultSizeEstimate
| 747 748 749 | # File 'generated/google/apis/gmail_v1/classes.rb', line 747 def result_size_estimate @result_size_estimate end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 754 755 756 757 758 | # File 'generated/google/apis/gmail_v1/classes.rb', line 754 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 |