def delete(self): """Delete this cluster. Marks a cluster and all of its tables for permanent deletion in 7 days. Immediately upon completion of the request: * Billing will cease for all of the cluster's reserved resources. * The cluster's ``delete_time`` field will be set 7 days in the future. Soon afterward: * All tables within the cluster will become unavailable. At the cluster's ``delete_time``: * The cluster and **all of its tables** will immediately and irrevocably disappear from the API, and their data will be permanently deleted. """ request_pb = messages_v2_pb2.DeleteClusterRequest(name=self.name) # We expect a `google.protobuf.empty_pb2.Empty` self._instance._client._instance_stub.DeleteCluster(request_pb)
def _DeleteClusterRequestPB(*args, **kw): from google.cloud.bigtable._generated import (bigtable_instance_admin_pb2 as messages_v2_pb2) return messages_v2_pb2.DeleteClusterRequest(*args, **kw)