Skip to content

Commit d98b3ef

Browse files
authored
fix(dlp): corrected the region tags (GoogleCloudPlatform#1924)
1 parent cb97568 commit d98b3ef

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

dlp/src/inspect_text_file.php

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

2424
namespace Google\Cloud\Samples\Dlp;
2525

26-
// [START dlp_inspect_text_file]
26+
// [START dlp_inspect_file]
2727
use Google\Cloud\Dlp\V2\DlpServiceClient;
2828
use Google\Cloud\Dlp\V2\ContentItem;
2929
use Google\Cloud\Dlp\V2\InfoType;
@@ -81,7 +81,7 @@ function inspect_text_file(string $projectId, string $filepath): void
8181
}
8282
}
8383
}
84-
// [END dlp_inspect_text_file]
84+
// [END dlp_inspect_file]
8585

8686
// The following 2 lines are only needed to run the samples
8787
require_once __DIR__ . '/../../testing/sample_helpers.php';

dlp/src/k_anonymity.php

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

2424
namespace Google\Cloud\Samples\Dlp;
2525

26-
# [START dlp_k_anomymity]
26+
# [START dlp_k_anonymity]
2727
use Google\Cloud\Dlp\V2\DlpServiceClient;
2828
use Google\Cloud\Dlp\V2\RiskAnalysisJobConfig;
2929
use Google\Cloud\Dlp\V2\BigQueryTable;
@@ -169,7 +169,7 @@ function ($id) {
169169
print('Unexpected job state. Most likely, the job is either running or has not yet started.');
170170
}
171171
}
172-
# [END dlp_k_anomymity]
172+
# [END dlp_k_anonymity]
173173

174174
// The following 2 lines are only needed to run the samples
175175
require_once __DIR__ . '/../../testing/sample_helpers.php';

0 commit comments

Comments
 (0)