Skip to content

Commit 3f262fc

Browse files
feat: [dlp] discovery of BigQuery snapshots (#5757)
* feat: discovery of BigQuery snapshots docs: documentation revisions for data profiles PiperOrigin-RevId: 686533927 Source-Link: googleapis/googleapis@4c44b30 Source-Link: googleapis/googleapis-gen@51494a6 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLXByaXZhY3ktZGxwLy5Pd2xCb3QueWFtbCIsImgiOiI1MTQ5NGE2MDRlNjY1NjQwNjExOGEyOTExYmQ0ODRhYTE0MzgyZGY3In0= * 🦉 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 312ba7f commit 3f262fc

5 files changed

Lines changed: 32 additions & 27 deletions

File tree

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

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,9 @@ option (google.api.resource_definition) = {
4747
pattern: "organizations/{organization}/locations/{location}"
4848
};
4949

50-
// The Cloud Data Loss Prevention (DLP) API is a service that allows clients
51-
// to detect the presence of Personally Identifiable Information (PII) and other
52-
// privacy-sensitive data in user-supplied, unstructured data streams, like text
53-
// blocks or images.
54-
// The service also includes methods for sensitive data redaction and
55-
// scheduling of data scans on Google Cloud Platform based data sets.
56-
//
50+
// Sensitive Data Protection provides access to a powerful sensitive data
51+
// inspection, classification, and de-identification platform that works
52+
// on text, images, and Google Cloud storage repositories.
5753
// To learn more about concepts and find how-to guides see
5854
// https://cloud.google.com/sensitive-data-protection/docs/.
5955
service DlpService {
@@ -5051,8 +5047,8 @@ message BigQueryTableTypes {
50515047
repeated BigQueryTableType types = 1;
50525048
}
50535049

5054-
// Over time new types may be added. Currently VIEW, MATERIALIZED_VIEW,
5055-
// and SNAPSHOT are not supported.
5050+
// Over time new types may be added. Currently VIEW, MATERIALIZED_VIEW, and
5051+
// non-BigLake external tables are not supported.
50565052
enum BigQueryTableTypeCollection {
50575053
// Unused.
50585054
BIG_QUERY_COLLECTION_UNSPECIFIED = 0;
@@ -5070,8 +5066,8 @@ enum BigQueryTableTypeCollection {
50705066
BIG_QUERY_COLLECTION_ONLY_SUPPORTED_TYPES = 2;
50715067
}
50725068

5073-
// Over time new types may be added. Currently VIEW, MATERIALIZED_VIEW,
5074-
// SNAPSHOT, and non-BigLake external tables are not supported.
5069+
// Over time new types may be added. Currently VIEW, MATERIALIZED_VIEW, and
5070+
// non-BigLake external tables are not supported.
50755071
enum BigQueryTableType {
50765072
// Unused.
50775073
BIG_QUERY_TABLE_TYPE_UNSPECIFIED = 0;
@@ -5081,6 +5077,9 @@ enum BigQueryTableType {
50815077

50825078
// A table that references data stored in Cloud Storage.
50835079
BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE = 2;
5080+
5081+
// A snapshot of a BigQuery table.
5082+
BIG_QUERY_TABLE_TYPE_SNAPSHOT = 3;
50845083
}
50855084

50865085
// How frequently data profiles can be updated. New options can be added at a
@@ -7301,13 +7300,14 @@ message TableDataProfile {
73017300
// locations.
73027301
string dataset_location = 29;
73037302

7304-
// If the resource is BigQuery, the dataset ID.
7303+
// If the resource is BigQuery, the dataset ID.
73057304
string dataset_id = 25;
73067305

7307-
// If the resource is BigQuery, the BigQuery table ID.
7306+
// The table ID.
73087307
string table_id = 26;
73097308

7310-
// The resource name of the resource profiled.
7309+
// The Cloud Asset Inventory resource that was profiled in order to generate
7310+
// this TableDataProfile.
73117311
// https://cloud.google.com/apis/design/resource_names#full_resource_name
73127312
string full_resource = 3;
73137313

@@ -7566,15 +7566,15 @@ message ColumnDataProfile {
75667566
// The Google Cloud project ID that owns the profiled resource.
75677567
string dataset_project_id = 19;
75687568

7569-
// The BigQuery location where the dataset's data is stored.
7569+
// If supported, the location where the dataset's data is stored.
75707570
// See https://cloud.google.com/bigquery/docs/locations for supported
7571-
// locations.
7571+
// BigQuery locations.
75727572
string dataset_location = 20;
75737573

7574-
// The BigQuery dataset ID.
7574+
// The BigQuery dataset ID, if the resource profiled is a BigQuery table.
75757575
string dataset_id = 21;
75767576

7577-
// The BigQuery table ID.
7577+
// The table ID.
75787578
string table_id = 22;
75797579

75807580
// The name of the column.

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

Lines changed: 2 additions & 1 deletion
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: 7 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: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,9 @@ import * as gapicConfig from './dlp_service_client_config.json';
4141
const version = require('../../../package.json').version;
4242

4343
/**
44-
* The Cloud Data Loss Prevention (DLP) API is a service that allows clients
45-
* to detect the presence of Personally Identifiable Information (PII) and other
46-
* privacy-sensitive data in user-supplied, unstructured data streams, like text
47-
* blocks or images.
48-
* The service also includes methods for sensitive data redaction and
49-
* scheduling of data scans on Google Cloud Platform based data sets.
50-
*
44+
* Sensitive Data Protection provides access to a powerful sensitive data
45+
* inspection, classification, and de-identification platform that works
46+
* on text, images, and Google Cloud storage repositories.
5147
* To learn more about concepts and find how-to guides see
5248
* https://cloud.google.com/sensitive-data-protection/docs/.
5349
* @class

0 commit comments

Comments
 (0)