setCloudEnv: Setup Google Cloud Account and Project

View source: R/setCloudEnv.R

setCloudEnvR Documentation

Setup Google Cloud Account and Project

Description

Setup Google Cloud Account and Project

Usage

setCloudEnv(
  accountEmail = gcloud_account(),
  billingProjectName = gcloud_project(),
  message = TRUE
)

Arguments

accountEmail

Character(1). Email linked to your Terra account.

billingProjectName

Character(1). Name of the billing project, which is the gcloud account.

message

Under the default (TRUE), this function will print out Google Cloud Account and Billing Project set in the working environment

Value

Terra/AnVIL working environment - Google Cloud billing account and the billing project name - will be printed out.

Examples

if (gcloud_exists()) {
setCloudEnv()
}


shbrief/RunTerraWorkflow documentation built on Oct. 31, 2024, 1:22 p.m.