Reference documentation and code samples for the Google Developer Knowledge V1 Client class DocumentView.
Specifies which fields of the Document are included.
Protobuf type google.developers.knowledge.v1.DocumentView
Namespace
Google \ Developers \ DeveloperKnowledge \ V1Methods
static::name
value
mixed
static::value
name
mixed
Constants
DOCUMENT_VIEW_UNSPECIFIED
Value: 0
The default / unset value. See each API method for its default value if DocumentView is not specified.
Generated from protobuf enum DOCUMENT_VIEW_UNSPECIFIED = 0;
DOCUMENT_VIEW_BASIC
Value: 1
Includes only the basic metadata fields:
-
name -
uri -
data_source -
title -
description -
update_time -
viewThis is the default of view for DeveloperKnowledge.SearchDocumentChunks .
Generated from protobuf enum DOCUMENT_VIEW_BASIC = 1;
DOCUMENT_VIEW_FULL
Value: 2
Includes all Document fields.
Generated from protobuf enum DOCUMENT_VIEW_FULL = 2;
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 .
Generated from protobuf enum DOCUMENT_VIEW_CONTENT = 3;

