class Google::Apis::DriveV3::DriveList
A list of shared drives.
Attributes
drives[RW]
The list of shared drives. If nextPageToken is populated, then this list may be incomplete and an additional page of results should be fetched. Corresponds to the JSON property `drives` @return [Array<Google::Apis::DriveV3::Drive>]
kind[RW]
Identifies what kind of resource this is. Value: the fixed string “drive# driveList”. Corresponds to the JSON property `kind` @return [String]
next_page_token[RW]
The page token for the next page of shared drives. This will be absent if the end of the list has been reached. If the token is rejected for any reason, it should be discarded, and pagination should be restarted from the first page of results. Corresponds to the JSON property `nextPageToken` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/drive_v3/classes.rb, line 991 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_v3/classes.rb, line 996 def update!(**args) @drives = args[:drives] if args.key?(:drives) @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end