lib/google/cloud/storage/notification.rb in google-cloud-storage-1.5.0 vs lib/google/cloud/storage/notification.rb in google-cloud-storage-1.6.0
- old
+ new
@@ -22,14 +22,17 @@
# # Notification
#
# Represents a Pub/Sub notification subscription for a Cloud Storage
# bucket.
#
+ # See {Bucket#create_notification}, {Bucket#notifications}, and
+ # {Bucket#notification}.
+ #
# @see https://cloud.google.com/storage/docs/pubsub-notifications Cloud
# Pub/Sub Notifications for Google Cloud
#
- # @attr [String] bucket The name of the {Bucket} to which this
+ # @attr_reader [String] bucket The name of the {Bucket} to which this
# notification belongs.
#
# @example
# require "google/cloud/pubsub"
# require "google/cloud/storage"
@@ -97,11 +100,11 @@
def custom_attrs
@gapi.custom_attributes
end
##
- # The event types of this notification. If present, only send
- # notifications about listed event types. If empty, sent notifications
+ # The event types of this notification. If present, messages will only
+ # be sent for the listed event types. If empty, messages will be sent
# for all event types.
#
# The following is a list of event types currently supported by Cloud
# Storage:
#