We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa9920d commit 09b7842Copy full SHA for 09b7842
samples/snippets/src/main/java/com/example/storage/bucket/CreateBucketPubSubNotification.java
@@ -58,7 +58,8 @@ public static void createBucketPubSubNotification(
58
.setPayloadFormat(payloadFormat)
59
.build();
60
Notification notification = storage.createNotification(bucketName, notificationInfo);
61
- System.out.println("Successfully created notification for topic " + notification.getTopic());
+ String topic = notification.getTopic();
62
+ System.out.println("Successfully created notification for topic " + topic);
63
}
64
65
// [END storage_create_bucket_notifications]
0 commit comments