Skip to content

Commit

Permalink
Updating with upstream.
Browse files Browse the repository at this point in the history
  • Loading branch information
dhermes committed Dec 5, 2015
1 parent c95d0cf commit 698b257
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gcloud_bigtable/_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class AuthInfo(object):
def _pb_timestamp_to_datetime(timestamp):
"""Convert a Timestamp protobuf to a datetime object.
:type timestamp: :class:`._generated.timestamp_pb.Timestamp`
:type timestamp: :class:`._generated.timestamp_pb2.Timestamp`
:param timestamp: A Google returned timestamp protobuf.
:rtype: :class:`datetime.datetime`
Expand Down
22 changes: 22 additions & 0 deletions gcloud_bigtable/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,28 @@ def update(self, timeout_seconds=None):
def delete(self, timeout_seconds=None):
"""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.
Prior to the cluster's ``delete_time``:
* The cluster can be recovered with a call to ``UndeleteCluster``.
* All other attempts to modify or delete the cluster will be rejected.
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.
:type timeout_seconds: int
:param timeout_seconds: Number of seconds for request time-out.
If not passed, defaults to value set on
Expand Down

0 comments on commit 698b257

Please sign in to comment.