Description Usage Arguments Value See Also Examples
Returns the ACL entry for the specified entity on the specified bucket
1 2 3 4 5 6 | gcs_get_bucket_acl(
bucket = gcs_get_global_bucket(),
entity = "",
entity_type = c("user", "group", "domain", "project", "allUsers",
"allAuthenticatedUsers")
)
|
bucket |
Name of a bucket, or a bucket object returned by gcs_create_bucket |
entity |
The entity holding the permission. Not needed for entity_type |
entity_type |
what type of entity Used also for when a bucket is updated |
Bucket access control object
Other Access control functions:
gcs_create_bucket_acl()
,
gcs_get_object_acl()
,
gcs_update_object_acl()
1 2 3 4 5 6 7 8 9 10 | ## Not run:
buck_meta <- gcs_get_bucket(projection = "full")
acl <- gcs_get_bucket_acl(entity_type = "project",
entity = gsub("project-","",
buck_meta$acl$entity[[1]]))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.