Table of Contents

Class CommentsResource.CreateRequest

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

Creates a new comment on a file.

public class CommentsResource.CreateRequest : DriveBaseServiceRequest<Comment>
Inheritance
CommentsResource.CreateRequest
Inherited Members

Constructors

CreateRequest(IClientService, Comment, string)

Constructs a new Create request.

public CreateRequest(IClientService service, Comment body, string fileId)

Parameters

service IClientService
body Comment
fileId 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

Methods

GetBody()

Returns the body of the request.

protected override object GetBody()

Returns

object

InitParameters()

Initializes Create parameter list.

protected override void InitParameters()