GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefSimplifiedCompositeDoc
Table of Contents ▼
Jump to a specific part of the page:
Description
Represents an information which is very close to composite doc, but compresses how the anchors are represented to save space. Next available tag: 18.
Attributes List
This module has the following attributes (case-insensitive ascending order):
Attributes
-
anchors
(type:GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefSimplifiedAnchors
, default:nil
)
- The composite doc anchors trimmed and transformed in a smaller data structure and aggregated (if they have the exact same text). -
cdocContainer
(type:GoogleApi.ContentWarehouse.V1.Model.Proto2BridgeMessageSet
, default:nil
)
- IMPORTANT: do not access this field directly, use the simplified-cdoc-access library functions to get the composite doc out of this proto. -
documentMentionSpans
(type:GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefRefconDocumentMentionSpans
, default:nil
)
- The composite doc spans which were annotated with entities by Webref. -
forwardingDups
(type:list(GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefSimplifiedForwardingDup)
, default:nil
)
- Forwarding dups generated by merging existing forwarding dups within cdoc_container and URLs from ReferencePageCandidateList. Populated only before writing to online CDocs Spanner table and used for keeping an index on non canonical URLs in table. [!] Do not use unless fetching CDocs from Enricher's online Spanner CDocs database knowledge-enricher-cdocs-spanner. -
matchingMetadata
(type:GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefPreprocessingUrlMatchingMetadata
, default:nil
)
- Metadata related to why this doc was matched to its owning entity. -
pageContent
(type:list(String.t)
, default:nil
)
- -
refconDocumentMetadata
(type:GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefRefconRefconDocumentMetadata
, default:nil
)
- Additional document metadata needed by Refcon. -
sourceSnapshotType
(type:String.t
, default:nil
)
- -
url
(type:String.t
, default:nil
)
- The URL, populated independently of whether we have a CompositeDoc proto. If the cdoc exists, the url is the same as CompositeDoc.doc.url. -
webrefOutlinkInfos
(type:GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefWebrefOutlinkInfos
, default:nil
)
-
Type
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefSimplifiedCompositeDoc{
anchors: GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefSimplifiedAnchors.t() | nil,
cdocContainer: GoogleApi.ContentWarehouse.V1.Model.Proto2BridgeMessageSet.t() | nil,
documentMentionSpans: GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefRefconDocumentMentionSpans.t() | nil,
forwardingDups: [ GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefSimplifiedForwardingDup.t() ] | nil,
matchingMetadata: GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefPreprocessingUrlMatchingMetadata.t() | nil,
pageContent: [String.t()] | nil,
refconDocumentMetadata: GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefRefconRefconDocumentMetadata.t() | nil,
sourceSnapshotType: String.t() | nil,
url: String.t() | nil,
webrefOutlinkInfos: GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefWebrefOutlinkInfos.t() | nil
}
anchors: GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefSimplifiedAnchors.t() | nil,
cdocContainer: GoogleApi.ContentWarehouse.V1.Model.Proto2BridgeMessageSet.t() | nil,
documentMentionSpans: GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefRefconDocumentMentionSpans.t() | nil,
forwardingDups: [ GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefSimplifiedForwardingDup.t() ] | nil,
matchingMetadata: GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefPreprocessingUrlMatchingMetadata.t() | nil,
pageContent: [String.t()] | nil,
refconDocumentMetadata: GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefRefconRefconDocumentMetadata.t() | nil,
sourceSnapshotType: String.t() | nil,
url: String.t() | nil,
webrefOutlinkInfos: GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefWebrefOutlinkInfos.t() | nil
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefSimplifiedCompositeDoc