Reference documentation and code samples for the Google Developers Knowledge V1 Client class DocumentView.
Specifies which fields of the Document are included.
Protobuf type google.developers.knowledge.v1.DocumentView
Namespace
Google \ Developers \ Knowledge \ V1Methods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
DOCUMENT_VIEW_UNSPECIFIED
Value: 0The 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: 1Includes only the basic metadata fields:
nameuridata_sourcetitledescriptionupdate_timeviewThis is the default of view for DeveloperKnowledge.SearchDocumentChunks.
Generated from protobuf enum DOCUMENT_VIEW_BASIC = 1;
DOCUMENT_VIEW_FULL
Value: 2Includes all Document fields.
Generated from protobuf enum DOCUMENT_VIEW_FULL = 2;
DOCUMENT_VIEW_CONTENT
Value: 3Includes 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;