Skip to content

Style(secretmanager): Update the region tags to match with other lang… #2084

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions secretmanager/src/regional_iam_grant_access.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

namespace Google\Cloud\Samples\SecretManager;

// [START secretmanager_regional_iam_grant_access]
// [START secretmanager_iam_grant_access_with_regional_secret]
// Import the Secret Manager client library.
use Google\Cloud\SecretManager\V1\Client\SecretManagerServiceClient;

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

// The following 2 lines are only needed to execute the samples on the CLI
require_once __DIR__ . '/../../testing/sample_helpers.php';
Expand Down
4 changes: 2 additions & 2 deletions secretmanager/src/regional_iam_revoke_access.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

namespace Google\Cloud\Samples\SecretManager;

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

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