[Announcement] latest updates

351 views
Skip to first unread message

Navneet (Google)

unread,
Jun 30, 2012, 1:48:58 PM6/30/12
to gs-dis...@googlegroups.com
All,

We're very happy to announce two much-requested updates and the Limited Preview of our brand new JSON API.

Effective immediately, we're offering the ability to configure a bucket as a website. This feature currently works only with CNAME'd buckets. Please see here for details: https://developers.google.com/storage/docs/website-configuration

We're also increasing the frequency of access log delivery to deliver hourly updates. Please see the updated documentation here: https://developers.google.com/storage/docs/accesslogs

Finally, we're now offering a Discovery-based JSON API in Limited Preview. If you're interested in trying the latest and greatest (with client libraries in various languages!) and are comfortable working with an early-access API that has a few warts and may evolve quickly, you can request access for the "Cloud Storage API" in the Developer Console (https://developers.google.com/console). Read more about the API here: https://developers.google.com/storage/docs/json_api/v1/.

We talked about all these features at our Google I/O session. For those who missed it, we will be posting a follow-up with a link to the recording in a few days.

Thanks for using Google Cloud Storage! We hope you'll find these new features useful.

- Navneet for the Google Cloud Storage Team

Nathan Herring (Google Cloud Storage Team)

unread,
Jul 11, 2012, 7:53:12 PM7/11/12
to gs-dis...@googlegroups.com
On Mon, Jul 9, 2012 at 5:41 AM, meenu <actit...@gmail.com> wrote:
Hi Navneet,
                 We need complete Google storage flow. In https://developers.google.com im not able to follow "gsutil usage and integration with our appengine". I have created bucket and added ma static resources, given public access but im struck here to integrate with ma project which is in eclipse. I think it may be silly, but Im fed up of searching the complete exact flow and purpose to get right view. So help me...

Femina @ meenu

Hi, Femina,

I'm not entirely sure what you mean by "flow" here. It sounds like you have a bucket and you've put static resources as objects in the bucket. Are you wanting to use those static resources in an Eclipse code project? Are you trying to program an AppEngine application that will then read those static resources? Or are you trying to have AppEngine web pages that refer to said resources so the browser renders them directly out of Google Cloud Storage rather than having them be read from AppEngine? Or something else? If you could elucidate, we'd be glad to assist.

Cheers,
nh

Mihai

unread,
Aug 23, 2012, 1:54:15 AM8/23/12
to gs-dis...@googlegroups.com
@json API v1 : would be great if we could order the list of objects by date / modified time . Where can we suggest new features ?

Google Cloud Storage Team

unread,
Sep 16, 2012, 12:40:32 AM9/16/12
to gs-dis...@googlegroups.com
Hi Jeremy,

One possible problem is that your objects may not have Content-Type "text/html" which would explicitly tell the browser to interpret their contents as HTML documents. You can examine the content-type setting on those objects using this command:

gsutil ls -L gs://<bucket>/<object>

If you confirm that hypothesis, you can update the content type setting for those objects with this command:

gsutil setmeta -h "Content-Type: text/html" gs://<bucket>/<object>

The syntax above is new so I'd suggest updating your copy of gsutil to the latest version (3.17) before trying the setmeta command. You can check your current version with the command gsutil version and you can update to the latest version with the command gsutil update.

I'm a little concerned about those funny characters in the screenshot you shared, which makes me also wonder if there's some sort of text encoding problem in your objects, but let's check the content-type issue first.

Hope that helps,

Marc
-- 
Marc Cohen
Google Cloud Storage Team


On Sat, Sep 15, 2012 at 11:19 AM, J <ad...@qesneacg.org> wrote:
Hi,

on website-configuration :

I am trying to use it as a place to host website and upload a few html file to a bucket (as in pic1), while some of the file can be correctly display as a webpage, others just display in plain text (as in pic2) and cannot decode the html to render the webpage.

I am using Google Chrome 21.0.1180.89 m to browse the link and encountered the problem, but when I switch to Firefox 12.0 those files are ok...

Is there a problem with my settings ? Please kindly advise what I should do ... thanks !

Jeremy

--
 

J

unread,
Sep 17, 2012, 2:02:17 AM9/17/12
to gs-dis...@googlegroups.com, gs-...@google.com
Thanks for your quick reply !
I will check it !

J

unread,
Sep 17, 2012, 2:46:33 AM9/17/12
to gs-dis...@googlegroups.com, gs-...@google.com
Hi  Marc,

I edit those "chinese character" files, save in gedit with utf-8 encoding, delete and upload all of them to the bucket again, apply gsutil settings as you suggest, clear the cache in my browser.... and it works !

Thank you so much !!

Jeremy

Spent123

unread,
Nov 17, 2012, 3:31:44 PM11/17/12
to gs-dis...@googlegroups.com
Hi,
 Regarding the website hosting, I've notice that when setting the 'www' CNAME (because you can't set '@') that some users visiting the site without the 'www' (example.com) will not get directed to the 'www' (www.example.com) subdomain. Is there some way to resolve this issue ?

At first I tried setting the A record to one of the IPs the the 'c.commondatastorage.googleapis.com' domain resolves and although that does work, wouldn't it mean having to set up two buckets & index/404 pages, with both @ and www, or would the same problem occur but the other way around ?

Thanks.

Spent123

unread,
Nov 17, 2012, 5:02:58 PM11/17/12
to gs-dis...@googlegroups.com
It seems that the latter is still an issue and GCS wants to load from bucket 'www.example.com' and not bucket 'example.com'.
 
Maybe if there was a way to merge two buckets or set the http;//www.example.com domain to collect from the 'example.com' bucket. I less desirable fix could be to redirect http://www.example.com to http://example.com with javascript on a dummy index.html page in the 'www.example.com' bucket.
Capture.PNG
Reply all
Reply to author
Forward
0 new messages