From 9275acbfa609fc8790a7657a977c46276d85dac2 Mon Sep 17 00:00:00 2001 From: Neo Wu Date: Thu, 2 Feb 2017 14:15:53 -0800 Subject: [PATCH] fix a typo in README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4d41a61e0203..9c116622e25f 100644 --- a/README.md +++ b/README.md @@ -372,7 +372,7 @@ import com.google.cloud.storage.StorageOptions; Storage storage = StorageOptions.getDefaultInstance().getService(); BlobId blobId = BlobId.of("bucket", "blob_name"); -BlobInfo blobInfo = BlobInfo.newBuiler(blobId).setContentType("text/plain").build(); +BlobInfo blobInfo = BlobInfo.newBuilder(blobId).setContentType("text/plain").build(); Blob blob = storage.create(blobInfo, "Hello, Cloud Storage!".getBytes(UTF_8)); ``` The second snippet shows how to update a Storage blob if it exists. Complete source code can be