class Google::Apis::DriveV2::ChangeList
A list of changes for a user.
Attributes
The ETag of the list. Corresponds to the JSON property `etag` @return [String]
The list of changes. If nextPageToken is populated, then this list may be incomplete and an additional page of results should be fetched. Corresponds to the JSON property `items` @return [Array<Google::Apis::DriveV2::Change>]
This is always drive#changeList. Corresponds to the JSON property `kind` @return [String]
The current largest change ID. Corresponds to the JSON property `largestChangeId` @return [Fixnum]
The starting page token for future changes. This will be present only if the end of the current changes list has been reached. Corresponds to the JSON property `newStartPageToken` @return [String]
A link to the next page of changes. Corresponds to the JSON property `nextLink` @return [String]
The page token for the next page of changes. This will be absent if the end of the changes list has been reached. If the token is rejected for any reason, it should be discarded, and pagination should be restarted from the first page of results. Corresponds to the JSON property `nextPageToken` @return [String]
A link back to this list. Corresponds to the JSON property `selfLink` @return [String]
Public Class Methods
# File lib/google/apis/drive_v2/classes.rb, line 851 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/drive_v2/classes.rb, line 856 def update!(**args) @etag = args[:etag] if args.key?(:etag) @items = args[:items] if args.key?(:items) @kind = args[:kind] if args.key?(:kind) @largest_change_id = args[:largest_change_id] if args.key?(:largest_change_id) @new_start_page_token = args[:new_start_page_token] if args.key?(:new_start_page_token) @next_link = args[:next_link] if args.key?(:next_link) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @self_link = args[:self_link] if args.key?(:self_link) end