class Google::Apis::DriveV3::Permission::TeamDrivePermissionDetail

Attributes

inherited[RW]

Deprecated - use permissionDetails/inherited instead. Corresponds to the JSON property `inherited` @return [Boolean]

inherited?[RW]

Deprecated - use permissionDetails/inherited instead. Corresponds to the JSON property `inherited` @return [Boolean]

inherited_from[RW]

Deprecated - use permissionDetails/inheritedFrom instead. Corresponds to the JSON property `inheritedFrom` @return [String]

role[RW]

Deprecated - use permissionDetails/role instead. Corresponds to the JSON property `role` @return [String]

team_drive_permission_type[RW]

Deprecated - use permissionDetails/permissionType instead. Corresponds to the JSON property `teamDrivePermissionType` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/drive_v3/classes.rb, line 2337
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 2342
def update!(**args)
  @inherited = args[:inherited] if args.key?(:inherited)
  @inherited_from = args[:inherited_from] if args.key?(:inherited_from)
  @role = args[:role] if args.key?(:role)
  @team_drive_permission_type = args[:team_drive_permission_type] if args.key?(:team_drive_permission_type)
end