Skip to content

Commit

Permalink
Adding newlines in comment section to improve readability
Browse files Browse the repository at this point in the history
  • Loading branch information
sydney-munro committed Mar 30, 2022
1 parent ab6979b commit ddbc554
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
Expand Up @@ -38,16 +38,22 @@ public static void createBucketPubSubNotification(String bucketName,
String etag) {
// The ID to give your GCS bucket
// String bucketName = "your-unique-bucket-name";

// The name of the topic you would like to create a notification for
// String topicName = "projects/{your-project}/topics/{your-topic}";

// Any custom attributes
// Map<String, String> customAttributes = Map.of("label", "value");

// The object name prefix for which this notification configuration applies
// String objectNamePrefix = "blob-";

// Desired content of the Payload
// PayloadFormat payloadFormat = PayloadFormat.JSON_API_V1.JSON_API_V1;

// The canonical URI of this topic as a string
// String selfLink = "//pubsub.googleapis.com/projects/{project-identifier}/topics/{my-topic}";

// HTTP 1.1 Entity tag for this subscription notification
// String etag = "etag-value";

Expand Down
Expand Up @@ -27,7 +27,8 @@ public class DeleteBucketPubSubNotification {
public static void deleteBucketPubSubNotification(String bucketName, String notificationId) {
// The ID to give your GCS bucket
// String bucketName = "your-unique-bucket-name";
// The NotificationId for the notification you would like to delete\

// The NotificationId for the notification you would like to delete
// String notificationId = "your-unique-notification-id"

Storage storage = StorageOptions.newBuilder().build().getService();
Expand Down
Expand Up @@ -29,6 +29,7 @@ public class PrintPubSubNotification {
public static void printPubSubNotification(String bucketName, String notificationId) {
// The ID to give your GCS bucket
// String bucketName = "your-unique-bucket-name";

// The Pub/Sub topic you would like to find
// String notificationId = "your-unique-notification-id"

Expand Down

0 comments on commit ddbc554

Please sign in to comment.