File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -57,5 +57,5 @@ refs/tags/v0.18.0: 9d193c4c4b9d1c6f21515dd8e50836b9194ec9bb
5757refs/tags/v0.19.0: e67b56e4d8dad5f9a7b38c9b2107c23c828f2ed5
5858refs/tags/v0.20.0: 839f7fb7156535146aa1cb2c5aadd8d375d854e8
5959refs/tags/v0.20.1: 370471f437f1f4f68a11e068df5cd6bf39edb1fa
60- refs/heads/tswast-patch-1: fa0720c65576ed68419772b04b463176bc8061d7
60+ refs/heads/tswast-patch-1: 9275acbfa609fc8790a7657a977c46276d85dac2
6161refs/heads/pubsub-streaming-pull: 19262b752ee874eb2ca3b950eb2aef44d5a5267b
Original file line number Diff line number Diff line change @@ -372,7 +372,7 @@ import com.google.cloud.storage.StorageOptions;
372372
373373Storage storage = StorageOptions.getDefaultInstance().getService ();
374374BlobId blobId = BlobId.of(" bucket" , " blob_name" );
375- BlobInfo blobInfo = BlobInfo.newBuiler (blobId).setContentType("text/plain").build ();
375+ BlobInfo blobInfo = BlobInfo.newBuilder (blobId).setContentType("text/plain").build ();
376376Blob blob = storage.create(blobInfo, " Hello, Cloud Storage!" .getBytes(UTF_8));
377377` ` `
378378The second snippet shows how to update a Storage blob if it exists. Complete source code can be
You can’t perform that action at this time.
0 commit comments