Supported quota modes.

Protobuf type google.api.servicecontrol.v1.QuotaOperation.QuotaMode

CloneableInstantiable
Constants
public Google\Api\Servicecontrol\V1\QuotaOperation\QuotaMode::BEST_EFFORT = 2
 

The operation allocates quota for the amount specified in the service
configuration or specified using the quota metrics. If the amount is
higher than the available quota, request does not fail but all available
quota will be allocated.

Generated from protobuf enum BEST_EFFORT = 2;

public Google\Api\Servicecontrol\V1\QuotaOperation\QuotaMode::CHECK_ONLY = 3
 

For AllocateQuota request, only checks if there is enough quota
available and does not change the available quota. No lock is placed on
the available quota either.

Generated from protobuf enum CHECK_ONLY = 3;

public Google\Api\Servicecontrol\V1\QuotaOperation\QuotaMode::NORMAL = 1
 

For AllocateQuota request, allocates quota for the amount specified in
the service configuration or specified using the quota metrics. If the
amount is higher than the available quota, allocation error will be
returned and no quota will be allocated.

Generated from protobuf enum NORMAL = 1;

public Google\Api\Servicecontrol\V1\QuotaOperation\QuotaMode::UNSPECIFIED = 0
 

Guard against implicit default. Must not be used.

Generated from protobuf enum UNSPECIFIED = 0;

Methods
public static name( $value)
public static value( $name)
Properties
private static $valueToName = ['UNSPECIFIED', 'NORMAL', 'BEST_EFFORT', 'CHECK_ONLY']
Properties
private static $valueToName = ['UNSPECIFIED', 'NORMAL', 'BEST_EFFORT', 'CHECK_ONLY']
Methods
public static name( $value)
public static value( $name)
© 2020 Bruce Wells
Search Namespaces \ Classes
ConfigurationNumbers (0-9.) only