Value to set. Any type. If complex, will be pickled.
time
Optional expiration time, either relative number of seconds
from current time (up to 1 month), or an absolute Unix epoch time.
By default, items never expire, though items may be evicted due to
memory pressure. Float values will be rounded up to the nearest
whole second.
min_compress_len
Ignored option for compatibility.
namespace
a string specifying an optional namespace to use in
the request.
Returns
True if replaced. False on RPC error or cache miss.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-11-14 UTC."],[[["The `google.appengine.api.memcache.replace` function replaces a key's value in memcache only if the key already exists."],["This function takes `key`, `value`, optional `time` for expiration, and an optional `namespace` as arguments."],["The `value` argument can be of any type and will be pickled if complex."],["The `time` argument can be set to determine expiration, measured either as a relative number of seconds or as an absolute Unix epoch time, and float values will be rounded up to the nearest whole second."],["The function returns `True` if the replacement is successful, and `False` if there's an RPC error or the key is not found."]]],[]]