RecaptchaEnterpriseServiceClient/search_related_account_group_memberships.php example is wrong #5991
Labels
api: recaptchaenterprise
Issues related to the reCAPTCHA Enterprise API.
priority: p2
Moderately-important priority. Fix may not be included in next release.
Hi, the example for recaptcha enterprise account defender related groups feature is non functional, seems the generation of the example just needs a tweak
Example given https://github.com/googleapis/google-cloud-php-recaptcha-enterprise/blob/main/samples/V1/RecaptchaEnterpriseServiceClient/search_related_account_group_memberships.php#L71
This example uses the function https://github.com/googleapis/google-cloud-php-recaptcha-enterprise/blob/main/src/V1/Gapic/RecaptchaEnterpriseServiceGapicClient.php#L288
This should be a project name and hashed account ID ( passed as an array of optional arguments) as defined here
https://github.com/googleapis/google-cloud-php-recaptcha-enterprise/blob/main/src/V1/Gapic/RecaptchaEnterpriseServiceGapicClient.php#L1120
The text was updated successfully, but these errors were encountered: