| Package | Description |
|---|---|
| com.google.api.services.container.model |
| Modifier and Type | Method and Description |
|---|---|
Cluster |
Cluster.clone() |
Cluster |
CreateClusterRequest.getCluster()
Required.
|
Cluster |
Cluster.set(String fieldName,
Object value) |
Cluster |
Cluster.setAddonsConfig(AddonsConfig addonsConfig)
Configurations for the various addons available to run in the cluster.
|
Cluster |
Cluster.setAuthenticatorGroupsConfig(AuthenticatorGroupsConfig authenticatorGroupsConfig)
Configuration controlling RBAC group membership information.
|
Cluster |
Cluster.setAutoscaling(ClusterAutoscaling autoscaling)
Cluster-level autoscaling configuration.
|
Cluster |
Cluster.setBinaryAuthorization(BinaryAuthorization binaryAuthorization)
Configuration for Binary Authorization.
|
Cluster |
Cluster.setClusterIpv4Cidr(String clusterIpv4Cidr)
The IP address range of the container pods in this cluster, in
[CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g.
|
Cluster |
Cluster.setConditions(List<StatusCondition> conditions)
Which conditions caused the current cluster state.
|
Cluster |
Cluster.setCreateTime(String createTime)
[Output only] The time the cluster was created, in
[RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
|
Cluster |
Cluster.setCurrentMasterVersion(String currentMasterVersion)
[Output only] The current software version of the master endpoint.
|
Cluster |
Cluster.setCurrentNodeCount(Integer currentNodeCount)
[Output only] The number of nodes currently in the cluster.
|
Cluster |
Cluster.setCurrentNodeVersion(String currentNodeVersion)
[Output only] Deprecated, use [NodePools.version](/kubernetes-
engine/docs/reference/rest/v1/projects.zones.clusters.nodePools) instead.
|
Cluster |
Cluster.setDatabaseEncryption(DatabaseEncryption databaseEncryption)
Configuration of etcd encryption.
|
Cluster |
Cluster.setDefaultMaxPodsConstraint(MaxPodsConstraint defaultMaxPodsConstraint)
The default constraint on the maximum number of pods that can be run simultaneously on a node
in the node pool of this cluster.
|
Cluster |
Cluster.setDescription(String description)
An optional description of this cluster.
|
Cluster |
Cluster.setEnableKubernetesAlpha(Boolean enableKubernetesAlpha)
Kubernetes alpha features are enabled on this cluster.
|
Cluster |
Cluster.setEnableTpu(Boolean enableTpu)
Enable the ability to use Cloud TPUs in this cluster.
|
Cluster |
Cluster.setEndpoint(String endpoint)
[Output only] The IP address of this cluster's master endpoint.
|
Cluster |
Cluster.setExpireTime(String expireTime)
[Output only] The time the cluster will be automatically deleted in
[RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
|
Cluster |
Cluster.setInitialClusterVersion(String initialClusterVersion)
The initial Kubernetes version for this cluster.
|
Cluster |
Cluster.setInitialNodeCount(Integer initialNodeCount)
The number of nodes to create in this cluster.
|
Cluster |
Cluster.setInstanceGroupUrls(List<String> instanceGroupUrls)
Deprecated.
|
Cluster |
Cluster.setIpAllocationPolicy(IPAllocationPolicy ipAllocationPolicy)
Configuration for cluster IP allocation.
|
Cluster |
Cluster.setLabelFingerprint(String labelFingerprint)
The fingerprint of the set of labels for this cluster.
|
Cluster |
Cluster.setLegacyAbac(LegacyAbac legacyAbac)
Configuration for the legacy ABAC authorization mode.
|
Cluster |
Cluster.setLocation(String location)
[Output only] The name of the Google Compute Engine [zone](/compute/docs/regions-zones/regions-
zones#available) or [region](/compute/docs/regions-zones/regions-zones#available) in which the
cluster resides.
|
Cluster |
Cluster.setLocations(List<String> locations)
The list of Google Compute Engine [zones](/compute/docs/zones#available) in which the cluster's
nodes should be located.
|
Cluster |
Cluster.setLoggingService(String loggingService)
The logging service the cluster should use to write logs.
|
Cluster |
Cluster.setMaintenancePolicy(MaintenancePolicy maintenancePolicy)
Configure the maintenance policy for this cluster.
|
Cluster |
Cluster.setMasterAuth(MasterAuth masterAuth)
The authentication information for accessing the master endpoint.
|
Cluster |
Cluster.setMasterAuthorizedNetworksConfig(MasterAuthorizedNetworksConfig masterAuthorizedNetworksConfig)
The configuration options for master authorized networks feature.
|
Cluster |
Cluster.setMonitoringService(String monitoringService)
The monitoring service the cluster should use to write metrics.
|
Cluster |
Cluster.setName(String name)
The name of this cluster.
|
Cluster |
Cluster.setNetwork(String network)
The name of the Google Compute Engine [network](/compute/docs/networks-and-firewalls#networks)
to which the cluster is connected.
|
Cluster |
Cluster.setNetworkConfig(NetworkConfig networkConfig)
Configuration for cluster networking.
|
Cluster |
Cluster.setNetworkPolicy(NetworkPolicy networkPolicy)
Configuration options for the NetworkPolicy feature.
|
Cluster |
Cluster.setNodeConfig(NodeConfig nodeConfig)
Parameters used in creating the cluster's nodes.
|
Cluster |
Cluster.setNodeIpv4CidrSize(Integer nodeIpv4CidrSize)
[Output only] The size of the address space on each node for hosting containers.
|
Cluster |
Cluster.setNodePools(List<NodePool> nodePools)
The node pools associated with this cluster.
|
Cluster |
Cluster.setPrivateClusterConfig(PrivateClusterConfig privateClusterConfig)
Configuration for private cluster.
|
Cluster |
Cluster.setResourceLabels(Map<String,String> resourceLabels)
The resource labels for the cluster to use to annotate any related Google Compute Engine
resources.
|
Cluster |
Cluster.setResourceUsageExportConfig(ResourceUsageExportConfig resourceUsageExportConfig)
Configuration for exporting resource usages.
|
Cluster |
Cluster.setSelfLink(String selfLink)
[Output only] Server-defined URL for the resource.
|
Cluster |
Cluster.setServicesIpv4Cidr(String servicesIpv4Cidr)
[Output only] The IP address range of the Kubernetes services in this cluster, in
[CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g.
|
Cluster |
Cluster.setShieldedNodes(ShieldedNodes shieldedNodes)
Shielded Nodes configuration.
|
Cluster |
Cluster.setStatus(String status)
[Output only] The current status of this cluster.
|
Cluster |
Cluster.setStatusMessage(String statusMessage)
[Output only] Additional information about the current status of this cluster, if available.
|
Cluster |
Cluster.setSubnetwork(String subnetwork)
The name of the Google Compute Engine [subnetwork](/compute/docs/subnetworks) to which the
cluster is connected.
|
Cluster |
Cluster.setTpuIpv4CidrBlock(String tpuIpv4CidrBlock)
[Output only] The IP address range of the Cloud TPUs in this cluster, in
[CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g.
|
Cluster |
Cluster.setVerticalPodAutoscaling(VerticalPodAutoscaling verticalPodAutoscaling)
Cluster-level Vertical Pod Autoscaling configuration.
|
Cluster |
Cluster.setWorkloadIdentityConfig(WorkloadIdentityConfig workloadIdentityConfig)
Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.
|
Cluster |
Cluster.setZone(String zone)
[Output only] The name of the Google Compute Engine [zone](/compute/docs/zones#available) in
which the cluster resides.
|
| Modifier and Type | Method and Description |
|---|---|
List<Cluster> |
ListClustersResponse.getClusters()
A list of clusters in the project in the specified zone, or across all ones.
|
| Modifier and Type | Method and Description |
|---|---|
CreateClusterRequest |
CreateClusterRequest.setCluster(Cluster cluster)
Required.
|
| Modifier and Type | Method and Description |
|---|---|
ListClustersResponse |
ListClustersResponse.setClusters(List<Cluster> clusters)
A list of clusters in the project in the specified zone, or across all ones.
|
Copyright © 2011–2020 Google. All rights reserved.