﻿---
sidebar_position: 10
---

import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

# 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 | &#x2716; | True > structure with empty valuse, False > field descriptions at values |

  
  Returns:  Map Of KeyAndValue - File description

<br/>




```bsl title="1C:Enterprise/OneScript code example"
    Result = OPI_GoogleDrive.GetFileDescription();
```
 

 <Tabs>
  
    <TabItem value="bash" label="Bash" default>
        ```bash
            oint gdrive GetFileDescription \
             --empty false
        ```
    </TabItem>
  
    <TabItem value="bat" label="CMD/Bat" default>
        ```batch
            oint gdrive GetFileDescription ^
             --empty false
        ```
    </TabItem>
</Tabs>


```json title="Result"
{
 "MIME": "image/jpeg",
 "Name": "New file.jpg",
 "Description": "This is a new file",
 "Parent": "root"
}
```
