Class DocumentsResource.EstimateReviewCostRequest
Estimates what a review of a document would cost on the caller's Gemini API key. The estimate comes from what past reviews with the same model and depth cost, adjusted to this document's size and repriced at the Gemini API's current list prices. It covers one review attempt that runs to completion, and doesn't include retries after errors.
Inheritance
DocumentsResource.EstimateReviewCostRequest
Inherited Members
Namespace: Google.Apis.DeepReview.v1
Assembly: Google.Apis.DeepReview.v1.dll
Syntax
public class DocumentsResource.EstimateReviewCostRequest : DeepReviewBaseServiceRequest<EstimateReviewCostResponse>, IClientServiceRequest<EstimateReviewCostResponse>, IClientServiceRequest
Constructors
EstimateReviewCostRequest(IClientService, EstimateReviewCostRequest, string)
Constructs a new EstimateReviewCost request.
Declaration
public EstimateReviewCostRequest(IClientService service, EstimateReviewCostRequest body, string document)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| EstimateReviewCostRequest | body | |
| string | document |
Properties
Document
Required. The document to review. Format: documents/{document}
Declaration
[RequestParameter("document", RequestParameterType.Path)]
public virtual string Document { get; }
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
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 EstimateReviewCost parameter list.
Declaration
protected override void InitParameters()