Watch All
|
|||||
|
|
Watch for changes on all objects in a 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 21 input parameters
Name | Format | Description |
---|---|---|
bucket Required |
STRING |
Name of the bucket in which to look for objects |
delimiter |
STRING |
Returns results in a directory-like mode. items will contain only objects whose names, aside from the prefix, do not contain delimiter. Objects whose names, aside from the prefix, contain delimiter will have their name, truncated after the delimiter, returned in prefixes. Duplicate prefixes are omitted |
includeTrailingDelimiter |
BOOLEAN |
If true, objects that end in exactly one instance of delimiter will have their metadata included in items in addition to prefixes |
maxResults |
INTEGER |
Maximum number of items plus prefixes to return in a single page of responses. As duplicate prefixes are omitted, fewer total results may be returned than requested. The service will use this parameter or 1,000 items, whichever is smaller |
pageToken |
STRING |
A previously-returned page token representing part of the larger set of results to view |
prefix |
STRING |
Filter results to objects whose names begin with this prefix |
projection |
ENUMERATION |
Set of properties to return. Defaults to noAcl |
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 |
versions |
BOOLEAN |
If true, lists all versions of an object as distinct results. The default is false. For more information, see Object Versioning |
address |
STRING |
The address where notifications are delivered for this channel |
expiration |
INTEGER |
Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional |
id |
STRING |
A UUID or similar unique string that identifies this channel |
kind |
STRING |
Identifies this as a notification channel used to watch for changes to a resource, which is "api#channel" |
params |
OBJECT |
Additional parameters controlling delivery channel behavior. Optional |
params.customKey.value Required |
STRING |
Additional parameters controlling delivery channel behavior. Optional |
payload |
BOOLEAN |
A Boolean value to indicate whether payload is wanted. Optional |
resourceId |
STRING |
An opaque ID that identifies the resource being watched on this channel. Stable across different API versions |
resourceUri |
STRING |
A version-specific identifier for the watched resource |
token |
STRING |
An arbitrary string delivered to the target address with each notification delivered over this channel. Optional |
type |
STRING |
The type of delivery mechanism used for this channel |
= Parameter name
= Format
bucket STRING Required Name of the bucket in which to look for objects |
delimiter STRING Returns results in a directory-like mode. items will contain only objects whose names, aside from the prefix, do not contain delimiter. Objects whose names, aside from the prefix, contain delimiter will have their name, truncated after the delimiter, returned in prefixes. Duplicate prefixes are omitted |
includeTrailingDelimiter BOOLEAN If true, objects that end in exactly one instance of delimiter will have their metadata included in items in addition to prefixes |
maxResults INTEGER Maximum number of items plus prefixes to return in a single page of responses. As duplicate prefixes are omitted, fewer total results may be returned than requested. The service will use this parameter or 1,000 items, whichever is smaller |
pageToken STRING A previously-returned page token representing part of the larger set of results to view |
prefix STRING Filter results to objects whose names begin with this prefix |
projection ENUMERATION Set of properties to return. Defaults to noAcl |
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 |
versions BOOLEAN If true, lists all versions of an object as distinct results. The default is false. For more information, see Object Versioning |
address STRING The address where notifications are delivered for this channel |
expiration INTEGER Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional |
id STRING A UUID or similar unique string that identifies this channel |
kind STRING Identifies this as a notification channel used to watch for changes to a resource, which is "api#channel" |
params OBJECT Additional parameters controlling delivery channel behavior. Optional |
params.customKey.value STRING Required Additional parameters controlling delivery channel behavior. Optional |
payload BOOLEAN A Boolean value to indicate whether payload is wanted. Optional |
resourceId STRING An opaque ID that identifies the resource being watched on this channel. Stable across different API versions |
resourceUri STRING A version-specific identifier for the watched resource |
token STRING An arbitrary string delivered to the target address with each notification delivered over this channel. Optional |
type STRING The type of delivery mechanism used for this channel |
Output
This building block provides 11 output parameters
Name | Format | Description |
---|---|---|
address |
STRING |
The address where notifications are delivered for this channel |
expiration |
INTEGER |
Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional |
id |
STRING |
A UUID or similar unique string that identifies this channel |
kind |
STRING |
Identifies this as a notification channel used to watch for changes to a resource, which is "api#channel" |
params |
OBJECT |
Additional parameters controlling delivery channel behavior. Optional |
params.customKey.value |
STRING |
Additional parameters controlling delivery channel behavior. Optional |
payload |
BOOLEAN |
A Boolean value to indicate whether payload is wanted. Optional |
resourceId |
STRING |
An opaque ID that identifies the resource being watched on this channel. Stable across different API versions |
resourceUri |
STRING |
A version-specific identifier for the watched resource |
token |
STRING |
An arbitrary string delivered to the target address with each notification delivered over this channel. Optional |
type |
STRING |
The type of delivery mechanism used for this channel |
= Parameter name
= Format
address STRING The address where notifications are delivered for this channel |
expiration INTEGER Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional |
id STRING A UUID or similar unique string that identifies this channel |
kind STRING Identifies this as a notification channel used to watch for changes to a resource, which is "api#channel" |
params OBJECT Additional parameters controlling delivery channel behavior. Optional |
params.customKey.value STRING Additional parameters controlling delivery channel behavior. Optional |
payload BOOLEAN A Boolean value to indicate whether payload is wanted. Optional |
resourceId STRING An opaque ID that identifies the resource being watched on this channel. Stable across different API versions |
resourceUri STRING A version-specific identifier for the watched resource |
token STRING An arbitrary string delivered to the target address with each notification delivered over this channel. Optional |
type STRING The type of delivery mechanism used for this channel |