class Google::Apis::DriveV3::PermissionList
A list of permissions for a file.
Attributes
Identifies what kind of resource this is. Value: the fixed string “drive# permissionList”. Corresponds to the JSON property `kind` @return [String]
The page token for the next page of permissions. This field will be absent if the end of the permissions 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]
The list of permissions. If nextPageToken is populated, then this list may be incomplete and an additional page of results should be fetched. Corresponds to the JSON property `permissions` @return [Array<Google::Apis::DriveV3::Permission>]
Public Class Methods
# File lib/google/apis/drive_v3/classes.rb, line 2375 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/drive_v3/classes.rb, line 2380 def update!(**args) @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @permissions = args[:permissions] if args.key?(:permissions) end