Class: Aws::WorkDocs::Types::GetDocumentVersionRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[:authentication_token]

Instance Attribute Summary collapse

Instance Attribute Details

#authentication_tokenString

Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

Returns:

  • (String)


1848
1849
1850
1851
1852
1853
1854
1855
1856
# File 'lib/aws-sdk-workdocs/types.rb', line 1848

class GetDocumentVersionRequest < Struct.new(
  :authentication_token,
  :document_id,
  :version_id,
  :fields,
  :include_custom_metadata)
  SENSITIVE = [:authentication_token]
  include Aws::Structure
end

#document_idString

The ID of the document.

Returns:

  • (String)


1848
1849
1850
1851
1852
1853
1854
1855
1856
# File 'lib/aws-sdk-workdocs/types.rb', line 1848

class GetDocumentVersionRequest < Struct.new(
  :authentication_token,
  :document_id,
  :version_id,
  :fields,
  :include_custom_metadata)
  SENSITIVE = [:authentication_token]
  include Aws::Structure
end

#fieldsString

A comma-separated list of values. Specify “SOURCE” to include a URL for the source document.

Returns:

  • (String)


1848
1849
1850
1851
1852
1853
1854
1855
1856
# File 'lib/aws-sdk-workdocs/types.rb', line 1848

class GetDocumentVersionRequest < Struct.new(
  :authentication_token,
  :document_id,
  :version_id,
  :fields,
  :include_custom_metadata)
  SENSITIVE = [:authentication_token]
  include Aws::Structure
end

#include_custom_metadataBoolean

Set this to TRUE to include custom metadata in the response.

Returns:

  • (Boolean)


1848
1849
1850
1851
1852
1853
1854
1855
1856
# File 'lib/aws-sdk-workdocs/types.rb', line 1848

class GetDocumentVersionRequest < Struct.new(
  :authentication_token,
  :document_id,
  :version_id,
  :fields,
  :include_custom_metadata)
  SENSITIVE = [:authentication_token]
  include Aws::Structure
end

#version_idString

The version ID of the document.

Returns:

  • (String)


1848
1849
1850
1851
1852
1853
1854
1855
1856
# File 'lib/aws-sdk-workdocs/types.rb', line 1848

class GetDocumentVersionRequest < Struct.new(
  :authentication_token,
  :document_id,
  :version_id,
  :fields,
  :include_custom_metadata)
  SENSITIVE = [:authentication_token]
  include Aws::Structure
end