class Google::Apis::DriveV2::ChildReference

A reference to a folder's child.

Attributes

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]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/drive_v2/classes.rb, line 882
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 887
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