ResourceRequirementsResponse constructor

const ResourceRequirementsResponse({
  1. required Input<Map<String, String>> limits,
  2. required Input<Map<String, String>> requests,
})

Creates a new ResourceRequirementsResponse. limits 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 requests 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

Implementation

const ResourceRequirementsResponse({
  required this.limits,
  required this.requests,
});