IndexingConverterRichContentDataRange

GoogleApi.ContentWarehouse.V1.Model.IndexingConverterRichContentDataRange


Table of Contents ▼

Jump to a specific part of the page:

Description

Stores an ordered list of ranges of content from the original, processed, and intermediate content, such that: 1. The original content can be reconstructed from the ranges of type ORIGINAL_AND_PROCESSED, ORIGINAL_ONLY, and ORIGINAL_AND_INTERMEDIATE. 2. The processed content can be reconstructed from the ranges of type ORIGINAL_AND_PROCESSED and PROCESSED_ONLY. 3. The intermediate content (if present) can be reconstructed from the ranges of type ORIGINAL_AND_INTERMEDIATE and INTERMEDIATE_ONLY.

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. rangeType (type: String.t, default: nil)
    -
  2. size (type: integer(), default: nil)
    - Range size when uncompressed, in bytes.
  3. sourceType (type: String.t, default: nil)
    - The source of this range of content. Present iff 'type' is PROCESSED_ONLY or INTERMEDIATE_ONLY. Note: 'source_type' is not present for ORIGINAL_AND_PROCESSED, ORIGINAL_ONLY, and ORIGINAL_AND_INTERMEDIATE because for those range types the source of their content is the original crawled content.
  4. sourceUrl (type: String.t, default: nil)
    - The source URL of this range of content. Present iff 'source_type' is present and 'source_type' is FRAME or FLASH or IFRAME.
  5. text (type: String.t, default: nil)
    - The content of the range, compressed with 'text_compression_method'. Present iff 'type' is ORIGINAL_ONLY or ORIGINAL_AND_INTERMEDIATE or INTERMEDIATE_ONLY. Useful to reconstruct the original content or the intermediate content. Note: 'text' is not present for ORIGINAL_AND_PROCESSED and PROCESSED_ONLY because the processed content is already stored separately (in the contents column, and in CompositeDoc.doc.Content.Representation).
  6. textCompressionMethod (type: String.t, default: nil)
    - Method used to compress the 'text' field. May be present only when the 'text' is present.

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.IndexingConverterRichContentDataRange{
rangeType: String.t() | nil,
size: integer() | nil,
sourceType: String.t() | nil,
sourceUrl: String.t() | nil,
text: String.t() | nil,
textCompressionMethod: String.t() | nil
}

Function

@spec decode(struct(), keyword()) :: struct()

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.IndexingConverterRichContentDataRange