Represents result of individual operation of a batch index or removal.
This is an abstract class.
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.
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:
- code/googleappengine-read-only/python/google/appengine/api/search/search.py