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,
}

Constant Summary collapse

SENSITIVE =
[:authentication_token]

Instance Attribute Summary collapse

Instance Attribute Details

#authentication_tokenString

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

Returns:

  • (String)


2049
2050
2051
2052
2053
2054
2055
2056
2057
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 2049

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)


2049
2050
2051
2052
2053
2054
2055
2056
2057
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 2049

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)


2049
2050
2051
2052
2053
2054
2055
2056
2057
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 2049

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)


2049
2050
2051
2052
2053
2054
2055
2056
2057
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 2049

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)


2049
2050
2051
2052
2053
2054
2055
2056
2057
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 2049

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