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

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

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

Overview

Note:

When making an API call, you may pass GetDocumentVersionRequest data as a hash:

{
  authentication_token: "AuthenticationHeaderType",
  document_id: "ResourceIdType", # required
  version_id: "DocumentVersionIdType", # required
  fields: "FieldNamesType",
  include_custom_metadata: false,
}

Instance Attribute Summary collapse

Instance Attribute Details

#authentication_tokenString

Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials.

Returns:

  • (String)


1790
1791
1792
1793
1794
1795
1796
1797
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 1790

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

#document_idString

The ID of the document.

Returns:

  • (String)


1790
1791
1792
1793
1794
1795
1796
1797
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 1790

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

#fieldsString

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

Returns:

  • (String)


1790
1791
1792
1793
1794
1795
1796
1797
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 1790

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

#include_custom_metadataBoolean

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

Returns:

  • (Boolean)


1790
1791
1792
1793
1794
1795
1796
1797
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 1790

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

#version_idString

The version ID of the document.

Returns:

  • (String)


1790
1791
1792
1793
1794
1795
1796
1797
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 1790

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