Skip to content
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

Clean up DLP region tags. #568

Merged
merged 1 commit into from
Mar 7, 2018
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 dlp/src/inspect_bigquery.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/
namespace Google\Cloud\Samples\Dlp;

# [START inspect_bigquery]
# [START dlp_inspect_bigquery]
use Google\Cloud\Dlp\V2beta1\DlpServiceClient;
use Google\Cloud\Dlp\V2beta1\BigQueryOptions;
use Google\Cloud\Dlp\V2beta1\InfoType;
Expand Down Expand Up @@ -98,4 +98,4 @@ function inspect_bigquery(
print_r($operation->getError());
}
}
# [END inspect_bigquery]
# [END dlp_inspect_bigquery]
4 changes: 2 additions & 2 deletions dlp/src/inspect_datastore.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/
namespace Google\Cloud\Samples\Dlp;

# [START inspect_datastore]
# [START dlp_inspect_datastore]
use Google\Cloud\Dlp\V2beta1\DlpServiceClient;
use Google\Cloud\Dlp\V2beta1\DatastoreOptions;
use Google\Cloud\Dlp\V2beta1\InfoType;
Expand Down Expand Up @@ -105,4 +105,4 @@ function inspect_datastore(
print_r($operation->getError());
}
}
# [END inspect_datastore]
# [END dlp_inspect_datastore]
4 changes: 2 additions & 2 deletions dlp/src/inspect_file.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/
namespace Google\Cloud\Samples\Dlp;

# [START inspect_file]
# [START dlp_inspect_file]
use Google\Cloud\Dlp\V2beta1\DlpServiceClient;
use Google\Cloud\Dlp\V2beta1\ContentItem;
use Google\Cloud\Dlp\V2beta1\InfoType;
Expand Down Expand Up @@ -81,4 +81,4 @@ function inspect_file(
}
}
}
# [END inspect_file]
# [END dlp_inspect_file]
4 changes: 2 additions & 2 deletions dlp/src/inspect_string.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/
namespace Google\Cloud\Samples\Dlp;

# [START inspect_string]
# [START dlp_inspect_string]
use Google\Cloud\Dlp\V2beta1\DlpServiceClient;
use Google\Cloud\Dlp\V2beta1\ContentItem;
use Google\Cloud\Dlp\V2beta1\InfoType;
Expand Down Expand Up @@ -80,4 +80,4 @@ function inspect_string(
}
}
}
# [END inspect_string]
# [END dlp_inspect_string]
4 changes: 2 additions & 2 deletions dlp/src/list_categories.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/
namespace Google\Cloud\Samples\Dlp;

# [START list_categories]
# [START dlp_list_categories]
use Google\Cloud\Dlp\V2beta1\DlpServiceClient;

/**
Expand All @@ -41,4 +41,4 @@ function list_categories($languageCode = '')
$category->getName());
}
}
# [END list_categories]
# [END dlp_list_categories]
4 changes: 2 additions & 2 deletions dlp/src/list_info_types.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/
namespace Google\Cloud\Samples\Dlp;

# [START list_info_types]
# [START dlp_list_info_types]
use Google\Cloud\Dlp\V2beta1\DlpServiceClient;

/**
Expand All @@ -42,4 +42,4 @@ function list_info_types($category = '', $languageCode = '')
$infoType->getName());
}
}
# [END list_info_types]
# [END dlp_list_info_types]
4 changes: 2 additions & 2 deletions dlp/src/redact_string.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/
namespace Google\Cloud\Samples\Dlp;

# [START redact_string]
# [START dlp_redact_string]
use Google\Cloud\Dlp\V2beta1\DlpServiceClient;
use Google\Cloud\Dlp\V2beta1\ContentItem;
use Google\Cloud\Dlp\V2beta1\InfoType;
Expand Down Expand Up @@ -79,4 +79,4 @@ function redact_string(
// Print the results
print('Redacted String: ' . $content->getValue() . PHP_EOL);
}
# [END redact_string]
# [END dlp_redact_string]