Class: Google::Apis::DriveV3::ChangeList
- Inherits:
-
Object
- Object
- Google::Apis::DriveV3::ChangeList
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/drive_v3/classes.rb,
generated/google/apis/drive_v3/representations.rb,
generated/google/apis/drive_v3/representations.rb
Overview
A list of changes for a user.
Instance Attribute Summary collapse
-
#changes ⇒ Array<Google::Apis::DriveV3::Change>
The page of changes.
-
#kind ⇒ String
This is always drive#changeList.
-
#new_start_page_token ⇒ String
The starting page token for future changes.
-
#next_page_token ⇒ String
The page token for the next page of changes.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ChangeList
constructor
A new instance of ChangeList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ChangeList
Returns a new instance of ChangeList.
202 203 204 |
# File 'generated/google/apis/drive_v3/classes.rb', line 202 def initialize(**args) update!(**args) end |
Instance Attribute Details
#changes ⇒ Array<Google::Apis::DriveV3::Change>
The page of changes.
Corresponds to the JSON property changes
183 184 185 |
# File 'generated/google/apis/drive_v3/classes.rb', line 183 def changes @changes end |
#kind ⇒ String
This is always drive#changeList.
Corresponds to the JSON property kind
188 189 190 |
# File 'generated/google/apis/drive_v3/classes.rb', line 188 def kind @kind end |
#new_start_page_token ⇒ String
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
194 195 196 |
# File 'generated/google/apis/drive_v3/classes.rb', line 194 def new_start_page_token @new_start_page_token end |
#next_page_token ⇒ String
The page token for the next page of changes. This will be absent if the end of
the current changes list has been reached.
Corresponds to the JSON property nextPageToken
200 201 202 |
# File 'generated/google/apis/drive_v3/classes.rb', line 200 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
207 208 209 210 211 212 |
# File 'generated/google/apis/drive_v3/classes.rb', line 207 def update!(**args) @changes = args[:changes] if args.key?(:changes) @kind = args[:kind] if args.key?(:kind) @new_start_page_token = args[:new_start_page_token] if args.key?(:new_start_page_token) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |