Class MediaResource.UploadRequest
Creates a new Document resource and ingests the manuscript via Scotty or Google Drive.
Inheritance
MediaResource.UploadRequest
Inherited Members
Namespace: Google.Apis.DeepReview.v1
Assembly: Google.Apis.DeepReview.v1.dll
Syntax
public class MediaResource.UploadRequest : DeepReviewBaseServiceRequest<Document>, IClientServiceRequest<Document>, IClientServiceRequest
Constructors
UploadRequest(IClientService, Document)
Constructs a new Upload request.
Declaration
public UploadRequest(IClientService service, Document body)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| Document | body |
Properties
DocumentId
Optional. The ID to use for the document, which will become the final component of the document's resource name. If not provided, a unique server-generated UUID will be assigned.
Declaration
[RequestParameter("documentId", RequestParameterType.Query)]
public virtual string DocumentId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
RequestId
Optional. Idempotency identifier for network retry safety (AIP-155). Must be a valid UUID4 string.
Declaration
[RequestParameter("requestId", RequestParameterType.Query)]
public virtual string RequestId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes Upload parameter list.
Declaration
protected override void InitParameters()