ProjectsInstancesClusters
class ProjectsInstancesClusters extends Resource (View source)
The "clusters" collection of methods.
Typical usage is:
$bigtableadminService = new Google\Service\BigtableAdmin(...);
$clusters = $bigtableadminService->projects_instances_clusters;
Methods
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. (clusters.create)
Deletes a cluster from an instance. (clusters.delete)
Lists information about clusters in an instance.
Partially updates a cluster within a project. This method is the preferred way to update a Cluster. To enable and update autoscaling, set cluster_config.cluster_autoscaling_config. When autoscaling is enabled, serve_nodes is treated as an OUTPUT_ONLY field, meaning that updates to it are ignored. Note that an update cannot simultaneously set serve_nodes to non-zero and cluster_config.cluster_autoscaling_config to non-empty, and also specify both in the update_mask. To disable autoscaling, clear cluster_config.cluster_autoscaling_config, and explicitly set a serve_node count via the update_mask. (clusters.partialUpdateCluster)
Details
Operation
create(string $parent, Cluster $postBody, array $optParams = [])
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. (clusters.create)
BigtableadminEmpty
delete(string $name, array $optParams = [])
Deletes a cluster from an instance. (clusters.delete)
Cluster
get(string $name, array $optParams = [])
Gets information about a cluster. (clusters.get)
ListClustersResponse
listProjectsInstancesClusters(string $parent, array $optParams = [])
Lists information about clusters in an instance.
(clusters.listProjectsInstancesClusters)
Operation
partialUpdateCluster(string $name, Cluster $postBody, array $optParams = [])
Partially updates a cluster within a project. This method is the preferred way to update a Cluster. To enable and update autoscaling, set cluster_config.cluster_autoscaling_config. When autoscaling is enabled, serve_nodes is treated as an OUTPUT_ONLY field, meaning that updates to it are ignored. Note that an update cannot simultaneously set serve_nodes to non-zero and cluster_config.cluster_autoscaling_config to non-empty, and also specify both in the update_mask. To disable autoscaling, clear cluster_config.cluster_autoscaling_config, and explicitly set a serve_node count via the update_mask. (clusters.partialUpdateCluster)