GoogleCloudRunV2ResourceRequirementsResponse

data class GoogleCloudRunV2ResourceRequirementsResponse(val cpuIdle: Boolean, val limits: Map<String, String>, val startupCpuBoost: Boolean)

ResourceRequirements describes the compute resource requirements.

Constructors

constructor(cpuIdle: Boolean, limits: Map<String, String>, startupCpuBoost: Boolean)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Determines whether CPU should be throttled or not outside of requests.

Link copied to clipboard

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

Link copied to clipboard

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.