GitHub

MethodOptions_IdempotencyLevel

API reference for MethodOptions_IdempotencyLevel.

Is this method side-effect-free (or safe in HTTP parlance), or idempotent, or neither? HTTP based RPC implementation may choose GET verb for safe methods, and PUT verb for idempotent methods instead of the default POST.

Attributes

AttributeTypeDescription
IDEMPOTENCY_UNKNOWN= 0
NO_SIDE_EFFECTS= 1

implies idempotent

IDEMPOTENT= 2

idempotent, but may have side effects