I'm setting up a Dataflow pipeline, in which one of the action is to get/add the metadata[User-provided metadata] of a GCS file.
In a standalone java app I used below method to get the metadata which is from StorageObject class but not finding something similar method/api in Apache Beam library. Any pointers will be really helpful.
//Below code is from StorageObject.java
com.google.api.services.storage.model.StorageObject
//.....
public java.util.Map<String, java.lang.String> getMetadata() {
return metadata;
}