Skip to content

Commit a1924aa

Browse files
jmdobrybshaffer
authored andcommitted
Clean up DLP region tags. (GoogleCloudPlatform#568)
1 parent 1da0f53 commit a1924aa

File tree

7 files changed

+14
-14
lines changed

7 files changed

+14
-14
lines changed

dlp/src/inspect_bigquery.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
*/
1818
namespace Google\Cloud\Samples\Dlp;
1919

20-
# [START inspect_bigquery]
20+
# [START dlp_inspect_bigquery]
2121
use Google\Cloud\Dlp\V2beta1\DlpServiceClient;
2222
use Google\Cloud\Dlp\V2beta1\BigQueryOptions;
2323
use Google\Cloud\Dlp\V2beta1\InfoType;
@@ -98,4 +98,4 @@ function inspect_bigquery(
9898
print_r($operation->getError());
9999
}
100100
}
101-
# [END inspect_bigquery]
101+
# [END dlp_inspect_bigquery]

dlp/src/inspect_datastore.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
*/
1818
namespace Google\Cloud\Samples\Dlp;
1919

20-
# [START inspect_datastore]
20+
# [START dlp_inspect_datastore]
2121
use Google\Cloud\Dlp\V2beta1\DlpServiceClient;
2222
use Google\Cloud\Dlp\V2beta1\DatastoreOptions;
2323
use Google\Cloud\Dlp\V2beta1\InfoType;
@@ -105,4 +105,4 @@ function inspect_datastore(
105105
print_r($operation->getError());
106106
}
107107
}
108-
# [END inspect_datastore]
108+
# [END dlp_inspect_datastore]

dlp/src/inspect_file.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
*/
1818
namespace Google\Cloud\Samples\Dlp;
1919

20-
# [START inspect_file]
20+
# [START dlp_inspect_file]
2121
use Google\Cloud\Dlp\V2beta1\DlpServiceClient;
2222
use Google\Cloud\Dlp\V2beta1\ContentItem;
2323
use Google\Cloud\Dlp\V2beta1\InfoType;
@@ -81,4 +81,4 @@ function inspect_file(
8181
}
8282
}
8383
}
84-
# [END inspect_file]
84+
# [END dlp_inspect_file]

dlp/src/inspect_string.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
*/
1818
namespace Google\Cloud\Samples\Dlp;
1919

20-
# [START inspect_string]
20+
# [START dlp_inspect_string]
2121
use Google\Cloud\Dlp\V2beta1\DlpServiceClient;
2222
use Google\Cloud\Dlp\V2beta1\ContentItem;
2323
use Google\Cloud\Dlp\V2beta1\InfoType;
@@ -80,4 +80,4 @@ function inspect_string(
8080
}
8181
}
8282
}
83-
# [END inspect_string]
83+
# [END dlp_inspect_string]

dlp/src/list_categories.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
*/
1818
namespace Google\Cloud\Samples\Dlp;
1919

20-
# [START list_categories]
20+
# [START dlp_list_categories]
2121
use Google\Cloud\Dlp\V2beta1\DlpServiceClient;
2222

2323
/**
@@ -41,4 +41,4 @@ function list_categories($languageCode = '')
4141
$category->getName());
4242
}
4343
}
44-
# [END list_categories]
44+
# [END dlp_list_categories]

dlp/src/list_info_types.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
*/
1818
namespace Google\Cloud\Samples\Dlp;
1919

20-
# [START list_info_types]
20+
# [START dlp_list_info_types]
2121
use Google\Cloud\Dlp\V2beta1\DlpServiceClient;
2222

2323
/**
@@ -42,4 +42,4 @@ function list_info_types($category = '', $languageCode = '')
4242
$infoType->getName());
4343
}
4444
}
45-
# [END list_info_types]
45+
# [END dlp_list_info_types]

dlp/src/redact_string.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
*/
1818
namespace Google\Cloud\Samples\Dlp;
1919

20-
# [START redact_string]
20+
# [START dlp_redact_string]
2121
use Google\Cloud\Dlp\V2beta1\DlpServiceClient;
2222
use Google\Cloud\Dlp\V2beta1\ContentItem;
2323
use Google\Cloud\Dlp\V2beta1\InfoType;
@@ -79,4 +79,4 @@ function redact_string(
7979
// Print the results
8080
print('Redacted String: ' . $content->getValue() . PHP_EOL);
8181
}
82-
# [END redact_string]
82+
# [END dlp_redact_string]

0 commit comments

Comments
 (0)