googleapis / googleapis/gapic-generator-php

Incorrect sample for RecaptchaEnterprise

Open
#605 3 comments 0 reactions 0 assignees View on GitHub
priority: p2 samples type: bug
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.