Class: Aws::Assurance::Types::ConnectionItem

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

Overview

An item that a connection can access, such as a folder or a file.

Constant Summary collapse

SENSITIVE =
[:id, :name, :url]

Instance Attribute Summary collapse

Instance Attribute Details

#id ⇒ String

The identifier of the item. To list the contents of the item, pass this value as parentId. This doesn't apply to a FILE.

Returns:

  • (String)


1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/types.rb', line 1013

class ConnectionItem < Struct.new(
  :id,
  :kind,
  :name,
  :url,
  :size_bytes,
  :updated_at)
  SENSITIVE = [:id, :name, :url]
  include Aws::Structure
end

#kind ⇒ String

The type of item. Valid values:

  • FILE – A document that you can link as evidence.

  • FOLDER – A folder that contains other items.

  • LIBRARY – A SharePoint document library.

  • REPOSITORY – A GitHub repository.

  • SITE – A SharePoint site.

Returns:

  • (String)


1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/types.rb', line 1013

class ConnectionItem < Struct.new(
  :id,
  :kind,
  :name,
  :url,
  :size_bytes,
  :updated_at)
  SENSITIVE = [:id, :name, :url]
  include Aws::Structure
end

#name ⇒ String

The display name of the item.

Returns:

  • (String)


1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/types.rb', line 1013

class ConnectionItem < Struct.new(
  :id,
  :kind,
  :name,
  :url,
  :size_bytes,
  :updated_at)
  SENSITIVE = [:id, :name, :url]
  include Aws::Structure
end

#size_bytes ⇒ Integer

The size of the item in bytes. This field is present for a FILE.

Returns:

  • (Integer)


1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/types.rb', line 1013

class ConnectionItem < Struct.new(
  :id,
  :kind,
  :name,
  :url,
  :size_bytes,
  :updated_at)
  SENSITIVE = [:id, :name, :url]
  include Aws::Structure
end

#updated_at ⇒ Time

The time when the provider last recorded a change to the item. This field is present for a FILE.

Returns:

  • (Time)


1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/types.rb', line 1013

class ConnectionItem < Struct.new(
  :id,
  :kind,
  :name,
  :url,
  :size_bytes,
  :updated_at)
  SENSITIVE = [:id, :name, :url]
  include Aws::Structure
end

#url ⇒ String

The URL of the item. This field is present for a FILE. To add the file as evidence, pass this value as reference to PutEvidence.

Returns:

  • (String)


1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/types.rb', line 1013

class ConnectionItem < Struct.new(
  :id,
  :kind,
  :name,
  :url,
  :size_bytes,
  :updated_at)
  SENSITIVE = [:id, :name, :url]
  include Aws::Structure
end