public class RecaptchaEnterpriseServiceV1Beta1.RecaptchaEnterpriseServiceV1Beta1Client : ClientBase<RecaptchaEnterpriseServiceV1Beta1.RecaptchaEnterpriseServiceV1Beta1Client>
Reference documentation and code samples for the Google Cloud reCAPTCHA Enterprise v1beta1 API class RecaptchaEnterpriseServiceV1Beta1.RecaptchaEnterpriseServiceV1Beta1Client.
Client for RecaptchaEnterpriseServiceV1Beta1
Inheritance
object > ClientBase > ClientBaseRecaptchaEnterpriseServiceV1Beta1RecaptchaEnterpriseServiceV1Beta1Client > RecaptchaEnterpriseServiceV1Beta1.RecaptchaEnterpriseServiceV1Beta1ClientNamespace
Google.Cloud.RecaptchaEnterprise.V1Beta1Assembly
Google.Cloud.RecaptchaEnterprise.V1Beta1.dll
Constructors
RecaptchaEnterpriseServiceV1Beta1Client()
protected RecaptchaEnterpriseServiceV1Beta1Client()
Protected parameterless constructor to allow creation of test doubles.
RecaptchaEnterpriseServiceV1Beta1Client(CallInvoker)
public RecaptchaEnterpriseServiceV1Beta1Client(CallInvoker callInvoker)
Creates a new client for RecaptchaEnterpriseServiceV1Beta1 that uses a custom CallInvoker
.
Parameter | |
---|---|
Name | Description |
callInvoker | CallInvoker The callInvoker to use to make remote calls. |
RecaptchaEnterpriseServiceV1Beta1Client(ChannelBase)
public RecaptchaEnterpriseServiceV1Beta1Client(ChannelBase channel)
Creates a new client for RecaptchaEnterpriseServiceV1Beta1
Parameter | |
---|---|
Name | Description |
channel | ChannelBase The channel to use to make remote calls. |
RecaptchaEnterpriseServiceV1Beta1Client(ClientBaseConfiguration)
protected RecaptchaEnterpriseServiceV1Beta1Client(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBaseClientBaseConfiguration The client configuration. |
Methods
AnnotateAssessment(AnnotateAssessmentRequest, CallOptions)
public virtual AnnotateAssessmentResponse AnnotateAssessment(AnnotateAssessmentRequest request, CallOptions options)
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 to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AnnotateAssessmentResponse | The response received from the server. |
AnnotateAssessment(AnnotateAssessmentRequest, Metadata, DateTime?, CancellationToken)
public virtual AnnotateAssessmentResponse AnnotateAssessment(AnnotateAssessmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AnnotateAssessmentResponse | The response received from the server. |
AnnotateAssessmentAsync(AnnotateAssessmentRequest, CallOptions)
public virtual AsyncUnaryCall<AnnotateAssessmentResponse> AnnotateAssessmentAsync(AnnotateAssessmentRequest request, CallOptions options)
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 to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallAnnotateAssessmentResponse | The call object. |
AnnotateAssessmentAsync(AnnotateAssessmentRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<AnnotateAssessmentResponse> AnnotateAssessmentAsync(AnnotateAssessmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
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 to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallAnnotateAssessmentResponse | The call object. |
CreateAssessment(CreateAssessmentRequest, CallOptions)
public virtual Assessment CreateAssessment(CreateAssessmentRequest request, CallOptions options)
Creates an Assessment of the likelihood an event is legitimate.
Parameters | |
---|---|
Name | Description |
request | CreateAssessmentRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Assessment | The response received from the server. |
CreateAssessment(CreateAssessmentRequest, Metadata, DateTime?, CancellationToken)
public virtual Assessment CreateAssessment(CreateAssessmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates an Assessment of the likelihood an event is legitimate.
Parameters | |
---|---|
Name | Description |
request | CreateAssessmentRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Assessment | The response received from the server. |
CreateAssessmentAsync(CreateAssessmentRequest, CallOptions)
public virtual AsyncUnaryCall<Assessment> CreateAssessmentAsync(CreateAssessmentRequest request, CallOptions options)
Creates an Assessment of the likelihood an event is legitimate.
Parameters | |
---|---|
Name | Description |
request | CreateAssessmentRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallAssessment | The call object. |
CreateAssessmentAsync(CreateAssessmentRequest, Metadata, DateTime?, CancellationToken)
public virtual AsyncUnaryCall<Assessment> CreateAssessmentAsync(CreateAssessmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Creates an Assessment of the likelihood an event is legitimate.
Parameters | |
---|---|
Name | Description |
request | CreateAssessmentRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | DateTime An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCallAssessment | The call object. |
NewInstance(ClientBaseConfiguration)
protected override RecaptchaEnterpriseServiceV1Beta1.RecaptchaEnterpriseServiceV1Beta1Client NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration | ClientBaseClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
RecaptchaEnterpriseServiceV1Beta1RecaptchaEnterpriseServiceV1Beta1Client |