There are currently no plans for a GcsIO or extensions to the FileSystems APIs to expose file system specific metadata.
Your best short term bet is to invoke the GCS API directly. On Mon, Sep 10, 2018 at 10:03 AM Eric Beach <[email protected]> wrote: > tl;dr - Use case is reading metadata such as ACLs, owner, etc. about GCS > objects > > Hi, > > I am attempting to write a Dataflow job that reads a bunch of GCS objects > and inspects their metadata (especially the ACLs). > > I have attempted to get information from MatchResult.Metadata > <https://beam.apache.org/documentation/sdks/javadoc/2.6.0/org/apache/beam/sdk/io/fs/MatchResult.Metadata.html> > and ResourceId > <https://beam.apache.org/documentation/sdks/javadoc/2.6.0/org/apache/beam/sdk/io/fs/ResourceId.html>, > but thus far I have not been able to actually get the GCS ACL. It seems > that it is not possible at this time. > > Assuming there is no clean way to accomplish what I am trying to do in > Beam, are there any plans for a GcsIO that would do this? > > Eric >
