Updates an ACL entry on the specified bucket.
Arguments
bucket
string
Required. Name of a bucket.
entity
string
Required. The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, group-emailAddress, allUsers, or allAuthenticatedUsers.
userProject
string
The project to be billed for this request. Required for Requester Pays buckets.
body
object ( BucketAccessControl
)
Required.
Raised exceptions
ConnectionError
HttpError
TimeoutError
TypeError
ValueError
Response
If successful, the response contains an instance of BucketAccessControl
.
Subworkflow snippet
Some fields might be optional or required. To identify required fields, refer to the API documentation .
YAML
- update : call : googleapis.storage.v1.bucketAccessControls.update args : bucket : ... entity : ... userProject : ... body : bucket : ... domain : ... email : ... entity : ... entityId : ... etag : ... id : ... kind : ... projectTeam : projectNumber : ... team : ... role : ... selfLink : ... result : updateResult
JSON
[ { "update" : { "call" : "googleapis.storage.v1.bucketAccessControls.update" , "args" : { "bucket" : "..." , "entity" : "..." , "userProject" : "..." , "body" : { "bucket" : "..." , "domain" : "..." , "email" : "..." , "entity" : "..." , "entityId" : "..." , "etag" : "..." , "id" : "..." , "kind" : "..." , "projectTeam" : { "projectNumber" : "..." , "team" : "..." }, "role" : "..." , "selfLink" : "..." } }, "result" : "updateResult" } } ]

