List
|
|||||
|
|
Retrieves a list of notification subscriptions for a given bucket
Authorization
To use this building block you will have to grant access to at least one of the following scopes:
- View and manage your data across Google Cloud Platform services
- View your data across Google Cloud Platform services
- Manage your data and permissions in Google Cloud Storage
- View your data in Google Cloud Storage
- Manage your data in Google Cloud Storage
Input
This building block consumes 3 input parameters
Name | Format | Description |
---|---|---|
bucket Required |
STRING |
Name of a Google Cloud Storage bucket |
provisionalUserProject |
STRING |
The project to be billed for this request if the target bucket is requester-pays bucket |
userProject |
STRING |
The project to be billed for this request. Required for Requester Pays buckets |
= Parameter name
= Format
bucket STRING Required Name of a Google Cloud Storage bucket |
provisionalUserProject STRING The project to be billed for this request if the target bucket is requester-pays bucket |
userProject STRING The project to be billed for this request. Required for Requester Pays buckets |
Output
This building block provides 12 output parameters
Name | Format | Description |
---|---|---|
items[] |
OBJECT |
A subscription to receive Google PubSub notifications |
items[].custom_attributes |
OBJECT |
An optional list of additional attributes to attach to each Cloud PubSub message published for this notification subscription |
items[].custom_attributes.customKey.value |
STRING |
An optional list of additional attributes to attach to each Cloud PubSub message published for this notification subscription |
items[].etag |
STRING |
HTTP 1.1 Entity tag for this subscription notification |
items[].event_types[] |
STRING |
|
items[].id |
STRING |
The ID of the notification |
items[].kind |
STRING |
The kind of item this is. For notifications, this is always storage#notification |
items[].object_name_prefix |
STRING |
If present, only apply this notification configuration to object names that begin with this prefix |
items[].payload_format |
STRING |
The desired content of the Payload |
items[].selfLink |
STRING |
The canonical URL of this notification |
items[].topic |
STRING |
The Cloud PubSub topic to which this subscription publishes. Formatted as: '//pubsub.googleapis.com/projects/{project-identifier}/topics/{my-topic}' |
kind |
STRING |
The kind of item this is. For lists of notifications, this is always storage#notifications |
= Parameter name
= Format
items[] OBJECT A subscription to receive Google PubSub notifications |
items[].custom_attributes OBJECT An optional list of additional attributes to attach to each Cloud PubSub message published for this notification subscription |
items[].custom_attributes.customKey.value STRING An optional list of additional attributes to attach to each Cloud PubSub message published for this notification subscription |
items[].etag STRING HTTP 1.1 Entity tag for this subscription notification |
items[].event_types[] STRING |
items[].id STRING The ID of the notification |
items[].kind STRING The kind of item this is. For notifications, this is always storage#notification |
items[].object_name_prefix STRING If present, only apply this notification configuration to object names that begin with this prefix |
items[].payload_format STRING The desired content of the Payload |
items[].selfLink STRING The canonical URL of this notification |
items[].topic STRING The Cloud PubSub topic to which this subscription publishes. Formatted as: '//pubsub.googleapis.com/projects/{project-identifier}/topics/{my-topic}' |
kind STRING The kind of item this is. For lists of notifications, this is always storage#notifications |