Skip to content

Commit 215ae31

Browse files
feat: [dlp] inspect template modified cadence discovery config for Cloud SQL (#5623)
* feat: inspect template modified cadence discovery config for Cloud SQL feat: file store data profiles can now be filtered by type and storage location docs: small improvements PiperOrigin-RevId: 663887424 Source-Link: googleapis/googleapis@07ee675 Source-Link: googleapis/googleapis-gen@6f7f8eb Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLXByaXZhY3ktZGxwLy5Pd2xCb3QueWFtbCIsImgiOiI2ZjdmOGViY2Y2ZTJkODY1YWU5MmI1NzZlNWFkMDBjMDAwN2I3ZTllIn0= * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent fec393a commit 215ae31

7 files changed

Lines changed: 67 additions & 2 deletions

File tree

packages/google-privacy-dlp/protos/google/privacy/dlp/v2/dlp.proto

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5581,6 +5581,11 @@ message DiscoveryCloudSqlGenerationCadence {
55815581
// frequency regardless of whether the underlying tables have changed.
55825582
// Defaults to never.
55835583
DataProfileUpdateFrequency refresh_frequency = 2;
5584+
5585+
// Governs when to update data profiles when the inspection rules
5586+
// defined by the `InspectTemplate` change.
5587+
// If not set, changing the template will not cause a data profile to update.
5588+
DiscoveryInspectTemplateModifiedCadence inspect_template_modified_cadence = 3;
55845589
}
55855590

55865591
// Discovery target for credentials and secrets in cloud resource metadata.
@@ -7502,10 +7507,12 @@ message FileClusterSummary {
75027507
repeated Error errors = 6;
75037508

75047509
// A sample of file types scanned in this cluster. Empty if no files were
7505-
// scanned.
7510+
// scanned. File extensions can be derived from the file name or the file
7511+
// content.
75067512
repeated FileExtensionInfo file_extensions_scanned = 7;
75077513

75087514
// A sample of file types seen in this cluster. Empty if no files were seen.
7515+
// File extensions can be derived from the file name or the file content.
75097516
repeated FileExtensionInfo file_extensions_seen = 8;
75107517

75117518
// True if no files exist in this cluster. If the bucket had more files than
@@ -7593,6 +7600,10 @@ message ListFileStoreDataProfilesRequest {
75937600
// * Supported fields/values:
75947601
// - `project_id` - The Google Cloud project ID.
75957602
// - `file_store_path` - The path like "gs://bucket".
7603+
// - `data_source_type` - The profile's data source type, like
7604+
// "google/storage/bucket".
7605+
// - `data_storage_location` - The location where the file store's data is
7606+
// stored, like "us-central1".
75967607
// - `sensitivity_level` - HIGH|MODERATE|LOW
75977608
// - `data_risk_level` - HIGH|MODERATE|LOW
75987609
// - `resource_visibility`: PUBLIC|RESTRICTED

packages/google-privacy-dlp/protos/protos.d.ts

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/google-privacy-dlp/protos/protos.js

Lines changed: 28 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/google-privacy-dlp/protos/protos.json

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/google-privacy-dlp/samples/generated/v2/dlp_service.list_file_store_data_profiles.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ function main(parent) {
7474
* * Supported fields/values:
7575
* - `project_id` - The Google Cloud project ID.
7676
* - `file_store_path` - The path like "gs://bucket".
77+
* - `data_source_type` - The profile's data source type, like
78+
* "google/storage/bucket".
79+
* - `data_storage_location` - The location where the file store's data is
80+
* stored, like "us-central1".
7781
* - `sensitivity_level` - HIGH|MODERATE|LOW
7882
* - `data_risk_level` - HIGH|MODERATE|LOW
7983
* - `resource_visibility`: PUBLIC|RESTRICTED

packages/google-privacy-dlp/samples/generated/v2/snippet_metadata_google.privacy.dlp.v2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2030,7 +2030,7 @@
20302030
"segments": [
20312031
{
20322032
"start": 25,
2033-
"end": 111,
2033+
"end": 115,
20342034
"type": "FULL"
20352035
}
20362036
],

packages/google-privacy-dlp/src/v2/dlp_service_client.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7850,6 +7850,10 @@ export class DlpServiceClient {
78507850
* * Supported fields/values:
78517851
* - `project_id` - The Google Cloud project ID.
78527852
* - `file_store_path` - The path like "gs://bucket".
7853+
* - `data_source_type` - The profile's data source type, like
7854+
* "google/storage/bucket".
7855+
* - `data_storage_location` - The location where the file store's data is
7856+
* stored, like "us-central1".
78537857
* - `sensitivity_level` - HIGH|MODERATE|LOW
78547858
* - `data_risk_level` - HIGH|MODERATE|LOW
78557859
* - `resource_visibility`: PUBLIC|RESTRICTED
@@ -8004,6 +8008,10 @@ export class DlpServiceClient {
80048008
* * Supported fields/values:
80058009
* - `project_id` - The Google Cloud project ID.
80068010
* - `file_store_path` - The path like "gs://bucket".
8011+
* - `data_source_type` - The profile's data source type, like
8012+
* "google/storage/bucket".
8013+
* - `data_storage_location` - The location where the file store's data is
8014+
* stored, like "us-central1".
80078015
* - `sensitivity_level` - HIGH|MODERATE|LOW
80088016
* - `data_risk_level` - HIGH|MODERATE|LOW
80098017
* - `resource_visibility`: PUBLIC|RESTRICTED
@@ -8102,6 +8110,10 @@ export class DlpServiceClient {
81028110
* * Supported fields/values:
81038111
* - `project_id` - The Google Cloud project ID.
81048112
* - `file_store_path` - The path like "gs://bucket".
8113+
* - `data_source_type` - The profile's data source type, like
8114+
* "google/storage/bucket".
8115+
* - `data_storage_location` - The location where the file store's data is
8116+
* stored, like "us-central1".
81058117
* - `sensitivity_level` - HIGH|MODERATE|LOW
81068118
* - `data_risk_level` - HIGH|MODERATE|LOW
81078119
* - `resource_visibility`: PUBLIC|RESTRICTED

0 commit comments

Comments
 (0)