Class ResourceRequirements
ResourceRequirements describes the compute resource requirements.
Inheritance
Implements
Namespace: Google.Apis.CloudRun.v1.Data
Assembly: Google.Apis.CloudRun.v1.dll
Syntax
public class ResourceRequirements : object, IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Limits
(Optional)
Cloud Run fully managed: Only memory and CPU are supported. Note: The only supported value for CPU is '1'.
Cloud Run for Anthos: supported
Limits describes the maximum amount of compute resources allowed. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apimachiner y/pkg/api/resource/quantity.go
Declaration
public virtual IDictionary<string, string> Limits { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IDictionary<System.String, System.String> |
Requests
(Optional)
Cloud Run fully managed: Only memory and CPU are supported. Note: The only supported value for CPU is '1'.
Cloud Run for Anthos: supported
Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. The values of the map is string form of the 'quantity' k8s type: https://github.com/kubernetes/kubernetes/blob/m aster/staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go
Declaration
public virtual IDictionary<string, string> Requests { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IDictionary<System.String, System.String> |