Skip to content

Commit 4d6f28c

Browse files
committed
---
yaml --- r: 225 b: refs/heads/master c: 12cc696 h: refs/heads/master i: 223: cbd2677 v: v3
1 parent 9235a23 commit 4d6f28c

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 34b6ee9d7d8c603ff190feba31a299f412c6fd37
2+
refs/heads/master: 12cc69645c09d9d68aa765fe136c57f5c914f125

trunk/src/main/java/com/google/gcloud/storage/package-info.java

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,15 @@
1717
/**
1818
* A client to Google Cloud Storage.
1919
*
20-
* @see <a href="https://cloud.google.com/storage/">Google Cloud Storageg</a>
20+
* <p>A simple usage example:
21+
* <pre>{@code
22+
* StorageServiceOptions options = StorageServiceOptions.builder().projectId("project").build();
23+
* StorageService storage = StorageServiceFactory.instance().get(options);
24+
* byte[] content = readContent();
25+
* Blob blob = storage.create(Blob.of("bucket", "blob_name"), content);
26+
* } </pre>
27+
*
28+
* @see <a href="https://cloud.google.com/storage/">Google Cloud Storage</a>
2129
*/
2230
package com.google.gcloud.storage;
2331

0 commit comments

Comments
 (0)