Issue 891 in google-api-java-client: Sample upload of a photo into a public access Cloud bucket

0 views
Skip to first unread message

google-api-...@googlecode.com

unread,
Jul 9, 2014, 2:40:52 PM7/9/14
to google-api-jav...@googlegroups.com
Status: New
Owner: wonder...@google.com
Labels: Type-Sample Priority-Medium

New issue 891 by DustyRe...@gmail.com: Sample upload of a photo into a
public access Cloud bucket
http://code.google.com/p/google-api-java-client/issues/detail?id=891

Which Google API and version (e.g. Google Calendar API version 3)?
Cloud Storage API v1 (revision 3)

Java environment (e.g. Java 6, Android 2.3, App Engine)?
Android

External references, such as API reference guide?
https://developers.google.com/resources/api-libraries/documentation/storage/v1/java/latest/overview-summary.html

Please provide any additional information below.
Sample upload of a photo into a public access bucket without requiring user
credential but uses app credential instead.

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

google-api-...@googlecode.com

unread,
Dec 30, 2014, 10:56:40 AM12/30/14
to google-api-jav...@googlegroups.com
Updates:
Status: Done

Comment #1 on issue 891 by wonder...@google.com: Sample upload of a photo
into a public access Cloud bucket
https://code.google.com/p/google-api-java-client/issues/detail?id=891

Unfortunately we have stopped adding API specific samples on this site. All
sample requests should be posted on the API specific support site.

However, in your case, you are looking for the Service Account auth flow,
which uses an app's credential instead of a user's. We do have a sample of
using Service Account with the Cloud Storage API [1], which should get you
started easily.

[1]
https://github.com/GoogleCloudPlatform/cloud-storage-docs-xml-api-examples/blob/master/storage-serviceaccount-cmdline-sample/src/main/java/StorageServiceAccountSample.java
Reply all
Reply to author
Forward
0 new messages