class Google::Apis::DriveV3::PermissionList

A list of permissions for a file.

Attributes

kind[RW]

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

permissions[RW]

The full list of permissions. Corresponds to the JSON property `permissions` @return [Array<Google::Apis::DriveV3::Permission>]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/drive_v3/classes.rb, line 1233
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_v3/classes.rb, line 1238
def update!(**args)
  @kind = args[:kind] if args.key?(:kind)
  @permissions = args[:permissions] if args.key?(:permissions)
end