| Package | Description |
|---|---|
| com.google.api.services.container.model |
| Modifier and Type | Method and Description |
|---|---|
ResourceLimit |
ResourceLimit.clone() |
ResourceLimit |
ResourceLimit.set(String fieldName,
Object value) |
ResourceLimit |
ResourceLimit.setMaximum(Long maximum)
Maximum amount of the resource in the cluster.
|
ResourceLimit |
ResourceLimit.setMinimum(Long minimum)
Minimum amount of the resource in the cluster.
|
ResourceLimit |
ResourceLimit.setResourceType(String resourceType)
Resource name "cpu", "memory" or gpu-specific string.
|
| Modifier and Type | Method and Description |
|---|---|
List<ResourceLimit> |
ClusterAutoscaling.getResourceLimits()
Contains global constraints regarding minimum and maximum amount of resources in the cluster.
|
| Modifier and Type | Method and Description |
|---|---|
ClusterAutoscaling |
ClusterAutoscaling.setResourceLimits(List<ResourceLimit> resourceLimits)
Contains global constraints regarding minimum and maximum amount of resources in the cluster.
|
Copyright © 2011–2020 Google. All rights reserved.