# GoogleDriveFileCapabilities

Actions the authenticated caller may perform on a Drive file.

Class 

`OfficeIMO.GoogleWorkspace.Drive`

**Namespace**

`OfficeIMO.GoogleWorkspace.Drive`

**Assembly**

`OfficeIMO.GoogleWorkspace`

**Source revision**

`105ae88c45f6` with working tree changes

**Source**

[GoogleDriveModels.cs:83](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.GoogleWorkspace/Drive/GoogleDriveModels.cs#L83)

**Modifiers**

sealed

Actions the authenticated caller may perform on a Drive file.

## Inheritance

- object
- GoogleDriveFileCapabilities

## Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 1

- Property [GoogleDriveFile.Capabilities](/api/google-workspace/officeimo-googleworkspace-drive-googledrivefile/#property-capabilities)

Filter members 

Show inherited

## Constructors

`public GoogleDriveFileCapabilities()` [#](#constructor-ctor)

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public bool CanDownload { get; set; }` [#](#property-candownload)

[GoogleDriveModels.cs:83](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.GoogleWorkspace/Drive/GoogleDriveModels.cs#L83)

`JsonPropertyName("canDownload")`

Gets or sets whether file content may be downloaded.

`public bool CanEdit { get; set; }` [#](#property-canedit)

[GoogleDriveModels.cs:87](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.GoogleWorkspace/Drive/GoogleDriveModels.cs#L87)

`JsonPropertyName("canEdit")`

Gets or sets whether file content or metadata may be edited.

`public bool CanMoveItemWithinDrive { get; set; }` [#](#property-canmoveitemwithindrive)

[GoogleDriveModels.cs:91](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.GoogleWorkspace/Drive/GoogleDriveModels.cs#L91)

`JsonPropertyName("canMoveItemWithinDrive")`

Gets or sets whether the item may be moved within its current drive.

`public bool CanMoveItemOutOfDrive { get; set; }` [#](#property-canmoveitemoutofdrive)

[GoogleDriveModels.cs:95](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.GoogleWorkspace/Drive/GoogleDriveModels.cs#L95)

`JsonPropertyName("canMoveItemOutOfDrive")`

Gets or sets whether the item may be moved out of its current drive.

`public bool CanDelete { get; set; }` [#](#property-candelete)

[GoogleDriveModels.cs:99](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.GoogleWorkspace/Drive/GoogleDriveModels.cs#L99)

`JsonPropertyName("canDelete")`

Gets or sets whether the file may be deleted.

`public bool CanShare { get; set; }` [#](#property-canshare)

[GoogleDriveModels.cs:103](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.GoogleWorkspace/Drive/GoogleDriveModels.cs#L103)

`JsonPropertyName("canShare")`

Gets or sets whether permissions may be changed.

`public bool CanComment { get; set; }` [#](#property-cancomment)

[GoogleDriveModels.cs:107](https://github.com/EvotecIT/OfficeIMO/blob/105ae88c45f6be3bb2020384e25ffe61d990451b/Sources/OfficeIMO.GoogleWorkspace/Drive/GoogleDriveModels.cs#L107)

`JsonPropertyName("canComment")`

Gets or sets whether comments may be added.

<!-- PowerForge markdown artifact sha256:83922A6E495B8350AD62E62425421724F846BA33BBDE6FCEBEAE58B8D51349F0 -->
