class Google::Apis::DriveV2::ChildReference
A reference to a folder's child.
Attributes
child_link[RW]
A link to the child. Corresponds to the JSON property `childLink` @return [String]
id[RW]
The ID of the child. Corresponds to the JSON property `id` @return [String]
kind[RW]
This is always drive#childReference. Corresponds to the JSON property `kind` @return [String]
self_link[RW]
A link back to this reference. Corresponds to the JSON property `selfLink` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/drive_v2/classes.rb, line 1025 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/drive_v2/classes.rb, line 1030 def update!(**args) @child_link = args[:child_link] if args.key?(:child_link) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @self_link = args[:self_link] if args.key?(:self_link) end