googleapis / googleapis/gapic-generator-php
Incorrect sample for RecaptchaEnterprise
- Dominant language
- PHP
- Stars
- 14
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Description
Original Issue: [google-cloud-php link](https://github.com/googleapis/google-cloud-php/issues/5991)
> 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
Contributor guide
Assessment
This issue has not been assessed yet.