Class DocumentsResource.ReviewsResource.CreateRequest
Creates and initiates an asynchronous multi-agent review for a document.
Inheritance
DocumentsResource.ReviewsResource.CreateRequest
Inherited Members
Namespace: Google.Apis.DeepReview.v1
Assembly: Google.Apis.DeepReview.v1.dll
Syntax
public class DocumentsResource.ReviewsResource.CreateRequest : DeepReviewBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
CreateRequest(IClientService, Review, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, Review body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| Review | body | |
| string | parent |
Properties
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
Parent
Required. The parent Document resource name where this review will be created. Format:
documents/{document}
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
| Type | Description |
|---|---|
| string |
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
ReviewId
Optional. The ID to use for the review, which will become the final component of the review's resource name. If not provided, a unique server-generated UUID will be assigned.
Declaration
[RequestParameter("reviewId", RequestParameterType.Query)]
public virtual string ReviewId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()