Developer Knowledge V1 API - Module Google::Developers::DeveloperKnowledge::V1::DocumentView (v0.1.0)

Reference documentation and code samples for the Developer Knowledge V1 API module Google::Developers::DeveloperKnowledge::V1::DocumentView.

Specifies which fields of the Document are included.

Constants

DOCUMENT_VIEW_UNSPECIFIED

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

DOCUMENT_VIEW_BASIC

value: 1
Includes only the basic metadata fields:

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

This is the default of view for DeveloperKnowledge.SearchDocumentChunks.

DOCUMENT_VIEW_FULL

value: 2
Includes all Document fields.

DOCUMENT_VIEW_CONTENT

value: 3
Includes the DOCUMENT_VIEW_BASIC fields and the content field.

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