Class RecaptchaEnterpriseServiceConnection (2.19.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
TypeDescription
Options

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

Parameter
NameDescription
request google::cloud::recaptchaenterprise::v1::CreateAssessmentRequest const &
Returns
TypeDescription
StatusOr< google::cloud::recaptchaenterprise::v1::Assessment >

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

Parameter
NameDescription
request google::cloud::recaptchaenterprise::v1::AnnotateAssessmentRequest const &
Returns
TypeDescription
StatusOr< google::cloud::recaptchaenterprise::v1::AnnotateAssessmentResponse >

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

Parameter
NameDescription
request google::cloud::recaptchaenterprise::v1::CreateKeyRequest const &
Returns
TypeDescription
StatusOr< google::cloud::recaptchaenterprise::v1::Key >

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

Parameter
NameDescription
request google::cloud::recaptchaenterprise::v1::ListKeysRequest
Returns
TypeDescription
StreamRange< google::cloud::recaptchaenterprise::v1::Key >

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

Parameter
NameDescription
request google::cloud::recaptchaenterprise::v1::RetrieveLegacySecretKeyRequest const &
Returns
TypeDescription
StatusOr< google::cloud::recaptchaenterprise::v1::RetrieveLegacySecretKeyResponse >

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

Parameter
NameDescription
request google::cloud::recaptchaenterprise::v1::GetKeyRequest const &
Returns
TypeDescription
StatusOr< google::cloud::recaptchaenterprise::v1::Key >

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

Parameter
NameDescription
request google::cloud::recaptchaenterprise::v1::UpdateKeyRequest const &
Returns
TypeDescription
StatusOr< google::cloud::recaptchaenterprise::v1::Key >

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

Parameter
NameDescription
request google::cloud::recaptchaenterprise::v1::DeleteKeyRequest const &
Returns
TypeDescription
Status

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

Parameter
NameDescription
request google::cloud::recaptchaenterprise::v1::MigrateKeyRequest const &
Returns
TypeDescription
StatusOr< google::cloud::recaptchaenterprise::v1::Key >

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

Parameter
NameDescription
request google::cloud::recaptchaenterprise::v1::GetMetricsRequest const &
Returns
TypeDescription
StatusOr< google::cloud::recaptchaenterprise::v1::Metrics >

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

Parameter
NameDescription
request google::cloud::recaptchaenterprise::v1::CreateFirewallPolicyRequest const &
Returns
TypeDescription
StatusOr< google::cloud::recaptchaenterprise::v1::FirewallPolicy >

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

Parameter
NameDescription
request google::cloud::recaptchaenterprise::v1::ListFirewallPoliciesRequest
Returns
TypeDescription
StreamRange< google::cloud::recaptchaenterprise::v1::FirewallPolicy >

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

Parameter
NameDescription
request google::cloud::recaptchaenterprise::v1::GetFirewallPolicyRequest const &
Returns
TypeDescription
StatusOr< google::cloud::recaptchaenterprise::v1::FirewallPolicy >

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

Parameter
NameDescription
request google::cloud::recaptchaenterprise::v1::UpdateFirewallPolicyRequest const &
Returns
TypeDescription
StatusOr< google::cloud::recaptchaenterprise::v1::FirewallPolicy >

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

Parameter
NameDescription
request google::cloud::recaptchaenterprise::v1::DeleteFirewallPolicyRequest const &
Returns
TypeDescription
Status

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

Parameter
NameDescription
request google::cloud::recaptchaenterprise::v1::ListRelatedAccountGroupsRequest
Returns
TypeDescription
StreamRange< google::cloud::recaptchaenterprise::v1::RelatedAccountGroup >

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

Parameter
NameDescription
request google::cloud::recaptchaenterprise::v1::ListRelatedAccountGroupMembershipsRequest
Returns
TypeDescription
StreamRange< google::cloud::recaptchaenterprise::v1::RelatedAccountGroupMembership >

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

Parameter
NameDescription
request google::cloud::recaptchaenterprise::v1::SearchRelatedAccountGroupMembershipsRequest
Returns
TypeDescription
StreamRange< google::cloud::recaptchaenterprise::v1::RelatedAccountGroupMembership >