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

Class: Aws::WorkDocs::Types::DocumentMetadata

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

Overview

Describes the document.

Instance Attribute Summary collapse

Instance Attribute Details

#created_timestampTime

The time when the document was created.

Returns:

  • (Time)


1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 1471

class DocumentMetadata < Struct.new(
  :id,
  :creator_id,
  :parent_folder_id,
  :created_timestamp,
  :modified_timestamp,
  :latest_version_metadata,
  :resource_state,
  :labels)
  include Aws::Structure
end

#creator_idString

The ID of the creator.

Returns:

  • (String)


1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 1471

class DocumentMetadata < Struct.new(
  :id,
  :creator_id,
  :parent_folder_id,
  :created_timestamp,
  :modified_timestamp,
  :latest_version_metadata,
  :resource_state,
  :labels)
  include Aws::Structure
end

#idString

The ID of the document.

Returns:

  • (String)


1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 1471

class DocumentMetadata < Struct.new(
  :id,
  :creator_id,
  :parent_folder_id,
  :created_timestamp,
  :modified_timestamp,
  :latest_version_metadata,
  :resource_state,
  :labels)
  include Aws::Structure
end

#labelsArray<String>

List of labels on the document.

Returns:

  • (Array<String>)


1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 1471

class DocumentMetadata < Struct.new(
  :id,
  :creator_id,
  :parent_folder_id,
  :created_timestamp,
  :modified_timestamp,
  :latest_version_metadata,
  :resource_state,
  :labels)
  include Aws::Structure
end

#latest_version_metadataTypes::DocumentVersionMetadata

The latest version of the document.



1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 1471

class DocumentMetadata < Struct.new(
  :id,
  :creator_id,
  :parent_folder_id,
  :created_timestamp,
  :modified_timestamp,
  :latest_version_metadata,
  :resource_state,
  :labels)
  include Aws::Structure
end

#modified_timestampTime

The time when the document was updated.

Returns:

  • (Time)


1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 1471

class DocumentMetadata < Struct.new(
  :id,
  :creator_id,
  :parent_folder_id,
  :created_timestamp,
  :modified_timestamp,
  :latest_version_metadata,
  :resource_state,
  :labels)
  include Aws::Structure
end

#parent_folder_idString

The ID of the parent folder.

Returns:

  • (String)


1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 1471

class DocumentMetadata < Struct.new(
  :id,
  :creator_id,
  :parent_folder_id,
  :created_timestamp,
  :modified_timestamp,
  :latest_version_metadata,
  :resource_state,
  :labels)
  include Aws::Structure
end

#resource_stateString

The resource state.

Returns:

  • (String)


1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 1471

class DocumentMetadata < Struct.new(
  :id,
  :creator_id,
  :parent_folder_id,
  :created_timestamp,
  :modified_timestamp,
  :latest_version_metadata,
  :resource_state,
  :labels)
  include Aws::Structure
end