Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There doesn't seem to be a way to retrieve custom meta data #185

Open
drwilkins opened this issue Aug 31, 2023 · 0 comments
Open

There doesn't seem to be a way to retrieve custom meta data #185

drwilkins opened this issue Aug 31, 2023 · 0 comments

Comments

@drwilkins
Copy link

When I set up a custom meta entry, it would be great if this were returned with gcs_list_objects().

For example,

meta_cust<-googleCloudStorageR::gcs_metadata_object(object_name="gorgeous_landscape.png" ,metadata = list("author"="Ansel Adams"))

googleCloudStorageR::gcs_upload( file= "gorgeous_landscape.png", bucket="gp-cloud", object_metadata=meta_cust)

x <- googleCloudStorageR::gcs_get_object("gorgeous_landscape.png",meta=T, bucket="gp-cloud")
x
# Meta data nowhere to be seen

image

#The most useful enhancement would be to include meta data in the gcs_list_objects() call (e.g. as a nested element in a tibble)

googleCloudStorageR::gcs_list_objects(bucket="gp-cloud",detail = "full",prefix="gorgeous")

image

Thanks for listening! (And for making Google Cloud Storage accessible for those of us who only know R :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant