Skip to content

yasikmondal/StorageLey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google Cloud Storage (GCS) and the Google Java API Client library

Google Cloud Storage Service features a REST-based API that allows developers to store and access arbitrarily-large objects. These sample Java applications demonstrate how to access the Google Cloud Storage JSON API using the Google Java API Client Libraries. For more information, read the Google Cloud Storage JSON API Overview.

Quickstart

  1. Install the Google Cloud SDK, including the gcloud tool.

  2. Setup the gcloud tool.

    gcloud init
    
  3. Clone this repo.

    git clone https://github.com/GoogleCloudPlatform/java-docs-samples.git
    
  4. Install Maven.

  5. Build this project from this directory:

    mvn package
    
  6. Run one of the sample apps by specifying its class name and a bucket name:

    mvn exec:java -Dexec.mainClass=StorageSample \
            -Dexec.args="ABucketName"
    

Note that if it's been a while, you may need to login with gcloud.

gcloud auth application-default login

Products

Language

Dependencies

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages