Skip to content

Commit

Permalink
some doc
Browse files Browse the repository at this point in the history
  • Loading branch information
aozarov committed May 9, 2015
1 parent c87bd8d commit 92c6df8
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/main/java/com/google/gcloud/storage/package-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,15 @@
/**
* A client to Google Cloud Storage.
*
* @see <a href="https://cloud.google.com/storage/">Google Cloud Storageg</a>
* <p>A simple usage example:
* <pre>{@code
* StorageServiceOptions options = StorageServiceOptions.builder().projectId("project").build();
* StorageService storage = StorageServiceFactory.instance().get(options);
* byte[] content = readContent();
* Blob blob = storage.create(Blob.of("bucket", "blob_name"), content);
* } </pre>
*
* @see <a href="https://cloud.google.com/storage/">Google Cloud Storage</a>
*/
package com.google.gcloud.storage;

0 comments on commit 92c6df8

Please sign in to comment.