[BindServiceMethod(typeof(RecaptchaEnterpriseService), "BindService")]
public abstract class RecaptchaEnterpriseServiceBase
Base class for server-side implementations of RecaptchaEnterpriseService
Namespace
Google.Cloud.RecaptchaEnterprise.V1Assembly
Google.Cloud.RecaptchaEnterprise.V1.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). |
CreateKey(CreateKeyRequest, ServerCallContext)
public virtual Task<Key> CreateKey(CreateKeyRequest request, ServerCallContext context)
Creates a new reCAPTCHA Enterprise key.
Parameters | |
---|---|
Name | Description |
request |
CreateKeyRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Key> |
The response to send back to the client (wrapped by a task). |
DeleteKey(DeleteKeyRequest, ServerCallContext)
public virtual Task<Empty> DeleteKey(DeleteKeyRequest request, ServerCallContext context)
Deletes the specified key.
Parameters | |
---|---|
Name | Description |
request |
DeleteKeyRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Empty> |
The response to send back to the client (wrapped by a task). |
GetKey(GetKeyRequest, ServerCallContext)
public virtual Task<Key> GetKey(GetKeyRequest request, ServerCallContext context)
Returns the specified key.
Parameters | |
---|---|
Name | Description |
request |
GetKeyRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Key> |
The response to send back to the client (wrapped by a task). |
ListKeys(ListKeysRequest, ServerCallContext)
public virtual Task<ListKeysResponse> ListKeys(ListKeysRequest request, ServerCallContext context)
Returns the list of all keys that belong to a project.
Parameters | |
---|---|
Name | Description |
request |
ListKeysRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<ListKeysResponse> |
The response to send back to the client (wrapped by a task). |
UpdateKey(UpdateKeyRequest, ServerCallContext)
public virtual Task<Key> UpdateKey(UpdateKeyRequest request, ServerCallContext context)
Updates the specified key.
Parameters | |
---|---|
Name | Description |
request |
UpdateKeyRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Key> |
The response to send back to the client (wrapped by a task). |