# GoogleSharedDrive

Metadata for a Google shared drive.

Class 

`OfficeIMO.GoogleWorkspace.Drive`

**Namespace**

`OfficeIMO.GoogleWorkspace.Drive`

**Assembly**

`OfficeIMO.GoogleWorkspace`

**Source revision**

`105ae88c45f6` with working tree changes

**Source**

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

**Modifiers**

sealed

Metadata for a Google shared drive.

## Inheritance

- object
- GoogleSharedDrive

## Guides & Samples

Authored walkthroughs and practical samples linked to this API.

- [Work with Google Shared Drives](/docs/google-workspace/shared-drives/) Guide
  
  Point exports at a shared drive and folder, check that the folder belongs to that drive, and track changes per shared drive.

## 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

- Method [GoogleDriveClient.GetSharedDriveAsync](/api/google-workspace/officeimo-googleworkspace-drive-googledriveclient/#method-getshareddriveasync-string-officeimo-googleworkspace-translationreport-threading-cancellationtoken)

Filter members 

Show inherited

## Constructors

`public GoogleSharedDrive()` [#](#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 string? Id { get; set; }` [#](#property-id)

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

`JsonPropertyName("id")`

Gets or sets the shared-drive identifier.

`public string? Name { get; set; }` [#](#property-name)

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

`JsonPropertyName("name")`

Gets or sets the shared-drive display name.

`public bool Hidden { get; set; }` [#](#property-hidden)

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

`JsonPropertyName("hidden")`

Gets or sets whether the shared drive is hidden from the default view.

`public DateTimeOffset? CreatedTime { get; set; }` [#](#property-createdtime)

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

`JsonPropertyName("createdTime")`

Gets or sets when the shared drive was created.

`public GoogleSharedDriveCapabilities? Capabilities { get; set; }` [#](#property-capabilities)

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

`JsonPropertyName("capabilities")`

Gets or sets actions permitted for the authenticated caller.

<!-- PowerForge markdown artifact sha256:9FF8A6F3C1F5EC0D46A2AA42050269E06340680207B160BEEC1508D5A94899F5 -->
