Description
I would like to specify a generation when accessing a gcs object via the beam filesystem.
Via the cli with the gsutil command a specific version can be access by the following syntax.
gsutil cp gs://{bucket}/{object_path}#{generation} .
So the corresponding python code would look something like this
with apache_beam.io.filesystems.open("gs://{bucket}/{object_path}#{generation}") as f: pass
Fortunately, the StorageObjectsGetRequest can already be passed a generation.
However, this is not done within the GcsDownloader.
I think when parsing the GCS path the generation should be extracted as well.