Class RecaptchaEnterpriseServiceConnection (2.32.0)

This interface defines virtual methods for each of the user-facing overload sets in RecaptchaEnterpriseServiceClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type RecaptchaEnterpriseServiceClient.

To create a concrete instance, see MakeRecaptchaEnterpriseServiceConnection().

For mocking, see recaptchaenterprise_v1_mocks::MockRecaptchaEnterpriseServiceConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual CreateAssessment(google::cloud::recaptchaenterprise::v1::CreateAssessmentRequest const &)

Parameter
Name Description
request google::cloud::recaptchaenterprise::v1::CreateAssessmentRequest const &
Returns
Type Description
StatusOr< google::cloud::recaptchaenterprise::v1::Assessment >

virtual AnnotateAssessment(google::cloud::recaptchaenterprise::v1::AnnotateAssessmentRequest const &)

Parameter
Name Description
request google::cloud::recaptchaenterprise::v1::AnnotateAssessmentRequest const &
Returns
Type Description
StatusOr< google::cloud::recaptchaenterprise::v1::AnnotateAssessmentResponse >

virtual CreateKey(google::cloud::recaptchaenterprise::v1::CreateKeyRequest const &)

Parameter
Name Description
request google::cloud::recaptchaenterprise::v1::CreateKeyRequest const &
Returns
Type Description
StatusOr< google::cloud::recaptchaenterprise::v1::Key >

virtual ListKeys(google::cloud::recaptchaenterprise::v1::ListKeysRequest)

Parameter
Name Description
request google::cloud::recaptchaenterprise::v1::ListKeysRequest
Returns
Type Description
StreamRange< google::cloud::recaptchaenterprise::v1::Key >

virtual RetrieveLegacySecretKey(google::cloud::recaptchaenterprise::v1::RetrieveLegacySecretKeyRequest const &)

Parameter
Name Description
request google::cloud::recaptchaenterprise::v1::RetrieveLegacySecretKeyRequest const &
Returns
Type Description
StatusOr< google::cloud::recaptchaenterprise::v1::RetrieveLegacySecretKeyResponse >

virtual GetKey(google::cloud::recaptchaenterprise::v1::GetKeyRequest const &)

Parameter
Name Description
request google::cloud::recaptchaenterprise::v1::GetKeyRequest const &
Returns
Type Description
StatusOr< google::cloud::recaptchaenterprise::v1::Key >

virtual UpdateKey(google::cloud::recaptchaenterprise::v1::UpdateKeyRequest const &)

Parameter
Name Description
request google::cloud::recaptchaenterprise::v1::UpdateKeyRequest const &
Returns
Type Description
StatusOr< google::cloud::recaptchaenterprise::v1::Key >

virtual DeleteKey(google::cloud::recaptchaenterprise::v1::DeleteKeyRequest const &)

Parameter
Name Description
request google::cloud::recaptchaenterprise::v1::DeleteKeyRequest const &
Returns
Type Description
Status

virtual MigrateKey(google::cloud::recaptchaenterprise::v1::MigrateKeyRequest const &)

Parameter
Name Description
request google::cloud::recaptchaenterprise::v1::MigrateKeyRequest const &
Returns
Type Description
StatusOr< google::cloud::recaptchaenterprise::v1::Key >

virtual AddIpOverride(google::cloud::recaptchaenterprise::v1::AddIpOverrideRequest const &)

Parameter
Name Description
request google::cloud::recaptchaenterprise::v1::AddIpOverrideRequest const &
Returns
Type Description
StatusOr< google::cloud::recaptchaenterprise::v1::AddIpOverrideResponse >

virtual RemoveIpOverride(google::cloud::recaptchaenterprise::v1::RemoveIpOverrideRequest const &)

Parameter
Name Description
request google::cloud::recaptchaenterprise::v1::RemoveIpOverrideRequest const &
Returns
Type Description
StatusOr< google::cloud::recaptchaenterprise::v1::RemoveIpOverrideResponse >

virtual ListIpOverrides(google::cloud::recaptchaenterprise::v1::ListIpOverridesRequest)

Parameter
Name Description
request google::cloud::recaptchaenterprise::v1::ListIpOverridesRequest
Returns
Type Description
StreamRange< google::cloud::recaptchaenterprise::v1::IpOverrideData >

virtual GetMetrics(google::cloud::recaptchaenterprise::v1::GetMetricsRequest const &)

Parameter
Name Description
request google::cloud::recaptchaenterprise::v1::GetMetricsRequest const &
Returns
Type Description
StatusOr< google::cloud::recaptchaenterprise::v1::Metrics >

virtual CreateFirewallPolicy(google::cloud::recaptchaenterprise::v1::CreateFirewallPolicyRequest const &)

Parameter
Name Description
request google::cloud::recaptchaenterprise::v1::CreateFirewallPolicyRequest const &
Returns
Type Description
StatusOr< google::cloud::recaptchaenterprise::v1::FirewallPolicy >

virtual ListFirewallPolicies(google::cloud::recaptchaenterprise::v1::ListFirewallPoliciesRequest)

Parameter
Name Description
request google::cloud::recaptchaenterprise::v1::ListFirewallPoliciesRequest
Returns
Type Description
StreamRange< google::cloud::recaptchaenterprise::v1::FirewallPolicy >

virtual GetFirewallPolicy(google::cloud::recaptchaenterprise::v1::GetFirewallPolicyRequest const &)

Parameter
Name Description
request google::cloud::recaptchaenterprise::v1::GetFirewallPolicyRequest const &
Returns
Type Description
StatusOr< google::cloud::recaptchaenterprise::v1::FirewallPolicy >

virtual UpdateFirewallPolicy(google::cloud::recaptchaenterprise::v1::UpdateFirewallPolicyRequest const &)

Parameter
Name Description
request google::cloud::recaptchaenterprise::v1::UpdateFirewallPolicyRequest const &
Returns
Type Description
StatusOr< google::cloud::recaptchaenterprise::v1::FirewallPolicy >

virtual DeleteFirewallPolicy(google::cloud::recaptchaenterprise::v1::DeleteFirewallPolicyRequest const &)

Parameter
Name Description
request google::cloud::recaptchaenterprise::v1::DeleteFirewallPolicyRequest const &
Returns
Type Description
Status

virtual ReorderFirewallPolicies(google::cloud::recaptchaenterprise::v1::ReorderFirewallPoliciesRequest const &)

Parameter
Name Description
request google::cloud::recaptchaenterprise::v1::ReorderFirewallPoliciesRequest const &
Returns
Type Description
StatusOr< google::cloud::recaptchaenterprise::v1::ReorderFirewallPoliciesResponse >

virtual ListRelatedAccountGroups(google::cloud::recaptchaenterprise::v1::ListRelatedAccountGroupsRequest)

Parameter
Name Description
request google::cloud::recaptchaenterprise::v1::ListRelatedAccountGroupsRequest
Returns
Type Description
StreamRange< google::cloud::recaptchaenterprise::v1::RelatedAccountGroup >

virtual ListRelatedAccountGroupMemberships(google::cloud::recaptchaenterprise::v1::ListRelatedAccountGroupMembershipsRequest)

Parameter
Name Description
request google::cloud::recaptchaenterprise::v1::ListRelatedAccountGroupMembershipsRequest
Returns
Type Description
StreamRange< google::cloud::recaptchaenterprise::v1::RelatedAccountGroupMembership >

virtual SearchRelatedAccountGroupMemberships(google::cloud::recaptchaenterprise::v1::SearchRelatedAccountGroupMembershipsRequest)

Parameter
Name Description
request google::cloud::recaptchaenterprise::v1::SearchRelatedAccountGroupMembershipsRequest
Returns
Type Description
StreamRange< google::cloud::recaptchaenterprise::v1::RelatedAccountGroupMembership >