proto library Client - Class IdempotencyLevel (v5.36.2)

Reference documentation and code samples for the proto library Client class 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.

Protobuf type google.protobuf.MethodOptions.IdempotencyLevel

Namespace

Google \ Protobuf \ Internal \ MethodOptions

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

IDEMPOTENCY_UNKNOWN

Value: 0

Generated from protobuf enum IDEMPOTENCY_UNKNOWN = 0;

NO_SIDE_EFFECTS

Value: 1

implies idempotent

Generated from protobuf enum NO_SIDE_EFFECTS = 1;

IDEMPOTENT

Value: 2

idempotent, but may have side effects

Generated from protobuf enum IDEMPOTENT = 2;