[BindServiceMethod(typeof(RecaptchaEnterpriseServiceV1Beta1), "BindService")]
public abstract class RecaptchaEnterpriseServiceV1Beta1Base
Base class for server-side implementations of RecaptchaEnterpriseServiceV1Beta1
Namespace
Google.Cloud.RecaptchaEnterprise.V1Beta1Assembly
Google.Cloud.RecaptchaEnterprise.V1Beta1.dll
Methods
AnnotateAssessment(AnnotateAssessmentRequest, ServerCallContext)
public virtual Task<AnnotateAssessmentResponse> AnnotateAssessment(AnnotateAssessmentRequest request, ServerCallContext context)
Annotates a previously created Assessment to provide additional information on whether the event turned out to be authentic or fradulent.
Parameters | |
---|---|
Name | Description |
request | AnnotateAssessmentRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<AnnotateAssessmentResponse> | The response to send back to the client (wrapped by a task). |
CreateAssessment(CreateAssessmentRequest, ServerCallContext)
public virtual Task<Assessment> CreateAssessment(CreateAssessmentRequest request, ServerCallContext context)
Creates an Assessment of the likelihood an event is legitimate.
Parameters | |
---|---|
Name | Description |
request | CreateAssessmentRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Assessment> | The response to send back to the client (wrapped by a task). |