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

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

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

Overview

Describes the metadata of a resource.

Instance Attribute Summary collapse

Instance Attribute Details

#idString

The ID of the resource.

Returns:

  • (String)


2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 2279

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

#nameString

The name of the resource.

Returns:

  • (String)


2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 2279

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

#original_nameString

The original name of the resource before a rename operation.

Returns:

  • (String)


2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 2279

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

#ownerTypes::UserMetadata

The owner of the resource.

Returns:



2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 2279

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

#parent_idString

The parent ID of the resource before a rename operation.

Returns:

  • (String)


2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 2279

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

#typeString

The type of resource.

Returns:

  • (String)


2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 2279

class ResourceMetadata < Struct.new(
  :type,
  :name,
  :original_name,
  :id,
  :version_id,
  :owner,
  :parent_id)
  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)


2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 2279

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