class Google::Cloud::Storage::Bucket::DefaultAcl
def add_reader entity
- Example: Grant access to a group by prepending `"group-"` to email: -
Example: Grant access to a user by prepending `"user-"` to an email: -
Parameters:
-
entity(String) -- The entity holding the permission, in one of
def add_reader entity gapi = @service.insert_default_acl @bucket, entity, "READER", user_project: user_project entity = gapi.entity @readers&.push entity entity end