Skip to content

fix(secretmanager): update tag for create regional secret with tags sample #2145

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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/create_regional_secret_with_tags.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_create_secret_with_tags]
// [START secretmanager_create_regional_secret_with_tags]
// Import the Secret Manager client library.
use Google\Cloud\SecretManager\V1\CreateSecretRequest;
use Google\Cloud\SecretManager\V1\Secret;
Expand Down Expand Up @@ -64,7 +64,7 @@ function create_regional_secret_with_tags(string $projectId, string $locationId,
// Print the new secret name.
printf('Created secret %s with tag', $newSecret->getName());
}
// [END secretmanager_regional_create_secret_with_tags]
// [END secretmanager_create_regional_secret_with_tags]

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