Show / Hide Table of Contents

Class DriveItem

A Drive item, such as a file or folder.

Inheritance
System.Object
DriveItem
Implements
IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.DriveActivity.v2.Data
Assembly: Google.Apis.DriveActivity.v2.dll
Syntax
public class DriveItem : IDirectResponseSchema

Properties

DriveFile

The Drive item is a file.

Declaration
[JsonProperty("driveFile")]
public virtual DriveFile DriveFile { get; set; }
Property Value
Type Description
DriveFile

DriveFolder

The Drive item is a folder. Includes information about the type of folder.

Declaration
[JsonProperty("driveFolder")]
public virtual DriveFolder DriveFolder { get; set; }
Property Value
Type Description
DriveFolder

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

File

This field is deprecated; please use the driveFile field instead.

Declaration
[JsonProperty("file")]
public virtual File File { get; set; }
Property Value
Type Description
File

Folder

This field is deprecated; please use the driveFolder field instead.

Declaration
[JsonProperty("folder")]
public virtual Folder Folder { get; set; }
Property Value
Type Description
Folder

MimeType

The MIME type of the Drive item. See https://developers.google.com/drive/v3/web/mime- types.

Declaration
[JsonProperty("mimeType")]
public virtual string MimeType { get; set; }
Property Value
Type Description
System.String

Name

The target Drive item. The format is "items/ITEM_ID".

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
System.String

Owner

Information about the owner of this Drive item.

Declaration
[JsonProperty("owner")]
public virtual Owner Owner { get; set; }
Property Value
Type Description
Owner

Title

The title of the Drive item.

Declaration
[JsonProperty("title")]
public virtual string Title { get; set; }
Property Value
Type Description
System.String

Implements

IDirectResponseSchema
Back to top