class Google::Apis::DriveV2::FileList

A list of files.

Attributes

etag[RW]

The ETag of the list. Corresponds to the JSON property `etag` @return [String]

items[RW]

The actual list of files. Corresponds to the JSON property `items` @return [Array<Google::Apis::DriveV2::File>]

kind[RW]

This is always drive#fileList. Corresponds to the JSON property `kind` @return [String]

next_page_token[RW]

The page token for the next page of files. Corresponds to the JSON property `nextPageToken` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/drive_v2/classes.rb, line 1938
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 1943
def update!(**args)
  @etag = args[:etag] if args.key?(:etag)
  @items = args[:items] if args.key?(:items)
  @kind = args[:kind] if args.key?(:kind)
  @next_link = args[:next_link] if args.key?(:next_link)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @self_link = args[:self_link] if args.key?(:self_link)
end