Skip to contents

Makes a request to a user specified Google Cloud Storage bucket to list all objects in the bucket. Filters the response to return a list of GeoPackages (if any). This function uses the httr package for making authenticated HTTP requests and processing responses.

Usage

list_gcs_bucket_objects(token, bucket)

Arguments

token

a httr OAuth2.0 token which allows a user to make authenticated HTTP requests to the Google Cloud Storage API.

bucket

name of Google Cloud Storage bucket to list objects in.

Value

items - a character vector of the names of GeoPacakges in the Google Cloud Storage bucket.