Class Change
A change to a file or shared drive.
Implements
Inherited Members
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 |
---|---|
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 |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
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 |
---|---|
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 |
---|---|
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 |
---|---|
bool? |
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 |
---|---|
string |
Time
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use TimeDateTimeOffset instead.")]
public virtual DateTime? Time { get; set; }
Property Value
Type | Description |
---|---|
DateTime? |
TimeDateTimeOffset
DateTimeOffset representation of TimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? TimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
TimeRaw
The time of this change (RFC 3339 date-time).
Declaration
[JsonProperty("time")]
public virtual string TimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
Type
Deprecated: Use changeType
instead.
Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
Type | Description |
---|---|
string |