Class: Google::Apis::DriveV3::Permission::TeamDrivePermissionDetail
- Inherits:
-
Object
- Object
- Google::Apis::DriveV3::Permission::TeamDrivePermissionDetail
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/drive_v3/classes.rb,
lib/google/apis/drive_v3/representations.rb,
lib/google/apis/drive_v3/representations.rb
Instance Attribute Summary collapse
-
#inherited ⇒ Boolean
(also: #inherited?)
Deprecated: Output only.
-
#inherited_from ⇒ String
Deprecated: Output only.
-
#role ⇒ String
Deprecated: Output only.
-
#team_drive_permission_type ⇒ String
Deprecated: 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.
3357 3358 3359 |
# File 'lib/google/apis/drive_v3/classes.rb', line 3357 def initialize(**args) update!(**args) end |
Instance Attribute Details
#inherited ⇒ Boolean Also known as: inherited?
Deprecated: Output only. Use permissionDetails/inherited instead.
Corresponds to the JSON property inherited
3339 3340 3341 |
# File 'lib/google/apis/drive_v3/classes.rb', line 3339 def inherited @inherited end |
#inherited_from ⇒ String
Deprecated: Output only. Use permissionDetails/inheritedFrom instead.
Corresponds to the JSON property inheritedFrom
3345 3346 3347 |
# File 'lib/google/apis/drive_v3/classes.rb', line 3345 def inherited_from @inherited_from end |
#role ⇒ String
Deprecated: Output only. Use permissionDetails/role instead.
Corresponds to the JSON property role
3350 3351 3352 |
# File 'lib/google/apis/drive_v3/classes.rb', line 3350 def role @role end |
#team_drive_permission_type ⇒ String
Deprecated: Output only. Use permissionDetails/permissionType instead.
Corresponds to the JSON property teamDrivePermissionType
3355 3356 3357 |
# File 'lib/google/apis/drive_v3/classes.rb', line 3355 def @team_drive_permission_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3362 3363 3364 3365 3366 3367 |
# File 'lib/google/apis/drive_v3/classes.rb', line 3362 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 |