GoogleCloudRunV2ResourceRequirementsResponse class
ResourceRequirements describes the compute resource requirements.
Constructors
-
GoogleCloudRunV2ResourceRequirementsResponse({required Input<
bool> cpuIdle, required Input<Map< limits, required Input<String, String> >bool> startupCpuBoost}) -
Creates a new GoogleCloudRunV2ResourceRequirementsResponse.
cpuIdleDetermines whether CPU should be throttled or not outside of requests.limitsOnly ´memory´ and 'cpu' are supported. Notes: * The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. For more information, go to https://cloud.google.com/run/docs/configuring/cpu. * For supported 'memory' values and syntax, go to https://cloud.google.com/run/docs/configuring/memory-limitsstartupCpuBoostDetermines whether CPU should be boosted on startup of a new container instance above the requested CPU threshold, this can help reduce cold-start latency.const -
GoogleCloudRunV2ResourceRequirementsResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
cpuIdle
→ Input<
bool> -
Determines whether CPU should be throttled or not outside of requests.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
limits
→ Input<
Map< String, String> > -
Only ´memory´ and 'cpu' are supported. Notes: * The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. For more information, go to https://cloud.google.com/run/docs/configuring/cpu. * For supported 'memory' values and syntax, go to https://cloud.google.com/run/docs/configuring/memory-limits
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
startupCpuBoost
→ Input<
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.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited