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>
Output only.
-
#inherited ⇒ Boolean
(also: #inherited?)
Output only.
-
#inherited_from ⇒ String
Output only.
-
#role ⇒ String
Output only.
-
#team_drive_permission_type ⇒ String
Output only.
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.
3823 3824 3825 |
# File 'lib/google/apis/drive_v2/classes.rb', line 3823 def initialize(**args) update!(**args) end |
Instance Attribute Details
#additional_roles ⇒ Array<String>
Output only. Deprecated: Use permissionDetails/additionalRoles
instead.
Corresponds to the JSON property additionalRoles
3800 3801 3802 |
# File 'lib/google/apis/drive_v2/classes.rb', line 3800 def additional_roles @additional_roles end |
#inherited ⇒ Boolean Also known as: inherited?
Output only. Deprecated: Use permissionDetails/inherited
instead.
Corresponds to the JSON property inherited
3805 3806 3807 |
# File 'lib/google/apis/drive_v2/classes.rb', line 3805 def inherited @inherited end |
#inherited_from ⇒ String
Output only. Deprecated: Use permissionDetails/inheritedFrom
instead.
Corresponds to the JSON property inheritedFrom
3811 3812 3813 |
# File 'lib/google/apis/drive_v2/classes.rb', line 3811 def inherited_from @inherited_from end |
#role ⇒ String
Output only. Deprecated: Use permissionDetails/role
instead.
Corresponds to the JSON property role
3816 3817 3818 |
# File 'lib/google/apis/drive_v2/classes.rb', line 3816 def role @role end |
#team_drive_permission_type ⇒ String
Output only. Deprecated: Use permissionDetails/permissionType
instead.
Corresponds to the JSON property teamDrivePermissionType
3821 3822 3823 |
# File 'lib/google/apis/drive_v2/classes.rb', line 3821 def @team_drive_permission_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3828 3829 3830 3831 3832 3833 3834 |
# File 'lib/google/apis/drive_v2/classes.rb', line 3828 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 |