Class: Google::Apis::GmailV1::ListHistoryResponse
- Inherits:
-
Object
- Object
- Google::Apis::GmailV1::ListHistoryResponse
- 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
-
#history ⇒ Array<Google::Apis::GmailV1::History>
List of history records.
-
#history_id ⇒ Fixnum
The ID of the mailbox's current history record.
-
#next_page_token ⇒ String
Page token to retrieve the next page of results in the list.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListHistoryResponse
constructor
A new instance of ListHistoryResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListHistoryResponse
Returns a new instance of ListHistoryResponse
746 747 748 |
# File 'generated/google/apis/gmail_v1/classes.rb', line 746 def initialize(**args) update!(**args) end |
Instance Attribute Details
#history ⇒ Array<Google::Apis::GmailV1::History>
List of history records. Any messages contained in the response will typically
only have id and threadId fields populated.
Corresponds to the JSON property history
734 735 736 |
# File 'generated/google/apis/gmail_v1/classes.rb', line 734 def history @history end |
#history_id ⇒ Fixnum
The ID of the mailbox's current history record.
Corresponds to the JSON property historyId
739 740 741 |
# File 'generated/google/apis/gmail_v1/classes.rb', line 739 def history_id @history_id end |
#next_page_token ⇒ String
Page token to retrieve the next page of results in the list.
Corresponds to the JSON property nextPageToken
744 745 746 |
# File 'generated/google/apis/gmail_v1/classes.rb', line 744 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
751 752 753 754 755 |
# File 'generated/google/apis/gmail_v1/classes.rb', line 751 def update!(**args) @history = args[:history] if args.key?(:history) @history_id = args[:history_id] if args.key?(:history_id) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |