Class: Google::Apis::DriveV3::Permission::TeamDrivePermissionDetail

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TeamDrivePermissionDetail

Returns a new instance of TeamDrivePermissionDetail.



2360
2361
2362
# File 'lib/google/apis/drive_v3/classes.rb', line 2360

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#inheritedBoolean Also known as: inherited?

Deprecated - use permissionDetails/inherited instead. Corresponds to the JSON property inherited

Returns:

  • (Boolean)


2342
2343
2344
# File 'lib/google/apis/drive_v3/classes.rb', line 2342

def inherited
  @inherited
end

#inherited_fromString

Deprecated - use permissionDetails/inheritedFrom instead. Corresponds to the JSON property inheritedFrom

Returns:

  • (String)


2348
2349
2350
# File 'lib/google/apis/drive_v3/classes.rb', line 2348

def inherited_from
  @inherited_from
end

#roleString

Deprecated - use permissionDetails/role instead. Corresponds to the JSON property role

Returns:

  • (String)


2353
2354
2355
# File 'lib/google/apis/drive_v3/classes.rb', line 2353

def role
  @role
end

#team_drive_permission_typeString

Deprecated - use permissionDetails/permissionType instead. Corresponds to the JSON property teamDrivePermissionType

Returns:

  • (String)


2358
2359
2360
# File 'lib/google/apis/drive_v3/classes.rb', line 2358

def team_drive_permission_type
  @team_drive_permission_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2365
2366
2367
2368
2369
2370
# File 'lib/google/apis/drive_v3/classes.rb', line 2365

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