A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://r-spatial.github.io/rgee/reference/ee_utils_sak_validate.html below:

Validate a Service account key (SaK) — ee_utils_sak_validate • rgee

Validate a Service account key (SaK). local_to_gcs, raster_as_ee, stars_as_ee, and sf_as_ee(via = "gcs_to_asset", ...) need that the SaK have privileges to write/read objects in a GCS bucket.

ee_utils_sak_validate(sakfile, bucket, quiet = FALSE)
Arguments
sakfile

Character. SaK filename.

bucket

Character. Name of the GCS bucket. If bucket is not set, rgee will tries to create a bucket using googleCloudStorageR::gcs_create_bucket.

quiet

Logical. Suppress info message

Examples
if (FALSE) { # \dontrun{
library(rgee)

ee_Initialize(gcs = TRUE)

# Check a specific SaK
sakfile <- "/home/rgee_dev/sak_file.json"
ee_utils_sak_validate(sakfile, bucket = "rgee_dev")

# Check the SaK for the current user
ee_utils_sak_validate()
} # }

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4