requester_pays: Requester Pays

Description Usage Arguments Value Examples

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

1
2
3
4
5
6
7
8
9

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

1
2

Jiefei-Wang/GCSConnection documentation built on Sept. 12, 2020, 7:22 a.m.