Google Cloud Storage

Libraries

This page provides links to convenient ways to access the Google Cloud Storage JSON API.

Google Cloud Storage JSON API samples

Select the language you're using for development. If a library's samples page does not yet include a sample for this API, you can still use that library; you may be able to adapt another API's samples as needed.

.NET

There are no .NET samples specifically for this version of the Google Cloud Storage JSON API.

However, you may be able to adapt one of the .NET samples for other APIs.

Go

There are no Go samples specifically for this version of the Google Cloud Storage JSON API.

However, you may be able to adapt one of the Go samples for other APIs.

GWT

There are no Google Web Toolkit samples specifically for this version of the Google Cloud Storage JSON API.

However, you may be able to adapt one of the GWT samples for other APIs.

Java

Name Type Description
storage-cmdline-sample Command line A command-line example of calling Google Cloud Storage JSON API methods in Java.

You may also be able to adapt one of the Java samples for other APIs.

JavaScript

Name Type Description
storage-getting-started-javascript Web app A website example of calling Google Cloud Storage JSON API methods in JavaScript.
storage-metadata-javascript Web app A website based on JavaScript/HTML that displays a bucket; can even be hosted in a Google Cloud Storage-based website.

You may also be able to adapt one of the JavaScript samples for other APIs. NOTE: The JavaScript API client currently does not have built-in upload/download methods.

Objective-C

There are no Objective-C samples specifically for this version of the Google Cloud Storage JSON API.

However, you may be able to adapt one of the Objective-C samples for other APIs.

PHP

Name Type Description
storage-getting-started-php Command line A command-line example of calling Google Cloud Storage JSON API methods in PHP.

You may also be able to adapt one of the PHP samples for other APIs.

Python

Name Type Description
storage-appengine-bucket-lister-python App Engine A sample application showing use of Google Cloud Storage JSON API in the App Engine environment.
storage-acl-setter-python Command line A command line script to apply a bucket's default object access controls to all the bucket's objects.
file-transfer-json Command line or App Engine A basic application that fetches data and displays it.

You may also be able to adapt one of the Python samples for other APIs.

Ruby

Name Type Description
storage-getting-started-ruby Command line A command-line example of calling Google Cloud Storage JSON API methods in Ruby.

You may also be able to adapt one of the Ruby samples for other APIs.

Google Cloud Storage JSON API client libraries

The Google Cloud Storage JSON API is built on HTTP and JSON, so any standard HTTP client can send requests to it and parse the responses.

However, instead of creating HTTP requests and parsing responses manually, you may want to use the Google APIs client libraries. The client libraries provide better language integration, improved security, and support for making calls that require user authorization.

Other ways to access the Google Cloud Storage JSON API

The table below lists some other convenient ways to access the Google Cloud Storage JSON API.

Access method Description
APIs Explorer An interactive tool that lets you easily try out Google APIs right from your browser.
Google Plugin for Eclipse A plugin that makes it easier to use Google APIs in Eclipse.

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.