Description Usage Arguments Details Value See Also Examples
List the buckets your projectId has access to
1 2 3 4 5 6 7 | gcs_list_buckets(
projectId,
prefix = "",
projection = c("noAcl", "full"),
maxResults = 1000,
detail = c("summary", "full")
)
|
projectId |
Project containing buckets to list |
prefix |
Filter results to names beginning with this prefix |
projection |
Properties to return. Default noAcl omits acl properties |
maxResults |
Max number of results |
detail |
Set level of detail |
Columns returned by detail
are:
summary
- name, storageClass, location ,updated
full
- as above plus: id, selfLink, projectNumber, timeCreated, metageneration, etag
data.frame
of buckets
Other bucket functions:
gcs_create_bucket()
,
gcs_create_lifecycle()
,
gcs_delete_bucket()
,
gcs_get_bucket()
,
gcs_get_global_bucket()
,
gcs_global_bucket()
1 2 3 4 5 6 7 8 9 | ## 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.