Delete File/Folder
Operation name
Delete File/Folder
Function overview
Deletes file/folder on Google Drive.
Data model
The data model of this component is XML type.
Properties
For details on use of variables, refer to Variables.
Basic settings
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Name |
Required |
Not available |
Enter a name that is used on the script canvas. |
|
Required settings
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Destination |
Required |
Not available |
Select a connection resource.
|
|
Drive type |
Required |
Not available |
Select the drive to perform the operation.
|
|
Shared drive name |
Required |
Available |
Select or enter a shared drive name.
|
|
Folder path |
Required |
Available |
Enter a Google Drive folder path. |
Note
|
Delete folder |
Optional |
Not available |
Select whether to delete the folder specified in Folder path.
|
|
File/folder name |
Required |
Available |
Specify a file/folder directly under the folder specified in Folder path
|
|
Recursive processing |
Optional |
Not available |
For a specified folder, select whether to delete the file/folder recursively or not.
|
|
Property actions
Item name |
Description |
Remarks |
---|---|---|
Refresh shared drive name list |
Get shared drives in the specified destination and set them in Shared drive name. |
|
Refresh list of folder paths |
Get folder paths in the specified destination and set them to Folder path. |
|
Refresh list of item names |
Get file/folder names in the specified folder path and set them in File/folder name. |
|
Comment
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Comment |
Optional |
Not available |
You can write a short description of this connector. |
|
Input schema
None.
Output schema
<?xml version="1.0"?> <server> <files drivename="" drivetype=""> <file name="" remotepath="" status="" type="" /> </files> </server>
Element name |
Attribute name |
Description |
Remarks |
---|---|---|---|
server |
- |
|
|
files |
- |
|
|
drivename |
Outputs the retrieved shared drive name. |
|
|
drivetype |
Outputs the retrieved drive type. |
|
|
file |
- |
Appears once for each deleted file/folder. |
|
name |
Outputs the name of the deleted file/folder. |
|
|
remotepath |
Outputs the file path on Google Drive of the deleted file/folder. |
|
|
status |
Outputs the status of the deleted file/folder.
|
|
|
type |
Outputs the classification of deleted file/folder.
|
|
Loading schema in Mapper
The schema is loaded automatically.
For details, refer to Edit Schema.
Mass data processing
Mass data processing isn't supported.
Transaction
Transaction isn't supported.
Parallel Stream Processing
PSP isn't supported.
Available component variables
Component variable name |
Description |
Remarks |
---|---|---|
count |
The number of deleted files and folders is stored. |
|
folder_count |
The number of deleted folders is stored. |
|
file_count |
The number of deleted files is stored. |
|
message_category |
When an error occurs, the category of the message code corresponding to the error is stored. |
|
message_code |
When an error occurs, the code of the message code corresponding to the error is stored. |
|
message_level |
When an error occurs, the severity of the message code corresponding to the error is stored. |
|
error_type |
When an error occurs, the error type is stored. |
|
error_message |
When an error occurs, the error message is stored. |
|
error_trace |
When an error occurs, the trace information for the error is stored. |
|
Message codes, exception messages, and limitations
Connector |
Message code |
Exception message |
Limitations |
---|---|---|---|