recursive
Creates, updates, deletes, gets or lists a recursive resource.
Overview
| Name | recursive |
| Type | Resource |
| Id | google.storage.recursive |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
delete_recursive | delete | bucket, folder | ifMetagenerationMatch, ifMetagenerationNotMatch | Deletes a folder recursively. Only applicable to buckets with hierarchical namespace enabled. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
bucket | string | |
folder | string | |
ifMetagenerationMatch | string (int64) | |
ifMetagenerationNotMatch | string (int64) |
DELETE examples
- delete_recursive
Deletes a folder recursively. Only applicable to buckets with hierarchical namespace enabled.
DELETE FROM google.storage.recursive
WHERE bucket = '{{ bucket }}' --required
AND folder = '{{ folder }}' --required
AND ifMetagenerationMatch = '{{ ifMetagenerationMatch }}'
AND ifMetagenerationNotMatch = '{{ ifMetagenerationNotMatch }}'
;