OptionalexpectedExpected content version for optimistic concurrency control. When mismatched, mutations are aborted with STALE_TARGET (details.current carries current version). Omitted, no check is made.
OptionalindexOne queue position to remove. Takes precedence over indices.
OptionalindicesQueue positions to remove; read only when index is absent.
Parameters for
queue.remove. Remove one entry byindex, or several byindices. An empty queue fails withNOT_FOUNDwhatever is given. Anindexpast the end fails withINVALID_INDEX. In a batch, duplicate indices and those past the end of the queue are skipped; when none is in range the call fails withINVALID_INDEX, the failure carryingremovedCount0andqueueCount. Giving neither key, or a negative index, fails withINVALID_PARAMS.