Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add removeBinding to Google\Cloud\Core\Iam\PolicyBuilder #479

Closed
bshaffer opened this issue May 5, 2017 · 0 comments · Fixed by #480
Closed

Add removeBinding to Google\Cloud\Core\Iam\PolicyBuilder #479

bshaffer opened this issue May 5, 2017 · 0 comments · Fixed by #480
Assignees
Labels
api: core 🚨 This issue needs some love. triage me I really want to be triaged.

Comments

@bshaffer
Copy link
Contributor

bshaffer commented May 5, 2017

Something like this would be nice:

use Google\Cloud\Core\Iam\PolicyBuilder;
use Google\Cloud\Storage\StorageClient;

$storage = new StorageClient();
$bucket = $storage->bucket($bucketName);
$iam = $bucket->iam();
$policy = new PolicyBuilder($iam->policy());
$policy->removeBinding($role, [$member]);
@dwsupplee dwsupplee added api: storage Issues related to the Cloud Storage API. api: core and removed api: storage Issues related to the Cloud Storage API. labels May 12, 2017
@yoshi-automation yoshi-automation added 🚨 This issue needs some love. triage me I really want to be triaged. labels Apr 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: core 🚨 This issue needs some love. triage me I really want to be triaged.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants