class Google::Apis::DriveV2::ParentList
A list of a file's parents.
Attributes
etag[RW]
The ETag of the list. Corresponds to the JSON property `etag` @return [String]
items[RW]
The actual list of parents. Corresponds to the JSON property `items` @return [Array<Google::Apis::DriveV2::ParentReference>]
kind[RW]
This is always drive#parentList. Corresponds to the JSON property `kind` @return [String]
self_link[RW]
A link back to this list. Corresponds to the JSON property `selfLink` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/drive_v2/classes.rb, line 2008 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/drive_v2/classes.rb, line 2013 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