Get file description
Gets a blank description template for uploading a file
Function GetFileDescription(Val Clear = False) Export
Parameter | CLI option | Type | Required | Description |
---|---|---|---|---|
Clear | --empty | Boolean | ✖ | True > structure with empty valuse, False > field descriptions at values |
Returns: Map Of KeyAndValue - File description
1C:Enterprise/OneScript code example
Result = OPI_GoogleDrive.GetFileDescription();
- Bash
- CMD/Bat
oint gdrive GetFileDescription \
--empty false
oint gdrive GetFileDescription ^
--empty false
Result
{
"MIME": "image/jpeg",
"Name": "New file.jpg",
"Description": "This is a new file",
"Parent": "root"
}