App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Public Member Functions | List of all members
google.appengine.api.search.search.OperationResult Class Reference
Inheritance diagram for google.appengine.api.search.search.OperationResult:
google.appengine.api.search.search.DeleteResult google.appengine.api.search.search.PutResult

Public Member Functions

def __init__
 
def code
 
def message
 
def id
 
def __repr__
 

Detailed Description

Represents result of individual operation of a batch index or removal.

This is an abstract class.

Constructor & Destructor Documentation

def google.appengine.api.search.search.OperationResult.__init__ (   self,
  code,
  message = None,
  id = None 
)
Initializer.

Args:
  code: The error or success code of the operation.
  message: An error message associated with any error.
  id: The id of the object some operation was performed on.

Raises:
  TypeError: If an unknown attribute is passed.
  ValueError: If an unknown code is passed.

Member Function Documentation

def google.appengine.api.search.search.OperationResult.code (   self)
Returns the code indicating the status of the operation.
def google.appengine.api.search.search.OperationResult.id (   self)
Returns the Id of the object the operation was performed on.
def google.appengine.api.search.search.OperationResult.message (   self)
Returns any associated error message if the operation was in error.

The documentation for this class was generated from the following file: