code: public final Operation createCluster(String projectId, String zone, Cluster cluster) {
  
      CreateClusterRequest request =
          CreateClusterRequest.newBuilder()
              .setProjectId(projectId)
              .setZone(zone)
              .setCluster(cluster)
              .build();
      return createCluster(request);
    }
docs: Creates a cluster, consisting of the specified number and type of Google Compute Engine
  instances.
  
  <p>By default, the cluster is created in the project's [default
  network](/compute/docs/networks-and-firewalls#networks).
  
  <p>One firewall is added for the cluster. After cluster creation, the cluster creates routes
  for each node to allow the containers on that node to communicate with all other instances in
  the cluster.
  
  <p>Finally, an entry is added to the project's global metadata indicating which CIDR range is
  being used by the cluster.
  
  <p>Sample code:
  
  <pre><code>
  try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
  String projectId = "";
  String zone = "";
  Cluster cluster = Cluster.newBuilder().build();
  Operation response = clusterManagerClient.createCluster(projectId, zone, cluster);
  }
  </code></pre>
  
  @param 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.
  @param 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.
  @param cluster A [cluster
  resource](/container-engine/reference/rest/v1/projects.zones.clusters)
  @throws com.google.api.gax.rpc.ApiException if the remote call fails