Class: Aws::WorkDocs::Types::ResourceMetadata

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

Overview

Describes the metadata of a resource.

Constant Summary collapse

SENSITIVE =
[:name, :original_name]

Instance Attribute Summary collapse

Instance Attribute Details

#idString

The ID of the resource.

Returns:

  • (String)


2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
# File 'lib/aws-sdk-workdocs/types.rb', line 2404

class ResourceMetadata < Struct.new(
  :type,
  :name,
  :original_name,
  :id,
  :version_id,
  :owner,
  :parent_id)
  SENSITIVE = [:name, :original_name]
  include Aws::Structure
end

#nameString

The name of the resource.

Returns:

  • (String)


2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
# File 'lib/aws-sdk-workdocs/types.rb', line 2404

class ResourceMetadata < Struct.new(
  :type,
  :name,
  :original_name,
  :id,
  :version_id,
  :owner,
  :parent_id)
  SENSITIVE = [:name, :original_name]
  include Aws::Structure
end

#original_nameString

The original name of the resource before a rename operation.

Returns:

  • (String)


2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
# File 'lib/aws-sdk-workdocs/types.rb', line 2404

class ResourceMetadata < Struct.new(
  :type,
  :name,
  :original_name,
  :id,
  :version_id,
  :owner,
  :parent_id)
  SENSITIVE = [:name, :original_name]
  include Aws::Structure
end

#ownerTypes::UserMetadata

The owner of the resource.

Returns:



2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
# File 'lib/aws-sdk-workdocs/types.rb', line 2404

class ResourceMetadata < Struct.new(
  :type,
  :name,
  :original_name,
  :id,
  :version_id,
  :owner,
  :parent_id)
  SENSITIVE = [:name, :original_name]
  include Aws::Structure
end

#parent_idString

The parent ID of the resource before a rename operation.

Returns:

  • (String)


2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
# File 'lib/aws-sdk-workdocs/types.rb', line 2404

class ResourceMetadata < Struct.new(
  :type,
  :name,
  :original_name,
  :id,
  :version_id,
  :owner,
  :parent_id)
  SENSITIVE = [:name, :original_name]
  include Aws::Structure
end

#typeString

The type of resource.

Returns:

  • (String)


2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
# File 'lib/aws-sdk-workdocs/types.rb', line 2404

class ResourceMetadata < Struct.new(
  :type,
  :name,
  :original_name,
  :id,
  :version_id,
  :owner,
  :parent_id)
  SENSITIVE = [:name, :original_name]
  include Aws::Structure
end

#version_idString

The version ID of the resource. This is an optional field and is filled for action on document version.

Returns:

  • (String)


2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
# File 'lib/aws-sdk-workdocs/types.rb', line 2404

class ResourceMetadata < Struct.new(
  :type,
  :name,
  :original_name,
  :id,
  :version_id,
  :owner,
  :parent_id)
  SENSITIVE = [:name, :original_name]
  include Aws::Structure
end