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

gcs_get_bucket

Get bucket info


Description

Meta data about the bucket

Usage

gcs_get_bucket(
  bucket = gcs_get_global_bucket(),
  ifMetagenerationMatch = NULL,
  ifMetagenerationNotMatch = NULL,
  projection = c("noAcl", "full")
)

Arguments

bucket

Name of a bucket, or a bucket object returned by gcs_create_bucket

ifMetagenerationMatch

Return only if metageneration matches

ifMetagenerationNotMatch

Return only if metageneration does not match

projection

Properties to return. Default noAcl omits acl properties

Value

A bucket resource object

See Also

Examples

## 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]])


## End(Not run)

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.