I am providing you the Github sample for Java to upload Objects 
<https://github.com/googleapis/google-cloud-java/blob/master/google-cloud-examples/src/main/java/com/google/cloud/examples/storage/snippets/CreateBlob.java>
 
to Cloud Storage bucket since you were able to go through the first step of 
creating an empty object, but just uploading the Object is what you are 
having issues with. As I can see from the code, you are trying to send 
requests to the Cloud Storage using the XML API and using application 
default credential <https://cloud.google.com/docs/authentication/production>to 
authenticate, I am providing you this documentation 
<https://cloud.google.com/storage/docs/xml-api/java-samples> on how to do 
that. As you are trying to create signed URLs to control access to buckets, 
I would recommend going through this article 
<https://cloud.google.com/storage/docs/access-control/create-signed-urls-program>which
 
explains how to do it.

I understand that you want to figure out what could be missing in your 
code, I think StackOverflow Community will be able to provide a better 
guidance and a probable solution to your inquiries as Google Group is 
intended for Google Cloud general product discussion purposes only. I would 
recommend going to Stack Overflow using the proper Cloud Storage tag 
<https://stackoverflow.com/questions/tagged/google-cloud-storage> regarding 
this issue for further assistance. 

Also, if you think that our documentation does not provide enough guidance 
regarding what you are trying to achieve you can you can report it in Public 
Issue Tracker <https://developers.google.com/issue-tracker/>. Issue Tracker 
is a tool used at Google to track bugs and feature requests during product 
development, even documentations. So this way we would be able to provide 
more information in our documents according to your needs.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/2f562a18-89e4-422b-bfe4-58e2b627bef7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to