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

GCSConnection documentation built on Nov. 8, 2020, 5:30 p.m.