projects
Creates a cluster within an instance. Note that exactly one of Cluster.serve_nodes and Cluster.cluster_config.cluster_autoscaling_config can be set. If serve_nodes is set to non-zero, then the cluster is manually scaled. If cluster_config.cluster_autoscaling_config is non-empty, then autoscaling is enabled.
post/v2/{+parent}/clusters
Path parameters
parentstring required
Required. The unique name of the instance in which to create the new cluster. Values are of the form projects/{project}/instances/{instance}.
Query parameters
clusterIdstring
Required. The ID to be used when referring to the new cluster within its instance, e.g., just mycluster rather than projects/myproject/instances/myinstance/clusters/mycluster.
Request body
Response
Successful response