1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-12-17 23:48:13 +02:00
Files
OpenIntegrations/docs/en/md/Google_Drive/File-and-directory-management/Get-file-description.md

43 lines
738 B
Markdown
Raw Normal View History

---
sidebar_position: 10
---
# Get description file
2024-07-10 13:58:29 +03:00
`Function GetFileDescription() Export`
| Parameter | CLI option | Type | Destination |
|-|-|-|-|
Returns: Map Of KeyAndValue - File description
2024-07-10 14:05:58 +03:00
<br/>
2024-07-10 13:58:29 +03:00
```bsl title="Code example"
2024-07-10 14:24:11 +03:00
Description = New Map;
Description.Insert("MIME", "image/jpeg"); // MIME-type uploading file
Description.Insert("Name", "New file.jpg"); // File name with extension
Description.Insert("Description", "This is a new file"); // File description
Description.Insert("Parent", "root"); // ID directory upload or "root" for upload in root
Return Description;
```
```sh title="CLI command example"
oint gdrive GetFileDescription
```