Skip to main content

notifications

Overview

Namenotifications
TypeResource
Idgoogle.storage.notifications

Fields

NameDatatypeDescription
idstringThe ID of the notification.
custom_attributesobjectAn optional list of additional attributes to attach to each Cloud PubSub message published for this notification subscription.
etagstringHTTP 1.1 Entity tag for this subscription notification.
event_typesarrayIf present, only send notifications about listed event types. If empty, sent notifications for all event types.
kindstringThe kind of item this is. For notifications, this is always storage#notification.
object_name_prefixstringIf present, only apply this notification configuration to object names that begin with this prefix.
payload_formatstringThe desired content of the Payload.
selfLinkstringThe canonical URL of this notification.
topicstringThe Cloud PubSub topic to which this subscription publishes. Formatted as: '//pubsub.googleapis.com/projects/{project-identifier}/topics/{my-topic}'

Methods

NameAccessible byRequired ParamsDescription
getSELECTbucket, notificationView a notification configuration.
listSELECTbucketRetrieves a list of notification subscriptions for a given bucket.
insertINSERTbucketCreates a notification subscription for a given bucket.
deleteDELETEbucket, notificationPermanently deletes a notification subscription.