You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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.

Instance Attribute Summary collapse

Instance Attribute Details

#idString

The ID of the resource.

Returns:

  • (String)


2068
2069
2070
2071
2072
2073
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 2068

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

#rolesArray<Types::PermissionInfo>

The permission information for the resource.

Returns:



2068
2069
2070
2071
2072
2073
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 2068

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

#typeString

The type of resource.

Returns:

  • (String)


2068
2069
2070
2071
2072
2073
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 2068

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