Table of Contents

Class RevisionsResource.UpdateRequest

Namespace
Google.Apis.Drive.v3
Assembly
Google.Apis.Drive.v3.dll

Updates a revision with patch semantics.

public class RevisionsResource.UpdateRequest : DriveBaseServiceRequest<Revision>
Inheritance
RevisionsResource.UpdateRequest
Inherited Members

Constructors

UpdateRequest(IClientService, Revision, string, string)

Constructs a new Update request.

public UpdateRequest(IClientService service, Revision body, string fileId, string revisionId)

Parameters

service IClientService
body Revision
fileId string
revisionId string

Properties

FileId

The ID of the file.

public virtual string FileId { get; }

Property Value

string

HttpMethod

Gets the HTTP method.

public override string HttpMethod { get; }

Property Value

string

MethodName

Gets the method name.

public override string MethodName { get; }

Property Value

string

RestPath

Gets the REST path.

public override string RestPath { get; }

Property Value

string

RevisionId

The ID of the revision.

public virtual string RevisionId { get; }

Property Value

string

Methods

GetBody()

Returns the body of the request.

protected override object GetBody()

Returns

object

InitParameters()

Initializes Update parameter list.

protected override void InitParameters()