Code sample to push data from solace to GCS bucket on GCP. Also does it support Outh 2.0 for authentication
You can see the wordcount done on the collection, then results for an entire window pushed to a single file. I suspect you want to do something similar where you process a windows worth of data, in this case default is 10 seconds, and push to file. To push to GCS specify the GCP URI as the file path.