GoogleCloudRunV2ResourceRequirements class
ResourceRequirements describes the compute resource requirements.
Constructors
-
GoogleCloudRunV2ResourceRequirements({bool? cpuIdle, Map<
String, String> ? limits, bool? startupCpuBoost}) - GoogleCloudRunV2ResourceRequirements.fromJson(Map json_)
Properties
- cpuIdle ↔ bool?
-
Determines whether CPU is only allocated during requests (true by
default).
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
limits
↔ Map<
String, String> ? -
Only
memory
andcpu
keys in the map are supported.getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startupCpuBoost ↔ bool?
-
Determines whether CPU should be boosted on startup of a new container
instance above the requested CPU threshold, this can help reduce
cold-start latency.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited