How to add domain to Google Cloud Storage object ACL at creation?
问题 In my Java based app-engine project, i allow users to upload files to google cloud store (this works), but i can't seem to add a specific domain to the access list, so that only people from within my company can access my files. How do i do this? i tried using: GcsService gcsService = GcsServiceFactory.createGcsService(RetryParams.getDefaultInstance()); GcsFilename gcsFileName = new GcsFilename("my-bucket", user_uploaded_file_name); Builder fileOptionsBuilder = new GcsFileOptions.Builder();