ServiceTier class
Service tier for request processing.
Known tiers are available as static constants (e.g., ServiceTier.auto,
ServiceTier.defaultTier, ServiceTier.flex, ServiceTier.scale,
ServiceTier.priority).
Providers may define
additional tiers; use the ServiceTier.new constructor for custom values
(e.g., ServiceTier('batch')).
- Annotations
-
- @immutable
Constructors
- ServiceTier(String value)
-
Creates a ServiceTier with the given
value.const - ServiceTier.fromJson(String json)
-
Creates a ServiceTier from a JSON value.
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String - Converts to JSON value.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Constants
- auto → const ServiceTier
- Automatic tier selection.
- defaultTier → const ServiceTier
- Default tier.
- flex → const ServiceTier
- Flex tier for cost-effective processing.
- priority → const ServiceTier
- Priority tier (higher priority).
- scale → const ServiceTier
- Scale tier.