Meta data about the bucket
gcs_get_bucket(bucket = gcs_get_global_bucket(), ifMetagenerationMatch = NULL, ifMetagenerationNotMatch = NULL, projection = c("noAcl", "full"))
Name of a bucket, or a bucket object returned by gcs_create_bucket
Return only if metageneration matches
Return only if metageneration does not match
Properties to return. Default noAcl omits acl properties
A bucket resource object
Other bucket functions: gcs_create_bucket, gcs_create_lifecycle, gcs_delete_bucket, gcs_get_global_bucket, gcs_global_bucket, gcs_list_buckets
gcs_create_bucket
gcs_create_lifecycle
gcs_delete_bucket
gcs_get_global_bucket
gcs_global_bucket
gcs_list_buckets
# NOT RUN { # } # NOT RUN { buckets <- gcs_list_buckets("your-project") ## use the name of the bucket to get more meta data bucket_meta <- gcs_get_bucket(buckets$name[[1]]) # } # NOT RUN { # }
Run the code above in your browser using DataLab