class Google::Apis::DriveV2::Permission::TeamDrivePermissionDetail
Attributes
Deprecated - use permissionDetails/additionalRoles instead. Corresponds to the JSON property `additionalRoles` @return [Array<String>]
Deprecated - use permissionDetails/inherited instead. Corresponds to the JSON property `inherited` @return [Boolean]
Deprecated - use permissionDetails/inherited instead. Corresponds to the JSON property `inherited` @return [Boolean]
Deprecated - use permissionDetails/inheritedFrom instead. Corresponds to the JSON property `inheritedFrom` @return [String]
Deprecated - use permissionDetails/role instead. Corresponds to the JSON property `role` @return [String]
Deprecated - use permissionDetails/permissionType instead. Corresponds to the JSON property `teamDrivePermissionType` @return [String]
Public Class Methods
# File lib/google/apis/drive_v2/classes.rb, line 3363 def initialize(**args) update!(**args) end
Public Instance Methods
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