Skip to content

Commit a0b6245

Browse files
authored
chore(SecretManager): Update the region tags to match with other languages (#2084)
1 parent f8e1b97 commit a0b6245

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

secretmanager/src/regional_iam_grant_access.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
namespace Google\Cloud\Samples\SecretManager;
2727

28-
// [START secretmanager_regional_iam_grant_access]
28+
// [START secretmanager_iam_grant_access_with_regional_secret]
2929
// Import the Secret Manager client library.
3030
use Google\Cloud\SecretManager\V1\Client\SecretManagerServiceClient;
3131

@@ -73,7 +73,7 @@ function regional_iam_grant_access(string $projectId, string $locationId, string
7373
// Print out a success message.
7474
printf('Updated IAM policy for %s', $secretId);
7575
}
76-
// [END secretmanager_regional_iam_grant_access]
76+
// [END secretmanager_iam_grant_access_with_regional_secret]
7777

7878
// The following 2 lines are only needed to execute the samples on the CLI
7979
require_once __DIR__ . '/../../testing/sample_helpers.php';

secretmanager/src/regional_iam_revoke_access.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
namespace Google\Cloud\Samples\SecretManager;
2727

28-
// [START secretmanager_regional_iam_revoke_access]
28+
// [START secretmanager_iam_revoke_access_with_regional_secret]
2929
// Import the Secret Manager client library.
3030
use Google\Cloud\SecretManager\V1\Client\SecretManagerServiceClient;
3131
use Google\Cloud\Iam\V1\GetIamPolicyRequest;
@@ -76,7 +76,7 @@ function regional_iam_revoke_access(string $projectId, string $locationId, strin
7676
// Print out a success message.
7777
printf('Updated IAM policy for %s', $secretId);
7878
}
79-
// [END secretmanager_regional_iam_revoke_access]
79+
// [END secretmanager_iam_revoke_access_with_regional_secret]
8080

8181
// The following 2 lines are only needed to execute the samples on the CLI
8282
require_once __DIR__ . '/../../testing/sample_helpers.php';

0 commit comments

Comments
 (0)