class Google::Apis::DriveV3::Permission::PermissionDetail
Attributes
Whether this permission is inherited. This field is always populated. This is an output-only field. Corresponds to the JSON property `inherited` @return [Boolean]
Whether this permission is inherited. This field is always populated. This is an output-only field. Corresponds to the JSON property `inherited` @return [Boolean]
The ID of the item from which this permission is inherited. This is an output- only field. Corresponds to the JSON property `inheritedFrom` @return [String]
The permission type for this user. While new values may be added in future, the following are currently possible:
-
file
-
member
Corresponds to the JSON property `permissionType` @return [String]
The primary role for this user. While new values may be added in the future, the following are currently possible:
-
organizer
-
fileOrganizer
-
writer
-
commenter
-
reader
Corresponds to the JSON property `role` @return [String]
Public Class Methods
# File lib/google/apis/drive_v3/classes.rb, line 2299 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/drive_v3/classes.rb, line 2304 def update!(**args) @inherited = args[:inherited] if args.key?(:inherited) @inherited_from = args[:inherited_from] if args.key?(:inherited_from) @permission_type = args[:permission_type] if args.key?(:permission_type) @role = args[:role] if args.key?(:role) end