Hello Engineers, In the above code I am trying to set custom metadata in the file from java code. File is uploading in the bucket successfully but metadata is missing in GCP bucket. I am using Spring cloud GCP version 4.7.1 in my springboot project. Please assist me.
Hello @pratyush_srivas!
Welcome to the Google Cloud Community!
You should look into setting an object's metadata and versioning in Cloud Storage. The documentation only contains code samples from the following languages:
Looking further into Spring Cloud GCP with Cloud Storage, It only contains a Google Cloud Storage Starter Example.
If the above options don't work, you can contact Google Cloud Support to further look into your case. Let me know if it helped, thanks!
Hi @Marramirez I have tried all the possible ways through coding but it didn't work. I am not sure why is it not working.