title: How to get kubeconfig from GKE SDK (java)
body: <p>I am creating a cluster using the sdk as shown below.</p>
  <pre><code>Container.Projects.Locations.Clusters.Create regionClusterRequest =
      containerService.projects().locations().clusters().create(parent, requestBody);
  </code></pre>
  <p>I want the kubeconfig of the cluster after creation.</p>
  <p>How to get kubeconfig from GKE SDK (java)</p>
  <p>or Get GKE cluster kubeconfig using API call</p>
  <p>List of libraries I use</p>
  <pre><code>implementation platform('com.google.cloud:libraries-bom:25.4.0')
  implementation 'com.google.cloud:google-cloud-storage'
  implementation 'com.google.apis:google-api-services-container:v1-rev20211203-1.32.1'
  </code></pre>