Show / Hide Table of Contents

Class Approval

Metadata for an approval. An approval is a review/approve process for a Drive item.

Inheritance
object
Approval
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Drive.v3.Data
Assembly: Google.Apis.Drive.v3.dll
Syntax
public class Approval : IDirectResponseSchema

Properties

ApprovalId

The Approval ID.

Declaration
[JsonProperty("approvalId")]
public virtual string ApprovalId { get; set; }
Property Value
Type Description
string

CompleteTime

object representation of CompleteTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CompleteTimeDateTimeOffset instead.")]
public virtual object CompleteTime { get; set; }
Property Value
Type Description
object

CompleteTimeDateTimeOffset

DateTimeOffset representation of CompleteTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? CompleteTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

CompleteTimeRaw

Output only. The time time the approval was completed.

Declaration
[JsonProperty("completeTime")]
public virtual string CompleteTimeRaw { get; set; }
Property Value
Type Description
string

CreateTime

object representation of CreateTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type Description
object

CreateTimeDateTimeOffset

DateTimeOffset representation of CreateTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

CreateTimeRaw

Output only. The time the approval was created.

Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type Description
string

DueTime

object representation of DueTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use DueTimeDateTimeOffset instead.")]
public virtual object DueTime { get; set; }
Property Value
Type Description
object

DueTimeDateTimeOffset

DateTimeOffset representation of DueTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? DueTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

DueTimeRaw

The time that the approval is due.

Declaration
[JsonProperty("dueTime")]
public virtual string DueTimeRaw { 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

Initiator

The user that requested the Approval.

Declaration
[JsonProperty("initiator")]
public virtual User Initiator { get; set; }
Property Value
Type Description
User

Kind

This is always drive#approval.

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

ModifyTime

object representation of ModifyTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use ModifyTimeDateTimeOffset instead.")]
public virtual object ModifyTime { get; set; }
Property Value
Type Description
object

ModifyTimeDateTimeOffset

DateTimeOffset representation of ModifyTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? ModifyTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

ModifyTimeRaw

Output only. The most recent time the approval was modified.

Declaration
[JsonProperty("modifyTime")]
public virtual string ModifyTimeRaw { get; set; }
Property Value
Type Description
string

ReviewerResponses

The responses made on the Approval by reviewers.

Declaration
[JsonProperty("reviewerResponses")]
public virtual IList<ReviewerResponse> ReviewerResponses { get; set; }
Property Value
Type Description
IList<ReviewerResponse>

Status

Output only. The status of the approval at the time this resource was requested.

Declaration
[JsonProperty("status")]
public virtual string Status { get; set; }
Property Value
Type Description
string

TargetFileId

Target file id of the approval.

Declaration
[JsonProperty("targetFileId")]
public virtual string TargetFileId { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX