The result of indexing a single object.
Inherits From: OperationResult
, expected_type
View aliases
Main aliases
`google.appengine.api.search.search.PutResult`
google.appengine.api.search.PutResult(
code, message=None, id=None
)
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.
|
Attributes |
code
|
Returns the code indicating the status of the operation.
|
id
|
Returns the Id of the object the operation was performed on.
|
message
|
Returns any associated error message if the operation was in error.
|
Class Variables |
CONCURRENT_TRANSACTION
|
'CONCURRENT_TRANSACTION'
|
INTERNAL_ERROR
|
'INTERNAL_ERROR'
|
INVALID_REQUEST
|
'INVALID_REQUEST'
|
OK
|
'OK'
|
TIMEOUT
|
'TIMEOUT'
|
TRANSIENT_ERROR
|
'TRANSIENT_ERROR'
|