Create a new access control at the bucket level
gcs_create_bucket_acl(
bucket = gcs_get_global_bucket(),
entity = "",
entity_type = c("user", "group", "domain", "project", "allUsers",
"allAuthenticatedUsers"),
role = c("READER", "OWNER")
)
Name of a bucket, or a bucket object returned by gcs_create_bucket
The entity holding the permission. Not needed for entity_type allUsers
or allAuthenticatedUsers
what type of entity
Access permission for entity
Used also for when a bucket is updated
Bucket access control object
Other Access control functions:
gcs_get_bucket_acl()
,
gcs_get_object_acl()
,
gcs_update_object_acl()