gcs_set_billing_project {GCSConnection}R Documentation

Requester Pays

Description

These functions allow you to set billing project, change the default billing target and check if a bucket has Requester Pays enabled. See the details section in '?authentication' for more information.

Usage

gcs_set_billing_project(billing_project = NULL, gcloud = FALSE)

gcs_get_billing_project()

gcs_get_requester_pays()

gcs_set_requester_pays(x)

gcs_is_requester_pays(bucket)

Arguments

billing_project

The project's ID which the bill will be sent to.

gcloud

logical(1), whether to use the default billing project in gcloud. If 'gcloud = TRUE', 'billing_project' must be NULL.

x

logical(1), whether the user should pay for the cost by default.

bucket

character(1), the bucket name or uri

Value

gcs_get_billing_project: character(1) or NULL gcs_get_requester_pays: logical(1)

Examples

gcs_get_billing_project()
gcs_get_requester_pays()

[Package GCSConnection version 1.4.0 Index]