public class Container.Projects.Zones.Clusters
extends java.lang.Object
| Constructor and Description |
|---|
Container.Projects.Zones.Clusters() |
| Modifier and Type | Method and Description |
|---|---|
Container.Projects.Zones.Clusters.Addons |
addons(java.lang.String projectId,
java.lang.String zone,
java.lang.String clusterId,
SetAddonsConfigRequest content)
Sets the addons of a specific cluster.
|
Container.Projects.Zones.Clusters.CompleteIpRotation |
completeIpRotation(java.lang.String projectId,
java.lang.String zone,
java.lang.String clusterId,
CompleteIPRotationRequest content)
Completes master IP rotation.
|
Container.Projects.Zones.Clusters.Create |
create(java.lang.String projectId,
java.lang.String zone,
CreateClusterRequest content)
Creates a cluster, consisting of the specified number and type of Google Compute Engine
instances.
|
Container.Projects.Zones.Clusters.Delete |
delete(java.lang.String projectId,
java.lang.String zone,
java.lang.String clusterId)
Deletes the cluster, including the Kubernetes endpoint and all worker nodes.
|
Container.Projects.Zones.Clusters.Get |
get(java.lang.String projectId,
java.lang.String zone,
java.lang.String clusterId)
Gets the details of a specific cluster.
|
Container.Projects.Zones.Clusters.LegacyAbac |
legacyAbac(java.lang.String projectId,
java.lang.String zone,
java.lang.String clusterId,
SetLegacyAbacRequest content)
Enables or disables the ABAC authorization mechanism on a cluster.
|
Container.Projects.Zones.Clusters.List |
list(java.lang.String projectId,
java.lang.String zone)
Lists all clusters owned by a project in either the specified zone or all zones.
|
Container.Projects.Zones.Clusters.Locations |
locations(java.lang.String projectId,
java.lang.String zone,
java.lang.String clusterId,
SetLocationsRequest content)
Sets the locations of a specific cluster.
|
Container.Projects.Zones.Clusters.Logging |
logging(java.lang.String projectId,
java.lang.String zone,
java.lang.String clusterId,
SetLoggingServiceRequest content)
Sets the logging service of a specific cluster.
|
Container.Projects.Zones.Clusters.Master |
master(java.lang.String projectId,
java.lang.String zone,
java.lang.String clusterId,
UpdateMasterRequest content)
Updates the master of a specific cluster.
|
Container.Projects.Zones.Clusters.Monitoring |
monitoring(java.lang.String projectId,
java.lang.String zone,
java.lang.String clusterId,
SetMonitoringServiceRequest content)
Sets the monitoring service of a specific cluster.
|
Container.Projects.Zones.Clusters.NodePools |
nodePools()
An accessor for creating requests from the NodePools collection.
|
Container.Projects.Zones.Clusters.ResourceLabels |
resourceLabels(java.lang.String projectId,
java.lang.String zone,
java.lang.String clusterId,
SetLabelsRequest content)
Sets labels on a cluster.
|
Container.Projects.Zones.Clusters.SetMaintenancePolicy |
setMaintenancePolicy(java.lang.String projectId,
java.lang.String zone,
java.lang.String clusterId,
SetMaintenancePolicyRequest content)
Sets the maintenance policy for a cluster.
|
Container.Projects.Zones.Clusters.SetMasterAuth |
setMasterAuth(java.lang.String projectId,
java.lang.String zone,
java.lang.String clusterId,
SetMasterAuthRequest content)
Used to set master auth materials.
|
Container.Projects.Zones.Clusters.SetNetworkPolicy |
setNetworkPolicy(java.lang.String projectId,
java.lang.String zone,
java.lang.String clusterId,
SetNetworkPolicyRequest content)
Enables/Disables Network Policy for a cluster.
|
Container.Projects.Zones.Clusters.StartIpRotation |
startIpRotation(java.lang.String projectId,
java.lang.String zone,
java.lang.String clusterId,
StartIPRotationRequest content)
Start master IP rotation.
|
Container.Projects.Zones.Clusters.Update |
update(java.lang.String projectId,
java.lang.String zone,
java.lang.String clusterId,
UpdateClusterRequest content)
Updates the settings of a specific cluster.
|
public Container.Projects.Zones.Clusters.Addons addons(java.lang.String projectId, java.lang.String zone, java.lang.String clusterId, SetAddonsConfigRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.projectId - Deprecated. The Google Developers Console [project ID or project
number](https://support.google.com/cloud/answer/6158840).
This field has been deprecated
and replaced by the name field.zone - Deprecated. The name of the Google Compute Engine
[zone](/compute/docs/zones#available) in which the
cluster
resides.
This field has been deprecated and replaced by the name field.clusterId - Deprecated. The name of the cluster to upgrade.
This field has been deprecated and replaced by the
name field.content - the SetAddonsConfigRequestjava.io.IOExceptionpublic Container.Projects.Zones.Clusters.CompleteIpRotation completeIpRotation(java.lang.String projectId, java.lang.String zone, java.lang.String clusterId, CompleteIPRotationRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.projectId - Deprecated. The Google Developers Console [project ID or project
number](https://developers.google.com/console/help/new/#projectnumber).
This field has
been deprecated and replaced by the name field.zone - Deprecated. The name of the Google Compute Engine
[zone](/compute/docs/zones#available) in which the
cluster
resides.
This field has been deprecated and replaced by the name field.clusterId - Deprecated. The name of the cluster.
This field has been deprecated and replaced by the name field.content - the CompleteIPRotationRequestjava.io.IOExceptionpublic Container.Projects.Zones.Clusters.Create create(java.lang.String projectId, java.lang.String zone, CreateClusterRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.projectId - Deprecated. The Google Developers Console [project ID or project
number](https://support.google.com/cloud/answer/6158840).
This field has been deprecated
and replaced by the parent field.zone - Deprecated. The name of the Google Compute Engine
[zone](/compute/docs/zones#available) in which the
cluster
resides.
This field has been deprecated and replaced by the parent field.content - the CreateClusterRequestjava.io.IOExceptionpublic Container.Projects.Zones.Clusters.Delete delete(java.lang.String projectId, java.lang.String zone, java.lang.String clusterId) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.projectId - Deprecated. The Google Developers Console [project ID or project
number](https://support.google.com/cloud/answer/6158840).
This field has been deprecated
and replaced by the name field.zone - Deprecated. The name of the Google Compute Engine
[zone](/compute/docs/zones#available) in which the
cluster
resides.
This field has been deprecated and replaced by the name field.clusterId - Deprecated. The name of the cluster to delete.
This field has been deprecated and replaced by the
name field.java.io.IOExceptionpublic Container.Projects.Zones.Clusters.Get get(java.lang.String projectId, java.lang.String zone, java.lang.String clusterId) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.projectId - Deprecated. The Google Developers Console [project ID or project
number](https://support.google.com/cloud/answer/6158840).
This field has been deprecated
and replaced by the name field.zone - Deprecated. The name of the Google Compute Engine
[zone](/compute/docs/zones#available) in which the
cluster
resides.
This field has been deprecated and replaced by the name field.clusterId - Deprecated. The name of the cluster to retrieve.
This field has been deprecated and replaced by the
name field.java.io.IOExceptionpublic Container.Projects.Zones.Clusters.LegacyAbac legacyAbac(java.lang.String projectId, java.lang.String zone, java.lang.String clusterId, SetLegacyAbacRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.projectId - Deprecated. The Google Developers Console [project ID or project
number](https://support.google.com/cloud/answer/6158840).
This field has been deprecated
and replaced by the name field.zone - Deprecated. The name of the Google Compute Engine
[zone](/compute/docs/zones#available) in which the
cluster
resides.
This field has been deprecated and replaced by the name field.clusterId - Deprecated. The name of the cluster to update.
This field has been deprecated and replaced by the
name field.content - the SetLegacyAbacRequestjava.io.IOExceptionpublic Container.Projects.Zones.Clusters.List list(java.lang.String projectId, java.lang.String zone) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.projectId - Deprecated. The Google Developers Console [project ID or project
number](https://support.google.com/cloud/answer/6158840).
This field has been deprecated
and replaced by the parent field.zone - Deprecated. The name of the Google Compute Engine
[zone](/compute/docs/zones#available) in which the
cluster
resides, or "-" for all zones.
This field has been deprecated and replaced by the
parent field.java.io.IOExceptionpublic Container.Projects.Zones.Clusters.Locations locations(java.lang.String projectId, java.lang.String zone, java.lang.String clusterId, SetLocationsRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.projectId - Deprecated. The Google Developers Console [project ID or project
number](https://support.google.com/cloud/answer/6158840).
This field has been deprecated
and replaced by the name field.zone - Deprecated. The name of the Google Compute Engine
[zone](/compute/docs/zones#available) in which the
cluster
resides.
This field has been deprecated and replaced by the name field.clusterId - Deprecated. The name of the cluster to upgrade.
This field has been deprecated and replaced by the
name field.content - the SetLocationsRequestjava.io.IOExceptionpublic Container.Projects.Zones.Clusters.Logging logging(java.lang.String projectId, java.lang.String zone, java.lang.String clusterId, SetLoggingServiceRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.projectId - Deprecated. The Google Developers Console [project ID or project
number](https://support.google.com/cloud/answer/6158840).
This field has been deprecated
and replaced by the name field.zone - Deprecated. The name of the Google Compute Engine
[zone](/compute/docs/zones#available) in which the
cluster
resides.
This field has been deprecated and replaced by the name field.clusterId - Deprecated. The name of the cluster to upgrade.
This field has been deprecated and replaced by the
name field.content - the SetLoggingServiceRequestjava.io.IOExceptionpublic Container.Projects.Zones.Clusters.Master master(java.lang.String projectId, java.lang.String zone, java.lang.String clusterId, UpdateMasterRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.projectId - Deprecated. The Google Developers Console [project ID or project
number](https://support.google.com/cloud/answer/6158840).
This field has been deprecated
and replaced by the name field.zone - Deprecated. The name of the Google Compute Engine
[zone](/compute/docs/zones#available) in which the
cluster
resides.
This field has been deprecated and replaced by the name field.clusterId - Deprecated. The name of the cluster to upgrade.
This field has been deprecated and replaced by the
name field.content - the UpdateMasterRequestjava.io.IOExceptionpublic Container.Projects.Zones.Clusters.Monitoring monitoring(java.lang.String projectId, java.lang.String zone, java.lang.String clusterId, SetMonitoringServiceRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.projectId - Deprecated. The Google Developers Console [project ID or project
number](https://support.google.com/cloud/answer/6158840).
This field has been deprecated
and replaced by the name field.zone - Deprecated. The name of the Google Compute Engine
[zone](/compute/docs/zones#available) in which the
cluster
resides.
This field has been deprecated and replaced by the name field.clusterId - Deprecated. The name of the cluster to upgrade.
This field has been deprecated and replaced by the
name field.content - the SetMonitoringServiceRequestjava.io.IOExceptionpublic Container.Projects.Zones.Clusters.ResourceLabels resourceLabels(java.lang.String projectId, java.lang.String zone, java.lang.String clusterId, SetLabelsRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.projectId - Deprecated. The Google Developers Console [project ID or project
number](https://developers.google.com/console/help/new/#projectnumber).
This field has
been deprecated and replaced by the name field.zone - Deprecated. The name of the Google Compute Engine
[zone](/compute/docs/zones#available) in which the
cluster
resides.
This field has been deprecated and replaced by the name field.clusterId - Deprecated. The name of the cluster.
This field has been deprecated and replaced by the name field.content - the SetLabelsRequestjava.io.IOExceptionpublic Container.Projects.Zones.Clusters.SetMaintenancePolicy setMaintenancePolicy(java.lang.String projectId, java.lang.String zone, java.lang.String clusterId, SetMaintenancePolicyRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.projectId - The Google Developers Console [project ID or project
number](https://support.google.com/cloud/answer/6158840).zone - The name of the Google Compute Engine
[zone](/compute/docs/zones#available) in which the cluster
resides.clusterId - The name of the cluster to update.content - the SetMaintenancePolicyRequestjava.io.IOExceptionpublic Container.Projects.Zones.Clusters.SetMasterAuth setMasterAuth(java.lang.String projectId, java.lang.String zone, java.lang.String clusterId, SetMasterAuthRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.projectId - Deprecated. The Google Developers Console [project ID or project
number](https://support.google.com/cloud/answer/6158840).
This field has been deprecated
and replaced by the name field.zone - Deprecated. The name of the Google Compute Engine
[zone](/compute/docs/zones#available) in which the
cluster
resides.
This field has been deprecated and replaced by the name field.clusterId - Deprecated. The name of the cluster to upgrade.
This field has been deprecated and replaced by the
name field.content - the SetMasterAuthRequestjava.io.IOExceptionpublic Container.Projects.Zones.Clusters.SetNetworkPolicy setNetworkPolicy(java.lang.String projectId, java.lang.String zone, java.lang.String clusterId, SetNetworkPolicyRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.projectId - Deprecated. The Google Developers Console [project ID or project
number](https://developers.google.com/console/help/new/#projectnumber).
This field has
been deprecated and replaced by the name field.zone - Deprecated. The name of the Google Compute Engine
[zone](/compute/docs/zones#available) in which the
cluster
resides.
This field has been deprecated and replaced by the name field.clusterId - Deprecated. The name of the cluster.
This field has been deprecated and replaced by the name field.content - the SetNetworkPolicyRequestjava.io.IOExceptionpublic Container.Projects.Zones.Clusters.StartIpRotation startIpRotation(java.lang.String projectId, java.lang.String zone, java.lang.String clusterId, StartIPRotationRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.projectId - Deprecated. The Google Developers Console [project ID or project
number](https://developers.google.com/console/help/new/#projectnumber).
This field has
been deprecated and replaced by the name field.zone - Deprecated. The name of the Google Compute Engine
[zone](/compute/docs/zones#available) in which the
cluster
resides.
This field has been deprecated and replaced by the name field.clusterId - Deprecated. The name of the cluster.
This field has been deprecated and replaced by the name field.content - the StartIPRotationRequestjava.io.IOExceptionpublic Container.Projects.Zones.Clusters.Update update(java.lang.String projectId, java.lang.String zone, java.lang.String clusterId, UpdateClusterRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.projectId - Deprecated. The Google Developers Console [project ID or project
number](https://support.google.com/cloud/answer/6158840).
This field has been deprecated
and replaced by the name field.zone - Deprecated. The name of the Google Compute Engine
[zone](/compute/docs/zones#available) in which the
cluster
resides.
This field has been deprecated and replaced by the name field.clusterId - Deprecated. The name of the cluster to upgrade.
This field has been deprecated and replaced by the
name field.content - the UpdateClusterRequestjava.io.IOExceptionpublic Container.Projects.Zones.Clusters.NodePools nodePools()
The typical use is:
Container container = new Container(...);Container.NodePools.List request = container.nodePools().list(parameters ...)