Class: Aws::WorkDocs::Types::Principal

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb

Overview

Describes a resource.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#idString

The ID of the resource.

Returns:

  • (String)


2512
2513
2514
2515
2516
2517
2518
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 2512

class Principal < Struct.new(
  :id,
  :type,
  :roles)
  SENSITIVE = []
  include Aws::Structure
end

#rolesArray<Types::PermissionInfo>

The permission information for the resource.

Returns:



2512
2513
2514
2515
2516
2517
2518
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 2512

class Principal < Struct.new(
  :id,
  :type,
  :roles)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

The type of resource.

Returns:

  • (String)


2512
2513
2514
2515
2516
2517
2518
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 2512

class Principal < Struct.new(
  :id,
  :type,
  :roles)
  SENSITIVE = []
  include Aws::Structure
end