class Google::Apis::DriveV2::Permission::TeamDrivePermissionDetail

Attributes

additional_roles[RW]

Deprecated - use permissionDetails/additionalRoles instead. Corresponds to the JSON property `additionalRoles` @return [Array<String>]

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_v2/classes.rb, line 3363
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_v2/classes.rb, line 3368
def update!(**args)
  @additional_roles = args[:additional_roles] if args.key?(:additional_roles)
  @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