Documentation
¶
Overview ¶
Package gcs contains a Google Cloud Storage (GCS) implementation of the Beam file system.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(ctx context.Context) filesystem.Interface
New creates a new Google Cloud Storage filesystem using application default credentials. If it fails, it falls back to unauthenticated access. It will use the environment variable named `BILLING_PROJECT_ID` as requester payer bucket attribute.
func RequesterBillingProject ¶ added in v2.66.0
RequesterBillingProject configure project to be used in google storage operations with requester pays actived. More informaiton about requester pays in https://cloud.google.com/storage/docs/requester-pays
func SetRequesterBillingProject ¶ added in v2.66.0
func SetRequesterBillingProject(project string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.