Module: Google::Developers::DeveloperKnowledge::V1::DocumentView

Defined in:
proto_docs/google/developers/knowledge/v1/developerknowledge.rb

Overview

Specifies which fields of the Document are included.

Constant Summary collapse

DOCUMENT_VIEW_UNSPECIFIED =

The default / unset value. See each API method for its default value if DocumentView is not specified.

0
DOCUMENT_VIEW_BASIC =

Includes only the basic metadata fields:

  • name
  • uri
  • data_source
  • title
  • description
  • update_time
  • view

This is the default of view for DeveloperKnowledge.SearchDocumentChunks.

1
DOCUMENT_VIEW_FULL =

Includes all Document fields.

2
DOCUMENT_VIEW_CONTENT =

Includes the DOCUMENT_VIEW_BASIC fields and the content field.

This is the default of view for DeveloperKnowledge.GetDocument and DeveloperKnowledge.BatchGetDocuments.

3