Table of Contents

Class Drive

Namespace
Google.Apis.Drive.v3.Data
Assembly
Google.Apis.Drive.v3.dll

Representation of a shared drive.

public class Drive : IDirectResponseSchema
Inheritance
Drive
Implements
IDirectResponseSchema
Inherited Members

Constructors

Drive()

public Drive()

Properties

BackgroundImageFile

An image file and cropping parameters from which a background image for this shared drive is set. This is a write only field; it can only be set on drive.drives.update requests that don't set themeId. When specified, all fields of the backgroundImageFile must be set.

public virtual Drive.BackgroundImageFileData BackgroundImageFile { get; set; }

Property Value

Drive.BackgroundImageFileData

A short-lived link to this shared drive's background image.

public virtual string BackgroundImageLink { get; set; }

Property Value

string

Capabilities

Capabilities the current user has on this shared drive.

public virtual Drive.CapabilitiesData Capabilities { get; set; }

Property Value

Drive.CapabilitiesData

ColorRgb

The color of this shared drive as an RGB hex string. It can only be set on a drive.drives.update request that does not set themeId.

public virtual string ColorRgb { get; set; }

Property Value

string

CreatedTime

DateTime representation of CreatedTimeRaw.

public virtual DateTime? CreatedTime { get; set; }

Property Value

DateTime?

CreatedTimeRaw

The time at which the shared drive was created (RFC 3339 date-time).

public virtual string CreatedTimeRaw { get; set; }

Property Value

string

ETag

The ETag of the item.

public virtual string ETag { get; set; }

Property Value

string

Hidden

Whether the shared drive is hidden from default view.

public virtual bool? Hidden { get; set; }

Property Value

bool?

Id

The ID of this shared drive which is also the ID of the top level folder of this shared drive.

public virtual string Id { get; set; }

Property Value

string

Kind

Identifies what kind of resource this is. Value: the fixed string "drive#drive".

public virtual string Kind { get; set; }

Property Value

string

Name

The name of this shared drive.

public virtual string Name { get; set; }

Property Value

string

Restrictions

A set of restrictions that apply to this shared drive or items inside this shared drive.

public virtual Drive.RestrictionsData Restrictions { get; set; }

Property Value

Drive.RestrictionsData

ThemeId

The ID of the theme from which the background image and color will be set. The set of possible driveThemes can be retrieved from a drive.about.get response. When not specified on a drive.drives.create request, a random theme is chosen from which the background image and color are set. This is a write-only field; it can only be set on requests that don't set colorRgb or backgroundImageFile.

public virtual string ThemeId { get; set; }

Property Value

string