Skip to content

Commit 1f6c798

Browse files
committed
Fix import path, comments
1 parent a980d1b commit 1f6c798

15 files changed

+35
-35
lines changed

secretmanager/quickstart.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@
2626

2727
// [START secretmanager_quickstart]
2828
// Import the Secret Manager client library.
29-
use Google\Cloud\SecretManager\V1Beta1\Replication;
30-
use Google\Cloud\SecretManager\V1Beta1\Replication\Automatic;
31-
use Google\Cloud\SecretManager\V1Beta1\Secret;
32-
use Google\Cloud\SecretManager\V1Beta1\SecretManagerServiceClient;
33-
use Google\Cloud\SecretManager\V1Beta1\SecretPayload;
29+
use Google\Cloud\SecretManager\V1beta1\Replication;
30+
use Google\Cloud\SecretManager\V1beta1\Replication\Automatic;
31+
use Google\Cloud\SecretManager\V1beta1\Secret;
32+
use Google\Cloud\SecretManager\V1beta1\SecretManagerServiceClient;
33+
use Google\Cloud\SecretManager\V1beta1\SecretPayload;
3434

3535
/** Uncomment and populate these variables in your code */
3636
// $projectId = 'YOUR_GOOGLE_CLOUD_PROJECT' (e.g. 'my-project');

secretmanager/src/access_secret_version.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@
3232

3333
// [START secretmanager_access_secret_version]
3434
// Import the Secret Manager client library.
35-
use Google\Cloud\SecretManager\V1Beta1\SecretManagerServiceClient;
35+
use Google\Cloud\SecretManager\V1beta1\SecretManagerServiceClient;
3636

3737
/** Uncomment and populate these variables in your code */
3838
// $projectId = 'YOUR_GOOGLE_CLOUD_PROJECT' (e.g. 'my-project');
3939
// $secretId = 'YOUR_SECRET_ID' (e.g. 'my-secret');
40-
// versionId = 'YOUR_VERSION_ID' (e.g. 'latest' or '5');
40+
// $versionId = 'YOUR_VERSION_ID' (e.g. 'latest' or '5');
4141

4242
// Create the Secret Manager client.
4343
$client = new SecretManagerServiceClient();

secretmanager/src/add_secret_version.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232

3333
// [START secretmanager_add_secret_version]
3434
// Import the Secret Manager client library.
35-
use Google\Cloud\SecretManager\V1Beta1\SecretManagerServiceClient;
36-
use Google\Cloud\SecretManager\V1Beta1\SecretPayload;
35+
use Google\Cloud\SecretManager\V1beta1\SecretManagerServiceClient;
36+
use Google\Cloud\SecretManager\V1beta1\SecretPayload;
3737

3838
/** Uncomment and populate these variables in your code */
3939
// $projectId = 'YOUR_GOOGLE_CLOUD_PROJECT' (e.g. 'my-project');

secretmanager/src/create_secret.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@
3232

3333
// [START secretmanager_create_secret]
3434
// Import the Secret Manager client library.
35-
use Google\Cloud\SecretManager\V1Beta1\Replication;
36-
use Google\Cloud\SecretManager\V1Beta1\Replication\Automatic;
37-
use Google\Cloud\SecretManager\V1Beta1\Secret;
38-
use Google\Cloud\SecretManager\V1Beta1\SecretManagerServiceClient;
35+
use Google\Cloud\SecretManager\V1beta1\Replication;
36+
use Google\Cloud\SecretManager\V1beta1\Replication\Automatic;
37+
use Google\Cloud\SecretManager\V1beta1\Secret;
38+
use Google\Cloud\SecretManager\V1beta1\SecretManagerServiceClient;
3939

4040
/** Uncomment and populate these variables in your code */
4141
// $projectId = 'YOUR_GOOGLE_CLOUD_PROJECT' (e.g. 'my-project');

secretmanager/src/delete_secret.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
// [START secretmanager_delete_secret]
3434
// Import the Secret Manager client library.
35-
use Google\Cloud\SecretManager\V1Beta1\SecretManagerServiceClient;
35+
use Google\Cloud\SecretManager\V1beta1\SecretManagerServiceClient;
3636

3737
/** Uncomment and populate these variables in your code */
3838
// $projectId = 'YOUR_GOOGLE_CLOUD_PROJECT' (e.g. 'my-project');

secretmanager/src/destroy_secret_version.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@
3232

3333
// [START secretmanager_destroy_secret_version]
3434
// Import the Secret Manager client library.
35-
use Google\Cloud\SecretManager\V1Beta1\SecretManagerServiceClient;
35+
use Google\Cloud\SecretManager\V1beta1\SecretManagerServiceClient;
3636

3737
/** Uncomment and populate these variables in your code */
3838
// $projectId = 'YOUR_GOOGLE_CLOUD_PROJECT' (e.g. 'my-project');
3939
// $secretId = 'YOUR_SECRET_ID' (e.g. 'my-secret');
40-
// versionId = 'YOUR_VERSION_ID' (e.g. 'latest' or '5');
40+
// $versionId = 'YOUR_VERSION_ID' (e.g. 'latest' or '5');
4141

4242
// Create the Secret Manager client.
4343
$client = new SecretManagerServiceClient();

secretmanager/src/disable_secret_version.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@
3232

3333
// [START secretmanager_disable_secret_version]
3434
// Import the Secret Manager client library.
35-
use Google\Cloud\SecretManager\V1Beta1\SecretManagerServiceClient;
35+
use Google\Cloud\SecretManager\V1beta1\SecretManagerServiceClient;
3636

3737
/** Uncomment and populate these variables in your code */
3838
// $projectId = 'YOUR_GOOGLE_CLOUD_PROJECT' (e.g. 'my-project');
3939
// $secretId = 'YOUR_SECRET_ID' (e.g. 'my-secret');
40-
// versionId = 'YOUR_VERSION_ID' (e.g. 'latest' or '5');
40+
// $versionId = 'YOUR_VERSION_ID' (e.g. 'latest' or '5');
4141

4242
// Create the Secret Manager client.
4343
$client = new SecretManagerServiceClient();

secretmanager/src/enable_secret_version.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@
3232

3333
// [START secretmanager_enable_secret_version]
3434
// Import the Secret Manager client library.
35-
use Google\Cloud\SecretManager\V1Beta1\SecretManagerServiceClient;
35+
use Google\Cloud\SecretManager\V1beta1\SecretManagerServiceClient;
3636

3737
/** Uncomment and populate these variables in your code */
3838
// $projectId = 'YOUR_GOOGLE_CLOUD_PROJECT' (e.g. 'my-project');
3939
// $secretId = 'YOUR_SECRET_ID' (e.g. 'my-secret');
40-
// versionId = 'YOUR_VERSION_ID' (e.g. 'latest' or '5');
40+
// $versionId = 'YOUR_VERSION_ID' (e.g. 'latest' or '5');
4141

4242
// Create the Secret Manager client.
4343
$client = new SecretManagerServiceClient();

secretmanager/src/get_secret.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
// [START secretmanager_get_secret]
3434
// Import the Secret Manager client library.
35-
use Google\Cloud\SecretManager\V1Beta1\SecretManagerServiceClient;
35+
use Google\Cloud\SecretManager\V1beta1\SecretManagerServiceClient;
3636

3737
/** Uncomment and populate these variables in your code */
3838
// $projectId = 'YOUR_GOOGLE_CLOUD_PROJECT' (e.g. 'my-project');

secretmanager/src/get_secret_version.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@
3232

3333
// [START secretmanager_get_secret_version]
3434
// Import the Secret Manager client library.
35-
use Google\Cloud\SecretManager\V1Beta1\SecretManagerServiceClient;
36-
use Google\Cloud\SecretManager\V1Beta1\SecretVersion\State;
35+
use Google\Cloud\SecretManager\V1beta1\SecretManagerServiceClient;
36+
use Google\Cloud\SecretManager\V1beta1\SecretVersion\State;
3737

3838
/** Uncomment and populate these variables in your code */
3939
// $projectId = 'YOUR_GOOGLE_CLOUD_PROJECT' (e.g. 'my-project');
4040
// $secretId = 'YOUR_SECRET_ID' (e.g. 'my-secret');
41-
// versionId = 'YOUR_VERSION_ID' (e.g. 'latest' or '5');
41+
// $versionId = 'YOUR_VERSION_ID' (e.g. 'latest' or '5');
4242

4343
// Create the Secret Manager client.
4444
$client = new SecretManagerServiceClient();

0 commit comments

Comments
 (0)