Class Change
Representation of a change to a file or shared drive.
Implements
Inherited Members
Namespace: Google.Apis.Drive.v2.Data
Assembly: Google.Apis.Drive.v2.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 |
Deleted
Whether the file or shared drive has been removed from this list of changes, for example by deletion or loss of access.
Declaration
[JsonProperty("deleted")]
public virtual bool? Deleted { get; set; }
Property Value
Type | Description |
---|---|
bool? |
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 associated with this change.
Declaration
[JsonProperty("fileId")]
public virtual string FileId { get; set; }
Property Value
Type | Description |
---|---|
string |
Id
The ID of the change.
Declaration
[JsonProperty("id")]
public virtual long? Id { get; set; }
Property Value
Type | Description |
---|---|
long? |
Kind
This is always drive#change
.
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type | Description |
---|---|
string |
ModificationDate
DateTime representation of ModificationDateRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use ModificationDateDateTimeOffset instead.")]
public virtual DateTime? ModificationDate { get; set; }
Property Value
Type | Description |
---|---|
DateTime? |
ModificationDateDateTimeOffset
DateTimeOffset representation of ModificationDateRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? ModificationDateDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
ModificationDateRaw
The time of this modification.
Declaration
[JsonProperty("modificationDate")]
public virtual string ModificationDateRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
SelfLink
A link back to this change.
Declaration
[JsonProperty("selfLink")]
public virtual string SelfLink { get; set; }
Property Value
Type | Description |
---|---|
string |
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 |
Type
Deprecated: Use changeType
instead.
Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
Type | Description |
---|---|
string |