Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
docs: add backup docs (#251)
  • Loading branch information
mutianf committed Mar 24, 2021
1 parent 0072732 commit 7d5c7aa
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/backup.rst
@@ -0,0 +1,6 @@
Backup
~~~~~~~~

.. automodule:: google.cloud.bigtable.backup
:members:
:show-inheritance:
1 change: 1 addition & 0 deletions docs/usage.rst
Expand Up @@ -9,6 +9,7 @@ Using the API
cluster
instance
table
backup
column-family
row
row-data
Expand Down
2 changes: 2 additions & 0 deletions google/cloud/bigtable/table.py
Expand Up @@ -832,6 +832,8 @@ def backup(self, backup_id, cluster_id=None, expire_time=None):
:type expire_time: :class:`datetime.datetime`
:param expire_time: (Optional) The expiration time of this new Backup.
Required, if the `create` method needs to be called.
:rtype: :class:`.Backup`
:returns: A backup linked to this table.
"""
return Backup(
backup_id,
Expand Down

0 comments on commit 7d5c7aa

Please sign in to comment.