Show / Hide Table of Contents

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
object
ClientServiceRequest
ClientServiceRequest<EstimateReviewCostResponse>
DeepReviewBaseServiceRequest<EstimateReviewCostResponse>
DocumentsResource.EstimateReviewCostRequest
Implements
IClientServiceRequest<EstimateReviewCostResponse>
IClientServiceRequest
Inherited Members
DeepReviewBaseServiceRequest<EstimateReviewCostResponse>.Xgafv
DeepReviewBaseServiceRequest<EstimateReviewCostResponse>.AccessToken
DeepReviewBaseServiceRequest<EstimateReviewCostResponse>.Alt
DeepReviewBaseServiceRequest<EstimateReviewCostResponse>.Callback
DeepReviewBaseServiceRequest<EstimateReviewCostResponse>.Fields
DeepReviewBaseServiceRequest<EstimateReviewCostResponse>.Key
DeepReviewBaseServiceRequest<EstimateReviewCostResponse>.OauthToken
DeepReviewBaseServiceRequest<EstimateReviewCostResponse>.PrettyPrint
DeepReviewBaseServiceRequest<EstimateReviewCostResponse>.QuotaUser
DeepReviewBaseServiceRequest<EstimateReviewCostResponse>.UploadType
DeepReviewBaseServiceRequest<EstimateReviewCostResponse>.UploadProtocol
ClientServiceRequest<EstimateReviewCostResponse>.Execute()
ClientServiceRequest<EstimateReviewCostResponse>.ExecuteAsStream()
ClientServiceRequest<EstimateReviewCostResponse>.ExecuteAsync()
ClientServiceRequest<EstimateReviewCostResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<EstimateReviewCostResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<EstimateReviewCostResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<EstimateReviewCostResponse>.CreateRequest(bool?)
ClientServiceRequest<EstimateReviewCostResponse>.GenerateRequestUri()
ClientServiceRequest<EstimateReviewCostResponse>.GetDefaultETagAction(string)
ClientServiceRequest<EstimateReviewCostResponse>.ETagAction
ClientServiceRequest<EstimateReviewCostResponse>.ModifyRequest
ClientServiceRequest<EstimateReviewCostResponse>.ValidateParameters
ClientServiceRequest<EstimateReviewCostResponse>.ApiVersion
ClientServiceRequest<EstimateReviewCostResponse>.RequestParameters
ClientServiceRequest<EstimateReviewCostResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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
ClientServiceRequest<EstimateReviewCostResponse>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<EstimateReviewCostResponse>.MethodName

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<EstimateReviewCostResponse>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<EstimateReviewCostResponse>.GetBody()

InitParameters()

Initializes EstimateReviewCost parameter list.

Declaration
protected override void InitParameters()
Overrides
DeepReviewBaseServiceRequest<EstimateReviewCostResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX