Returns the default object ACL entry for the specified entity on the specified bucket.

gcs_get_object_acl(
  object_name,
  bucket = gcs_get_global_bucket(),
  entity = "",
  entity_type = c("user", "group", "domain", "project", "allUsers",
    "allAuthenticatedUsers"),
  generation = NULL
)

Arguments

object_name

Name of the object

bucket

Name of a bucket

entity

The entity holding the permission. Not needed for entity_type allUsers or allAuthenticatedUsers

entity_type

The type of entity

generation

If present, selects a spcfic revision of the object

See also

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

Examples