Class: Google::Apis::DriveV2::Permission::TeamDrivePermissionDetail
- Inherits:
-
Object
- Object
- Google::Apis::DriveV2::Permission::TeamDrivePermissionDetail
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/drive_v2/classes.rb,
lib/google/apis/drive_v2/representations.rb,
lib/google/apis/drive_v2/representations.rb
Instance Attribute Summary collapse
-
#additional_roles ⇒ Array<String>
Deprecated - use permissionDetails/additionalRoles instead.
-
#inherited ⇒ Boolean
(also: #inherited?)
Deprecated - use permissionDetails/inherited instead.
-
#inherited_from ⇒ String
Deprecated - use permissionDetails/inheritedFrom instead.
-
#role ⇒ String
Deprecated - use permissionDetails/role instead.
-
#team_drive_permission_type ⇒ String
Deprecated - use permissionDetails/permissionType instead.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TeamDrivePermissionDetail
constructor
A new instance of TeamDrivePermissionDetail.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TeamDrivePermissionDetail
Returns a new instance of TeamDrivePermissionDetail.
3727 3728 3729 |
# File 'lib/google/apis/drive_v2/classes.rb', line 3727 def initialize(**args) update!(**args) end |
Instance Attribute Details
#additional_roles ⇒ Array<String>
Deprecated - use permissionDetails/additionalRoles instead.
Corresponds to the JSON property additionalRoles
3704 3705 3706 |
# File 'lib/google/apis/drive_v2/classes.rb', line 3704 def additional_roles @additional_roles end |
#inherited ⇒ Boolean Also known as: inherited?
Deprecated - use permissionDetails/inherited instead.
Corresponds to the JSON property inherited
3709 3710 3711 |
# File 'lib/google/apis/drive_v2/classes.rb', line 3709 def inherited @inherited end |
#inherited_from ⇒ String
Deprecated - use permissionDetails/inheritedFrom instead.
Corresponds to the JSON property inheritedFrom
3715 3716 3717 |
# File 'lib/google/apis/drive_v2/classes.rb', line 3715 def inherited_from @inherited_from end |
#role ⇒ String
Deprecated - use permissionDetails/role instead.
Corresponds to the JSON property role
3720 3721 3722 |
# File 'lib/google/apis/drive_v2/classes.rb', line 3720 def role @role end |
#team_drive_permission_type ⇒ String
Deprecated - use permissionDetails/permissionType instead.
Corresponds to the JSON property teamDrivePermissionType
3725 3726 3727 |
# File 'lib/google/apis/drive_v2/classes.rb', line 3725 def @team_drive_permission_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3732 3733 3734 3735 3736 3737 3738 |
# File 'lib/google/apis/drive_v2/classes.rb', line 3732 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 |