public sealed class RecaptchaEnterpriseServiceClientImpl : RecaptchaEnterpriseServiceClient
RecaptchaEnterpriseService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.RecaptchaEnterprise.V1Assembly
Google.Cloud.RecaptchaEnterprise.V1.dll
Remarks
Service to determine the likelihood an event is legitimate.
Constructors
RecaptchaEnterpriseServiceClientImpl(RecaptchaEnterpriseService.RecaptchaEnterpriseServiceClient, RecaptchaEnterpriseServiceSettings)
public RecaptchaEnterpriseServiceClientImpl(RecaptchaEnterpriseService.RecaptchaEnterpriseServiceClient grpcClient, RecaptchaEnterpriseServiceSettings settings)
Constructs a client wrapper for the RecaptchaEnterpriseService service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | RecaptchaEnterpriseService.RecaptchaEnterpriseServiceClient The underlying gRPC client. |
settings | RecaptchaEnterpriseServiceSettings The base RecaptchaEnterpriseServiceSettings used within this client. |
Properties
GrpcClient
public override RecaptchaEnterpriseService.RecaptchaEnterpriseServiceClient GrpcClient { get; }
The underlying gRPC RecaptchaEnterpriseService client
Property Value | |
---|---|
Type | Description |
RecaptchaEnterpriseService.RecaptchaEnterpriseServiceClient |
Methods
AnnotateAssessment(AnnotateAssessmentRequest, CallSettings)
public override AnnotateAssessmentResponse AnnotateAssessment(AnnotateAssessmentRequest request, CallSettings callSettings = null)
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 object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
AnnotateAssessmentResponse | The RPC response. |
AnnotateAssessmentAsync(AnnotateAssessmentRequest, CallSettings)
public override Task<AnnotateAssessmentResponse> AnnotateAssessmentAsync(AnnotateAssessmentRequest request, CallSettings callSettings = null)
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 object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<AnnotateAssessmentResponse> | A Task containing the RPC response. |
CreateAssessment(CreateAssessmentRequest, CallSettings)
public override Assessment CreateAssessment(CreateAssessmentRequest request, CallSettings callSettings = null)
Creates an Assessment of the likelihood an event is legitimate.
Parameters | |
---|---|
Name | Description |
request | CreateAssessmentRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Assessment | The RPC response. |
CreateAssessmentAsync(CreateAssessmentRequest, CallSettings)
public override Task<Assessment> CreateAssessmentAsync(CreateAssessmentRequest request, CallSettings callSettings = null)
Creates an Assessment of the likelihood an event is legitimate.
Parameters | |
---|---|
Name | Description |
request | CreateAssessmentRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Assessment> | A Task containing the RPC response. |
CreateKey(CreateKeyRequest, CallSettings)
public override Key CreateKey(CreateKeyRequest request, CallSettings callSettings = null)
Creates a new reCAPTCHA Enterprise key.
Parameters | |
---|---|
Name | Description |
request | CreateKeyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Key | The RPC response. |
CreateKeyAsync(CreateKeyRequest, CallSettings)
public override Task<Key> CreateKeyAsync(CreateKeyRequest request, CallSettings callSettings = null)
Creates a new reCAPTCHA Enterprise key.
Parameters | |
---|---|
Name | Description |
request | CreateKeyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Key> | A Task containing the RPC response. |
DeleteKey(DeleteKeyRequest, CallSettings)
public override void DeleteKey(DeleteKeyRequest request, CallSettings callSettings = null)
Deletes the specified key.
Parameters | |
---|---|
Name | Description |
request | DeleteKeyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
DeleteKeyAsync(DeleteKeyRequest, CallSettings)
public override Task DeleteKeyAsync(DeleteKeyRequest request, CallSettings callSettings = null)
Deletes the specified key.
Parameters | |
---|---|
Name | Description |
request | DeleteKeyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task | A Task containing the RPC response. |
GetKey(GetKeyRequest, CallSettings)
public override Key GetKey(GetKeyRequest request, CallSettings callSettings = null)
Returns the specified key.
Parameters | |
---|---|
Name | Description |
request | GetKeyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Key | The RPC response. |
GetKeyAsync(GetKeyRequest, CallSettings)
public override Task<Key> GetKeyAsync(GetKeyRequest request, CallSettings callSettings = null)
Returns the specified key.
Parameters | |
---|---|
Name | Description |
request | GetKeyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Key> | A Task containing the RPC response. |
ListKeys(ListKeysRequest, CallSettings)
public override PagedEnumerable<ListKeysResponse, Key> ListKeys(ListKeysRequest request, CallSettings callSettings = null)
Returns the list of all keys that belong to a project.
Parameters | |
---|---|
Name | Description |
request | ListKeysRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListKeysResponse, Key> | A pageable sequence of Key resources. |
ListKeysAsync(ListKeysRequest, CallSettings)
public override PagedAsyncEnumerable<ListKeysResponse, Key> ListKeysAsync(ListKeysRequest request, CallSettings callSettings = null)
Returns the list of all keys that belong to a project.
Parameters | |
---|---|
Name | Description |
request | ListKeysRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListKeysResponse, Key> | A pageable asynchronous sequence of Key resources. |
UpdateKey(UpdateKeyRequest, CallSettings)
public override Key UpdateKey(UpdateKeyRequest request, CallSettings callSettings = null)
Updates the specified key.
Parameters | |
---|---|
Name | Description |
request | UpdateKeyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Key | The RPC response. |
UpdateKeyAsync(UpdateKeyRequest, CallSettings)
public override Task<Key> UpdateKeyAsync(UpdateKeyRequest request, CallSettings callSettings = null)
Updates the specified key.
Parameters | |
---|---|
Name | Description |
request | UpdateKeyRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Key> | A Task containing the RPC response. |