ResourceRequirementsArgs

data class ResourceRequirementsArgs(val limits: Output<Map<String, String>>? = null, val requests: Output<Map<String, String>>? = null) : ConvertibleToJava<ResourceRequirementsArgs>

ResourceRequirements describes the compute resource requirements.

Constructors

Link copied to clipboard
fun ResourceRequirementsArgs(limits: Output<Map<String, String>>? = null, requests: Output<Map<String, String>>? = null)

Functions

Link copied to clipboard
open override fun toJava(): ResourceRequirementsArgs

Properties

Link copied to clipboard
val limits: Output<Map<String, String>>? = null

Limits describes the maximum amount of compute resources allowed. Only 'cpu' and 'memory' keys are supported. * For supported 'cpu' values, 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
val requests: Output<Map<String, String>>? = null

Requests describes the minimum amount of compute resources required. Only cpu and memory are supported. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. * For supported 'cpu' values, 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