You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: clients/google-api-services-run/v2/2.0.0/com/google/api/services/run/v2/model/GoogleCloudRunV2ResourceRequirements.java
+18-12Lines changed: 18 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -39,10 +39,12 @@ public final class GoogleCloudRunV2ResourceRequirements extends com.google.api.c
39
39
privatejava.lang.BooleancpuIdle;
40
40
41
41
/**
42
-
* Only `memory` and `cpu` keys in the map are supported. Notes: * The only supported values for
43
-
* CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. For more
44
-
* information, go to https://cloud.google.com/run/docs/configuring/cpu. * For supported 'memory'
45
-
* values and syntax, go to https://cloud.google.com/run/docs/configuring/memory-limits
42
+
* Only `memory`, `cpu` and `nvidia.com/gpu` keys in the map are supported. Notes: * The only
43
+
* supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of
44
+
* memory. For more information, go to https://cloud.google.com/run/docs/configuring/cpu. * For
45
+
* supported 'memory' values and syntax, go to
46
+
* https://cloud.google.com/run/docs/configuring/memory-limits * The only supported
47
+
* 'nvidia.com/gpu' value is '1'.
46
48
* The value may be {@code null}.
47
49
*/
48
50
@com.google.api.client.util.Key
@@ -78,21 +80,25 @@ public GoogleCloudRunV2ResourceRequirements setCpuIdle(java.lang.Boolean cpuIdle
78
80
}
79
81
80
82
/**
81
-
* Only `memory` and `cpu` keys in the map are supported. Notes: * The only supported values for
82
-
* CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of memory. For more
83
-
* information, go to https://cloud.google.com/run/docs/configuring/cpu. * For supported 'memory'
84
-
* values and syntax, go to https://cloud.google.com/run/docs/configuring/memory-limits
83
+
* Only `memory`, `cpu` and `nvidia.com/gpu` keys in the map are supported. Notes: * The only
84
+
* supported values for CPU are '1', '2', '4', and '8'. Setting 4 CPU requires at least 2Gi of
85
+
* memory. For more information, go to https://cloud.google.com/run/docs/configuring/cpu. * For
86
+
* supported 'memory' values and syntax, go to
87
+
* https://cloud.google.com/run/docs/configuring/memory-limits * The only supported
0 commit comments