google-cloud-container overview (2.5.1)

Stay organized with collections Save and categorize content based on your preferences.

com.google.cloud.container.v1

A client to Kubernetes Engine API

The interfaces provided are listed below, along with usage samples.

ClusterManagerClient

Service Description: Google Kubernetes Engine Cluster Manager v1

Sample for ClusterManagerClient:


 // This snippet has been automatically generated for illustrative purposes only.
 // It may require modifications to work in your environment.
 try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
   String parent = "parent-995424086";
   ListClustersResponse response = clusterManagerClient.listClusters(parent);
 }
 

com.google.cloud.container.v1.stub

com.google.cloud.container.v1beta1

A client to Kubernetes Engine API

The interfaces provided are listed below, along with usage samples.

ClusterManagerClient

Service Description: Google Kubernetes Engine Cluster Manager v1beta1

Sample for ClusterManagerClient:


 // This snippet has been automatically generated for illustrative purposes only.
 // It may require modifications to work in your environment.
 try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
   String projectId = "projectId-894832108";
   String zone = "zone3744684";
   ListClustersResponse response = clusterManagerClient.listClusters(projectId, zone);
 }
 

com.google.cloud.container.v1beta1.stub

com.google.container.v1

com.google.container.v1beta1