Create a new bucket in your project
gcs_create_bucket(
name,
projectId,
location = "US",
storageClass = c("MULTI_REGIONAL", "REGIONAL", "STANDARD", "NEARLINE", "COLDLINE",
"DURABLE_REDUCED_AVAILABILITY"),
predefinedAcl = c("projectPrivate", "authenticatedRead", "private", "publicRead",
"publicReadWrite"),
predefinedDefaultObjectAcl = c("bucketOwnerFullControl", "bucketOwnerRead",
"authenticatedRead", "private", "projectPrivate", "publicRead"),
projection = c("noAcl", "full"),
versioning = FALSE,
lifecycle = NULL
)
Globally unique name of bucket to create
A valid Google project id
Location of bucket. See details
Type of bucket
Apply predefined access controls to bucket
Apply predefined access controls to objects
Properties to return. Default noAcl omits acl properties
Set if the bucket supports versioning of its objects
A list of gcs_create_lifecycle objects
Other bucket functions:
gcs_create_lifecycle()
,
gcs_delete_bucket()
,
gcs_get_bucket()
,
gcs_get_global_bucket()
,
gcs_global_bucket()
,
gcs_list_buckets()