Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chg comment lines
  • Loading branch information
emar-kar committed Nov 22, 2019
commit d0baeadf40d694d20258da49d2a25ea1dd632f5c
7 changes: 4 additions & 3 deletions bigtable/google/cloud/bigtable/table.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def name(self):
)

def get_iam_policy(self):
"""Gets the access control policy for a table.
"""Gets the IAM access control policy for this table.

For example:

Expand All @@ -156,7 +156,7 @@ def get_iam_policy(self):
return Policy.from_pb(resp)

def set_iam_policy(self, policy):
"""Sets the access control policy on a table. Replaces any
"""Sets the IAM access control policy for this table. Replaces any
existing policy.

For more information about policy, please see documentation of
Expand All @@ -180,7 +180,8 @@ class `google.cloud.bigtable.policy.Policy`
return Policy.from_pb(resp)

def test_iam_permissions(self, permissions):
"""Returns permissions that the caller has on the specified table.
"""Tests whether the caller has the given permissions for the specified table.
Returns the permissions that the caller has.

For example:

Expand Down