public static final class RecaptchaEnterpriseServiceGrpc.RecaptchaEnterpriseServiceBlockingStub extends AbstractBlockingStub<RecaptchaEnterpriseServiceGrpc.RecaptchaEnterpriseServiceBlockingStub>
A stub to allow clients to do synchronous rpc calls to service RecaptchaEnterpriseService.
Service to determine the likelihood an event is legitimate.
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractBlockingStub >
RecaptchaEnterpriseServiceGrpc.RecaptchaEnterpriseServiceBlockingStub
Inherited Members
io.grpc.stub.AbstractBlockingStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractBlockingStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withOnReadyThreshold(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
addIpOverride(AddIpOverrideRequest request)
public AddIpOverrideResponse addIpOverride(AddIpOverrideRequest request)
Adds an IP override to a key. The following restrictions hold:
- The maximum number of IP overrides per key is 100.
- For any conflict (such as IP already exists or IP part of an existing
IP range), an error will be returned.
annotateAssessment(AnnotateAssessmentRequest request)
public AnnotateAssessmentResponse annotateAssessment(AnnotateAssessmentRequest request)
Annotates a previously created Assessment to provide additional information
on whether the event turned out to be authentic or fraudulent.
build(Channel channel, CallOptions callOptions)
protected RecaptchaEnterpriseServiceGrpc.RecaptchaEnterpriseServiceBlockingStub build(Channel channel, CallOptions callOptions)
Parameters |
Name |
Description |
channel |
io.grpc.Channel
|
callOptions |
io.grpc.CallOptions
|
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
createAssessment(CreateAssessmentRequest request)
public Assessment createAssessment(CreateAssessmentRequest request)
Creates an Assessment of the likelihood an event is legitimate.
createFirewallPolicy(CreateFirewallPolicyRequest request)
public FirewallPolicy createFirewallPolicy(CreateFirewallPolicyRequest request)
Creates a new FirewallPolicy, specifying conditions at which reCAPTCHA
Enterprise actions can be executed.
A project may have a maximum of 1000 policies.
createKey(CreateKeyRequest request)
public Key createKey(CreateKeyRequest request)
Creates a new reCAPTCHA Enterprise key.
Returns |
Type |
Description |
Key |
|
deleteFirewallPolicy(DeleteFirewallPolicyRequest request)
public Empty deleteFirewallPolicy(DeleteFirewallPolicyRequest request)
Deletes the specified firewall policy.
Returns |
Type |
Description |
Empty |
|
deleteKey(DeleteKeyRequest request)
public Empty deleteKey(DeleteKeyRequest request)
Deletes the specified key.
Returns |
Type |
Description |
Empty |
|
getFirewallPolicy(GetFirewallPolicyRequest request)
public FirewallPolicy getFirewallPolicy(GetFirewallPolicyRequest request)
Returns the specified firewall policy.
getKey(GetKeyRequest request)
public Key getKey(GetKeyRequest request)
Returns the specified key.
Returns |
Type |
Description |
Key |
|
getMetrics(GetMetricsRequest request)
public Metrics getMetrics(GetMetricsRequest request)
Get some aggregated metrics for a Key. This data can be used to build
dashboards.
listFirewallPolicies(ListFirewallPoliciesRequest request)
public ListFirewallPoliciesResponse listFirewallPolicies(ListFirewallPoliciesRequest request)
Returns the list of all firewall policies that belong to a project.
listKeys(ListKeysRequest request)
public ListKeysResponse listKeys(ListKeysRequest request)
Returns the list of all keys that belong to a project.
public ListRelatedAccountGroupMembershipsResponse listRelatedAccountGroupMemberships(ListRelatedAccountGroupMembershipsRequest request)
Get memberships in a group of related accounts.
public ListRelatedAccountGroupsResponse listRelatedAccountGroups(ListRelatedAccountGroupsRequest request)
List groups of related accounts.
migrateKey(MigrateKeyRequest request)
public Key migrateKey(MigrateKeyRequest request)
Migrates an existing key from reCAPTCHA to reCAPTCHA Enterprise.
Once a key is migrated, it can be used from either product. SiteVerify
requests are billed as CreateAssessment calls. You must be
authenticated as one of the current owners of the reCAPTCHA Key, and
your user must have the reCAPTCHA Enterprise Admin IAM role in the
destination project.
Returns |
Type |
Description |
Key |
|
reorderFirewallPolicies(ReorderFirewallPoliciesRequest request)
public ReorderFirewallPoliciesResponse reorderFirewallPolicies(ReorderFirewallPoliciesRequest request)
Reorders all firewall policies.
retrieveLegacySecretKey(RetrieveLegacySecretKeyRequest request)
public RetrieveLegacySecretKeyResponse retrieveLegacySecretKey(RetrieveLegacySecretKeyRequest request)
Returns the secret key related to the specified public key.
You must use the legacy secret key only in a 3rd party integration with
legacy reCAPTCHA.
public SearchRelatedAccountGroupMembershipsResponse searchRelatedAccountGroupMemberships(SearchRelatedAccountGroupMembershipsRequest request)
Search group memberships related to a given account.
updateFirewallPolicy(UpdateFirewallPolicyRequest request)
public FirewallPolicy updateFirewallPolicy(UpdateFirewallPolicyRequest request)
Updates the specified firewall policy.
updateKey(UpdateKeyRequest request)
public Key updateKey(UpdateKeyRequest request)
Updates the specified key.
Returns |
Type |
Description |
Key |
|