Class: Google::Apis::DriveV3::Permission::TeamDrivePermissionDetail
- Inherits:
-
Object
- Object
- Google::Apis::DriveV3::Permission::TeamDrivePermissionDetail
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/drive_v3/classes.rb,
generated/google/apis/drive_v3/representations.rb,
generated/google/apis/drive_v3/representations.rb
Instance Attribute Summary collapse
-
#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.
2279 2280 2281 |
# File 'generated/google/apis/drive_v3/classes.rb', line 2279 def initialize(**args) update!(**args) end |
Instance Attribute Details
#inherited ⇒ Boolean Also known as: inherited?
Deprecated - use permissionDetails/inherited instead.
Corresponds to the JSON property inherited
2261 2262 2263 |
# File 'generated/google/apis/drive_v3/classes.rb', line 2261 def inherited @inherited end |
#inherited_from ⇒ String
Deprecated - use permissionDetails/inheritedFrom instead.
Corresponds to the JSON property inheritedFrom
2267 2268 2269 |
# File 'generated/google/apis/drive_v3/classes.rb', line 2267 def inherited_from @inherited_from end |
#role ⇒ String
Deprecated - use permissionDetails/role instead.
Corresponds to the JSON property role
2272 2273 2274 |
# File 'generated/google/apis/drive_v3/classes.rb', line 2272 def role @role end |
#team_drive_permission_type ⇒ String
Deprecated - use permissionDetails/permissionType instead.
Corresponds to the JSON property teamDrivePermissionType
2277 2278 2279 |
# File 'generated/google/apis/drive_v3/classes.rb', line 2277 def @team_drive_permission_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2284 2285 2286 2287 2288 2289 |
# File 'generated/google/apis/drive_v3/classes.rb', line 2284 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 |