Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gcs_create_bucket_acl

Create a Bucket Access Controls


Description

Create a new access control at the bucket level

Usage

gcs_create_bucket_acl(
  bucket = gcs_get_global_bucket(),
  entity = "",
  entity_type = c("user", "group", "domain", "project", "allUsers",
    "allAuthenticatedUsers"),
  role = c("READER", "OWNER")
)

Arguments

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 allUsers or allAuthenticatedUsers

entity_type

what type of entity

role

Access permission for entity

Used also for when a bucket is updated

Value

Bucket access control object

See Also

Other Access control functions: gcs_get_bucket_acl(), gcs_get_object_acl(), gcs_update_object_acl()


googleCloudStorageR

Interface with Google Cloud Storage API

v0.6.0
MIT + file LICENSE
Authors
Mark Edmondson [aut, cre] (<https://orcid.org/0000-0002-8434-3881>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.