File tree
Expand file treeCollapse file tree1 file changed
+2
-1
lines changed samples/snippets/src/main/java/com/example/storage/bucket
Expand file treeCollapse file tree1 file changed
+2
-1
lines changed Original file line number | Diff line number | Diff line change |
---|
@@ -58,7 +58,8 @@ public static void createBucketPubSubNotification(
|
58 | 58 | .setPayloadFormat(payloadFormat)
|
59 | 59 | .build();
|
60 | 60 | Notification notification = storage.createNotification(bucketName, notificationInfo);
|
61 |
| -System.out.println("Successfully created notification for topic " + notification.getTopic()); |
| 61 | +String topic = notification.getTopic(); |
| 62 | +System.out.println("Successfully created notification for topic " + topic); |
62 | 63 | }
|
63 | 64 | }
|
64 | 65 | // [END storage_create_bucket_notifications]
|
You can’t perform that action at this time.
0 commit comments