Uh oh!
There was an error while loading. Please reload this page.
Add 'Subscription.test_iam_permissions' API wrapper. - #1646
Conversation
tseaver
commented
Mar 22, 2016
tseaver
commented
Mar 22, 2016
#1648 would cover the |
| >>> topic = client.topic('topic_name') | ||
| >>> subscription = topic.subscription('subscription_name') | ||
| >>> subscription.test_iam_permissions( | ||
| ... ['roles/reader', 'roles/writer', 'roles/owner']) # API request |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
| >>> subscription = topic.subscription('subscription_name') | ||
| >>> allowed = subscription.test_iam_permissions( | ||
| ... [READER_ROLE, WRITER_ROLE, OWNER_ROLE]) # API request | ||
| >>> allowed == [READER_ROLE, WRITER_ROLE] |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
tseaver
commented
Mar 23, 2016
@dhermes any further issues? |
dhermes
commented
Mar 23, 2016
LGTM |
* fix: fix code coverage * update goldens * update comment * renable code formatting
Uses #1645 as a base.Closes#1073.