Show / Hide Table of Contents

Class Change

A change to a file or shared drive.

Inheritance
System.Object
Change
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.Drive.v3.Data
Assembly: Google.Apis.Drive.v3.dll
Syntax
public class Change : IDirectResponseSchema

Properties

ChangeType

The type of the change. Possible values are file and drive.

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

Drive

The updated state of the shared drive. Present if the changeType is drive, the user is still a member of the shared drive, and the shared drive has not been deleted.

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

DriveId

The ID of the shared drive associated with this change.

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

ETag

The ETag of the item.

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

File

The updated state of the file. Present if the type is file and the file has not been removed from this list of changes.

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

FileId

The ID of the file which has changed.

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

Kind

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

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

Removed

Whether the file or shared drive has been removed from this list of changes, for example by deletion or loss of access.

Declaration
[JsonProperty("removed")]
public virtual bool? Removed { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

TeamDrive

Deprecated - use drive instead.

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

TeamDriveId

Deprecated - use driveId instead.

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

Time

System.DateTime representation of TimeRaw.

Declaration
[JsonIgnore]
public virtual DateTime? Time { get; set; }
Property Value
Type Description
System.Nullable<System.DateTime>

TimeRaw

The time of this change (RFC 3339 date-time).

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

Type

Deprecated - use changeType instead.

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

Implements

IDirectResponseSchema
Back to top