code property

String? code
getter/setter pair

Status code. Possible string values are:

  • "CODE_UNSPECIFIED" : Input-only value. Used with Items.list to list all items in the queue, regardless of status.
  • "ERROR" : Error encountered by Cloud Search while processing this item. Details of the error are in repositoryError.
  • "MODIFIED" : Item has been modified in the repository, and is out of date with the version previously accepted into Cloud Search.
  • "NEW_ITEM" : Item is known to exist in the repository, but is not yet accepted by Cloud Search. An item can be in this state when Items.push has been called for an item of this name that did not exist previously.
  • "ACCEPTED" : API has accepted the up-to-date data of this item.

Implementation

core.String? code;