Description:
Deletes objects from a Google Cloud Bucket. If attempting to delete a file that does not exist, FlowFile is routed to success.
Tags:
google cloud, gcs, google, storage, delete
Properties:
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Name | Default Value | Allowable Values | Description |
GCP Credentials Provider Service |
Controller Service API: GCPCredentialsService Implementations: GCPCredentialsControllerService |
The Controller Service used to obtain Google Cloud Platform credentials. | |
Project ID | Google Cloud Project ID | ||
Number of retries | 6 | How many retry attempts should be made before routing to the failure relationship | |
Bucket | ${gcs.bucket} | Bucket of the object.</br> Supports Expression Language: true | |
Key | ${filename} | Name of the object.</br> Supports Expression Language: true | |
Generation | The generation of the object to be deleted. If null, will use latest version of the object.</br> Supports Expression Language: true |
Relationships:
Name | Description |
success | FlowFiles are routed to this relationship after a successful Google Cloud Storage operation. |
failure | FlowFiles are routed to this relationship if the Google Cloud Storage operation fails. |
Reads Attributes:
None specified.
Writes Attributes:
None specified.
State management:
This component does not store state.
Restricted:
This component is not restricted.
Input requirement:
This component requires an incoming relationship.
See Also:
PutGCSObject, FetchGCSObject, ListGCSBucket