Show / Hide Table of Contents

Class DriveItemReference

A lightweight reference to a Drive item, such as a file or folder.

Inheritance
System.Object
DriveItemReference
Implements
IDirectResponseSchema
Namespace: Google.Apis.DriveActivity.v2.Data
Assembly: Google.Apis.DriveActivity.v2.dll
Syntax
public class DriveItemReference : object, IDirectResponseSchema

Properties

DriveFile

The Drive item is a file.

Declaration
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
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
public virtual File File { get; set; }
Property Value
Type Description
File

Folder

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

Declaration
public virtual Folder Folder { get; set; }
Property Value
Type Description
Folder

Name

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

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

Title

The title of the Drive item.

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

Implements

IDirectResponseSchema
Back to top