Set a bucket name used for this R session

gcs_global_bucket(bucket)

Arguments

bucket

bucket name you want this session to use by default, or a bucket object

Value

The bucket name (invisibly)

Details

This sets a bucket to a global environment value so you don't need to supply the bucket argument to other API calls.

See also

Other bucket functions: gcs_create_bucket, gcs_create_lifecycle, gcs_delete_bucket, gcs_get_bucket, gcs_get_global_bucket, gcs_list_buckets