UploadRequest.IndexItemRequest

public static class UploadRequest.IndexItemRequest extends UploadRequest.AbstractRequest
Known Direct Subclasses

Request to index an Item to the indexing API.

  • item is the Item object that needs to be updated in the indexing API.
  • isIncremental is true if this is to be an incremental update instead of the default backfill.

An example of IndexItemRequest is:

  {
    "item": {
         "name": "test123",
         "item_type": "CONTAINER_ITEM",
         "content": {
             "content_format": "TEXT"
          },
          "acl":  {
              "readers":
              [
                  {
                      "gsuitePrincipal":
                      {
                          "gsuiteDomain":true
                      }
                  }
              ]
          }
    },
    "type": "items.indexItem",
    "isIncremental": "true"
  }
 

Inherited Field Summary

Public Constructor Summary

Inherited Method Summary

Public Constructors

public UploadRequest.IndexItemRequest ()

Send feedback about...

Cloud Search
Cloud Search