The following table summarizes examples of using the Google APIs Client libraries that are contained in this section. Each example page provides information about how to set up your environment, what OAuth 2.0 credential type to use, and how to run the sample.
Google APIs Client library | OAuth 2.0 credential | API actions demonstrated |
---|---|---|
Java Example | Installed Application | List contents of a specified bucket. |
JavaScript Example | Web Application | Create, list, and delete a bucket and object; view and change bucket and object ACLs. |
Go Example | Installed Application | Create, list, and delete a bucket; view bucket and object ACLs. |
PHP Example | Web Application | Lists buckets for a specified project, list objects in a specified bucket, and list ACLs for specified bucket and object |
Python Example | Installed Application | List contents of a specified bucket. |
These examples demonstrate how to use OAuth 2.0 credentials for a web server application and installed application scenarios. For more information, see Using OAuth 2.0 to Access Google APIs .