Google Developer Knowledge V1 Client - Class DocumentView (0.1.0)

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 \ V1

Methods

static::name

Parameter
Name
Description
value
mixed

static::value

Parameter
Name
Description
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:

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;

Create a Mobile Website
View Site in Mobile | Classic
Share by: