Class: Google::Apis::DriveV2::RevisionList
- Inherits:
-
Object
- Object
- Google::Apis::DriveV2::RevisionList
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/drive_v2/classes.rb,
generated/google/apis/drive_v2/representations.rb,
generated/google/apis/drive_v2/representations.rb
Overview
A list of revisions of a file.
Instance Attribute Summary collapse
-
#etag ⇒ String
The ETag of the list.
-
#items ⇒ Array<Google::Apis::DriveV2::Revision>
The actual list of revisions.
-
#kind ⇒ String
This is always drive#revisionList.
-
#self_link ⇒ String
A link back to this list.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RevisionList
constructor
A new instance of RevisionList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ RevisionList
Returns a new instance of RevisionList.
2499 2500 2501 |
# File 'generated/google/apis/drive_v2/classes.rb', line 2499 def initialize(**args) update!(**args) end |
Instance Attribute Details
#etag ⇒ String
The ETag of the list.
Corresponds to the JSON property etag
2482 2483 2484 |
# File 'generated/google/apis/drive_v2/classes.rb', line 2482 def etag @etag end |
#items ⇒ Array<Google::Apis::DriveV2::Revision>
The actual list of revisions.
Corresponds to the JSON property items
2487 2488 2489 |
# File 'generated/google/apis/drive_v2/classes.rb', line 2487 def items @items end |
#kind ⇒ String
This is always drive#revisionList.
Corresponds to the JSON property kind
2492 2493 2494 |
# File 'generated/google/apis/drive_v2/classes.rb', line 2492 def kind @kind end |
#self_link ⇒ String
A link back to this list.
Corresponds to the JSON property selfLink
2497 2498 2499 |
# File 'generated/google/apis/drive_v2/classes.rb', line 2497 def self_link @self_link end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2504 2505 2506 2507 2508 2509 |
# File 'generated/google/apis/drive_v2/classes.rb', line 2504 def update!(**args) @etag = args[:etag] if args.key?(:etag) @items = args[:items] if args.key?(:items) @kind = args[:kind] if args.key?(:kind) @self_link = args[:self_link] if args.key?(:self_link) end |