Deletes objects from a Google Cloud Bucket. If attempting to delete a file that does not exist, FlowFile is routed to success.
google cloud, gcs, google, storage, delete
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.
| Display Name | API Name | Default Value | Allowable Values | Description |
|---|---|---|---|---|
| Project ID | gcp-project-id | Google Cloud Project ID Supports Expression Language: true (will be evaluated using variable registry only) | ||
| GCP Credentials Provider Service | GCP Credentials Provider Service | Controller Service API: GCPCredentialsService Implementation: GCPCredentialsControllerService | The Controller Service used to obtain Google Cloud Platform credentials. | |
| Number of retries | gcp-retry-count | 6 | How many retry attempts should be made before routing to the failure relationship. | |
| Proxy host | gcp-proxy-host | IP or hostname of the proxy to be used.
You might need to set the following properties in bootstrap for https proxy usage:
-Djdk.http.auth.tunneling.disabledSchemes=
-Djdk.http.auth.proxying.disabledSchemes= Supports Expression Language: true (will be evaluated using variable registry only) | ||
| Proxy port | gcp-proxy-port | Proxy port number Supports Expression Language: true (will be evaluated using variable registry only) | ||
| HTTP Proxy Username | gcp-proxy-user-name | HTTP Proxy Username Supports Expression Language: true (will be evaluated using variable registry only) | ||
| HTTP Proxy Password | gcp-proxy-user-password | HTTP Proxy Password Sensitive Property: true Supports Expression Language: true (will be evaluated using variable registry only) | ||
| Proxy Configuration Service | proxy-configuration-service | Controller Service API: ProxyConfigurationService Implementation: StandardProxyConfigurationService | Specifies the Proxy Configuration Controller Service to proxy network requests. If set, it supersedes proxy settings configured per component. Supported proxies: HTTP + AuthN | |
| Storage API URL | storage-api-url | Overrides the default storage URL. Configuring an alternative Storage API URL also overrides the HTTP Host header on requests as described in the Google documentation for Private Service Connections. Supports Expression Language: true (will be evaluated using variable registry only) | ||
| Bucket | gcs-bucket | ${gcs.bucket} | Bucket of the object. Supports Expression Language: true (will be evaluated using flow file attributes and variable registry) | |
| Key | gcs-key | ${filename} | Name of the object. Supports Expression Language: true (will be evaluated using flow file attributes and variable registry) | |
| Generation | gcs-generation | The generation of the object to be deleted. If null, will use latest version of the object. Supports Expression Language: true (will be evaluated using flow file attributes and variable registry) |
| 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. |