I'm trying to upload a file to the Google bucket for a FireCloud project using the Java API (https://cloud.google.com/storage/docs/reference/libraries and click on "Java"). I'm open to using other Java APIs but it would be preferable for various reasons to do this in Java (thus ruling out gsutil, for example). With gsutil, all I need is the name of the bucket, which I have, so that works fine. However, to upload files to the Google bucket using the Java API, I need at least the name of the Google Cloud Project containing the bucket and possibly access to the project. So I have a few questions. First of all, is it safe to assume that the bucket does in fact belong to a Google Cloud Project? Second of all, is that project something that is managed by FireCloud or should the person who created the FireCloud project have access to the Google Cloud Project that contains the bucket in question? Alternately, is there a way to upload files to the Google bucket from the Java code that wouldn't require access to the Google Cloud project?
↧