diff --git a/packages/google-privacy-dlp/protos/google/privacy/dlp/v2/dlp.proto b/packages/google-privacy-dlp/protos/google/privacy/dlp/v2/dlp.proto index 64a69fb2546..a6e7acf3c00 100644 --- a/packages/google-privacy-dlp/protos/google/privacy/dlp/v2/dlp.proto +++ b/packages/google-privacy-dlp/protos/google/privacy/dlp/v2/dlp.proto @@ -47,13 +47,9 @@ option (google.api.resource_definition) = { pattern: "organizations/{organization}/locations/{location}" }; -// The Cloud Data Loss Prevention (DLP) API is a service that allows clients -// to detect the presence of Personally Identifiable Information (PII) and other -// privacy-sensitive data in user-supplied, unstructured data streams, like text -// blocks or images. -// The service also includes methods for sensitive data redaction and -// scheduling of data scans on Google Cloud Platform based data sets. -// +// Sensitive Data Protection provides access to a powerful sensitive data +// inspection, classification, and de-identification platform that works +// on text, images, and Google Cloud storage repositories. // To learn more about concepts and find how-to guides see // https://cloud.google.com/sensitive-data-protection/docs/. service DlpService { @@ -5051,8 +5047,8 @@ message BigQueryTableTypes { repeated BigQueryTableType types = 1; } -// Over time new types may be added. Currently VIEW, MATERIALIZED_VIEW, -// and SNAPSHOT are not supported. +// Over time new types may be added. Currently VIEW, MATERIALIZED_VIEW, and +// non-BigLake external tables are not supported. enum BigQueryTableTypeCollection { // Unused. BIG_QUERY_COLLECTION_UNSPECIFIED = 0; @@ -5070,8 +5066,8 @@ enum BigQueryTableTypeCollection { BIG_QUERY_COLLECTION_ONLY_SUPPORTED_TYPES = 2; } -// Over time new types may be added. Currently VIEW, MATERIALIZED_VIEW, -// SNAPSHOT, and non-BigLake external tables are not supported. +// Over time new types may be added. Currently VIEW, MATERIALIZED_VIEW, and +// non-BigLake external tables are not supported. enum BigQueryTableType { // Unused. BIG_QUERY_TABLE_TYPE_UNSPECIFIED = 0; @@ -5081,6 +5077,9 @@ enum BigQueryTableType { // A table that references data stored in Cloud Storage. BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE = 2; + + // A snapshot of a BigQuery table. + BIG_QUERY_TABLE_TYPE_SNAPSHOT = 3; } // How frequently data profiles can be updated. New options can be added at a @@ -7301,13 +7300,14 @@ message TableDataProfile { // locations. string dataset_location = 29; - // If the resource is BigQuery, the dataset ID. + // If the resource is BigQuery, the dataset ID. string dataset_id = 25; - // If the resource is BigQuery, the BigQuery table ID. + // The table ID. string table_id = 26; - // The resource name of the resource profiled. + // The Cloud Asset Inventory resource that was profiled in order to generate + // this TableDataProfile. // https://cloud.google.com/apis/design/resource_names#full_resource_name string full_resource = 3; @@ -7566,15 +7566,15 @@ message ColumnDataProfile { // The Google Cloud project ID that owns the profiled resource. string dataset_project_id = 19; - // The BigQuery location where the dataset's data is stored. + // If supported, the location where the dataset's data is stored. // See https://cloud.google.com/bigquery/docs/locations for supported - // locations. + // BigQuery locations. string dataset_location = 20; - // The BigQuery dataset ID. + // The BigQuery dataset ID, if the resource profiled is a BigQuery table. string dataset_id = 21; - // The BigQuery table ID. + // The table ID. string table_id = 22; // The name of the column. diff --git a/packages/google-privacy-dlp/protos/protos.d.ts b/packages/google-privacy-dlp/protos/protos.d.ts index 0b13f79f536..7f6b4ede755 100644 --- a/packages/google-privacy-dlp/protos/protos.d.ts +++ b/packages/google-privacy-dlp/protos/protos.d.ts @@ -21396,7 +21396,8 @@ export namespace google { enum BigQueryTableType { BIG_QUERY_TABLE_TYPE_UNSPECIFIED = 0, BIG_QUERY_TABLE_TYPE_TABLE = 1, - BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE = 2 + BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE = 2, + BIG_QUERY_TABLE_TYPE_SNAPSHOT = 3 } /** DataProfileUpdateFrequency enum. */ diff --git a/packages/google-privacy-dlp/protos/protos.js b/packages/google-privacy-dlp/protos/protos.js index 95bd8301f5c..5a2175a9e00 100644 --- a/packages/google-privacy-dlp/protos/protos.js +++ b/packages/google-privacy-dlp/protos/protos.js @@ -53033,6 +53033,7 @@ case 0: case 1: case 2: + case 3: break; } } @@ -53074,6 +53075,10 @@ case 2: message.types[i] = 2; break; + case "BIG_QUERY_TABLE_TYPE_SNAPSHOT": + case 3: + message.types[i] = 3; + break; } } return message; @@ -53154,12 +53159,14 @@ * @property {number} BIG_QUERY_TABLE_TYPE_UNSPECIFIED=0 BIG_QUERY_TABLE_TYPE_UNSPECIFIED value * @property {number} BIG_QUERY_TABLE_TYPE_TABLE=1 BIG_QUERY_TABLE_TYPE_TABLE value * @property {number} BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE=2 BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE value + * @property {number} BIG_QUERY_TABLE_TYPE_SNAPSHOT=3 BIG_QUERY_TABLE_TYPE_SNAPSHOT value */ v2.BigQueryTableType = (function() { var valuesById = {}, values = Object.create(valuesById); values[valuesById[0] = "BIG_QUERY_TABLE_TYPE_UNSPECIFIED"] = 0; values[valuesById[1] = "BIG_QUERY_TABLE_TYPE_TABLE"] = 1; values[valuesById[2] = "BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE"] = 2; + values[valuesById[3] = "BIG_QUERY_TABLE_TYPE_SNAPSHOT"] = 3; return values; })(); diff --git a/packages/google-privacy-dlp/protos/protos.json b/packages/google-privacy-dlp/protos/protos.json index 8b3a89e6f36..46c2c1f9dd7 100644 --- a/packages/google-privacy-dlp/protos/protos.json +++ b/packages/google-privacy-dlp/protos/protos.json @@ -5175,7 +5175,8 @@ "values": { "BIG_QUERY_TABLE_TYPE_UNSPECIFIED": 0, "BIG_QUERY_TABLE_TYPE_TABLE": 1, - "BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE": 2 + "BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE": 2, + "BIG_QUERY_TABLE_TYPE_SNAPSHOT": 3 } }, "DataProfileUpdateFrequency": { diff --git a/packages/google-privacy-dlp/src/v2/dlp_service_client.ts b/packages/google-privacy-dlp/src/v2/dlp_service_client.ts index c18961a6a41..14eb111ca7e 100644 --- a/packages/google-privacy-dlp/src/v2/dlp_service_client.ts +++ b/packages/google-privacy-dlp/src/v2/dlp_service_client.ts @@ -41,13 +41,9 @@ import * as gapicConfig from './dlp_service_client_config.json'; const version = require('../../../package.json').version; /** - * The Cloud Data Loss Prevention (DLP) API is a service that allows clients - * to detect the presence of Personally Identifiable Information (PII) and other - * privacy-sensitive data in user-supplied, unstructured data streams, like text - * blocks or images. - * The service also includes methods for sensitive data redaction and - * scheduling of data scans on Google Cloud Platform based data sets. - * + * Sensitive Data Protection provides access to a powerful sensitive data + * inspection, classification, and de-identification platform that works + * on text, images, and Google Cloud storage repositories. * To learn more about concepts and find how-to guides see * https://cloud.google.com/sensitive-data-protection/docs/. * @class