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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


2277
2278
2279
2280
2281
2282
2283
# File 'lib/aws-sdk-workdocs/types.rb', line 2277

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

#rolesArray<Types::PermissionInfo>

The permission information for the resource.

Returns:



2277
2278
2279
2280
2281
2282
2283
# File 'lib/aws-sdk-workdocs/types.rb', line 2277

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

#typeString

The type of resource.

Returns:

  • (String)


2277
2278
2279
2280
2281
2282
2283
# File 'lib/aws-sdk-workdocs/types.rb', line 2277

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