@google-cloud/dlp 5.11.0 → 5.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/build/protos/google/privacy/dlp/v2/dlp.proto +18 -18
- package/build/protos/protos.d.ts +2 -1
- package/build/protos/protos.js +7 -0
- package/build/protos/protos.json +2 -1
- package/build/src/v2/dlp_service_client.d.ts +3 -7
- package/build/src/v2/dlp_service_client.js +3 -7
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
[1]: https://www.npmjs.com/package/PACKAGE NAME?activeTab=versions
|
|
6
6
|
|
|
7
|
+
## [5.12.0](https://github.com/googleapis/google-cloud-node/compare/dlp-v5.11.0...dlp-v5.12.0) (2024-10-30)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* [dlp] discovery of BigQuery snapshots ([#5757](https://github.com/googleapis/google-cloud-node/issues/5757)) ([3f262fc](https://github.com/googleapis/google-cloud-node/commit/3f262fc59aa6054bd22f6868e76e7c686a9444a3))
|
|
13
|
+
|
|
7
14
|
## [5.11.0](https://github.com/googleapis/google-cloud-node/compare/dlp-v5.10.0...dlp-v5.11.0) (2024-09-24)
|
|
8
15
|
|
|
9
16
|
|
|
@@ -47,13 +47,9 @@ option (google.api.resource_definition) = {
|
|
|
47
47
|
pattern: "organizations/{organization}/locations/{location}"
|
|
48
48
|
};
|
|
49
49
|
|
|
50
|
-
//
|
|
51
|
-
//
|
|
52
|
-
//
|
|
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.
|
|
57
53
|
// To learn more about concepts and find how-to guides see
|
|
58
54
|
// https://cloud.google.com/sensitive-data-protection/docs/.
|
|
59
55
|
service DlpService {
|
|
@@ -5051,8 +5047,8 @@ message BigQueryTableTypes {
|
|
|
5051
5047
|
repeated BigQueryTableType types = 1;
|
|
5052
5048
|
}
|
|
5053
5049
|
|
|
5054
|
-
// Over time new types may be added. Currently VIEW, MATERIALIZED_VIEW,
|
|
5055
|
-
//
|
|
5050
|
+
// Over time new types may be added. Currently VIEW, MATERIALIZED_VIEW, and
|
|
5051
|
+
// non-BigLake external tables are not supported.
|
|
5056
5052
|
enum BigQueryTableTypeCollection {
|
|
5057
5053
|
// Unused.
|
|
5058
5054
|
BIG_QUERY_COLLECTION_UNSPECIFIED = 0;
|
|
@@ -5070,8 +5066,8 @@ enum BigQueryTableTypeCollection {
|
|
|
5070
5066
|
BIG_QUERY_COLLECTION_ONLY_SUPPORTED_TYPES = 2;
|
|
5071
5067
|
}
|
|
5072
5068
|
|
|
5073
|
-
// Over time new types may be added. Currently VIEW, MATERIALIZED_VIEW,
|
|
5074
|
-
//
|
|
5069
|
+
// Over time new types may be added. Currently VIEW, MATERIALIZED_VIEW, and
|
|
5070
|
+
// non-BigLake external tables are not supported.
|
|
5075
5071
|
enum BigQueryTableType {
|
|
5076
5072
|
// Unused.
|
|
5077
5073
|
BIG_QUERY_TABLE_TYPE_UNSPECIFIED = 0;
|
|
@@ -5081,6 +5077,9 @@ enum BigQueryTableType {
|
|
|
5081
5077
|
|
|
5082
5078
|
// A table that references data stored in Cloud Storage.
|
|
5083
5079
|
BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE = 2;
|
|
5080
|
+
|
|
5081
|
+
// A snapshot of a BigQuery table.
|
|
5082
|
+
BIG_QUERY_TABLE_TYPE_SNAPSHOT = 3;
|
|
5084
5083
|
}
|
|
5085
5084
|
|
|
5086
5085
|
// How frequently data profiles can be updated. New options can be added at a
|
|
@@ -7301,13 +7300,14 @@ message TableDataProfile {
|
|
|
7301
7300
|
// locations.
|
|
7302
7301
|
string dataset_location = 29;
|
|
7303
7302
|
|
|
7304
|
-
// If the resource is BigQuery, the
|
|
7303
|
+
// If the resource is BigQuery, the dataset ID.
|
|
7305
7304
|
string dataset_id = 25;
|
|
7306
7305
|
|
|
7307
|
-
//
|
|
7306
|
+
// The table ID.
|
|
7308
7307
|
string table_id = 26;
|
|
7309
7308
|
|
|
7310
|
-
// The resource
|
|
7309
|
+
// The Cloud Asset Inventory resource that was profiled in order to generate
|
|
7310
|
+
// this TableDataProfile.
|
|
7311
7311
|
// https://cloud.google.com/apis/design/resource_names#full_resource_name
|
|
7312
7312
|
string full_resource = 3;
|
|
7313
7313
|
|
|
@@ -7566,15 +7566,15 @@ message ColumnDataProfile {
|
|
|
7566
7566
|
// The Google Cloud project ID that owns the profiled resource.
|
|
7567
7567
|
string dataset_project_id = 19;
|
|
7568
7568
|
|
|
7569
|
-
//
|
|
7569
|
+
// If supported, the location where the dataset's data is stored.
|
|
7570
7570
|
// See https://cloud.google.com/bigquery/docs/locations for supported
|
|
7571
|
-
// locations.
|
|
7571
|
+
// BigQuery locations.
|
|
7572
7572
|
string dataset_location = 20;
|
|
7573
7573
|
|
|
7574
|
-
// The BigQuery dataset ID.
|
|
7574
|
+
// The BigQuery dataset ID, if the resource profiled is a BigQuery table.
|
|
7575
7575
|
string dataset_id = 21;
|
|
7576
7576
|
|
|
7577
|
-
// The
|
|
7577
|
+
// The table ID.
|
|
7578
7578
|
string table_id = 22;
|
|
7579
7579
|
|
|
7580
7580
|
// The name of the column.
|
package/build/protos/protos.d.ts
CHANGED
|
@@ -21396,7 +21396,8 @@ export namespace google {
|
|
|
21396
21396
|
enum BigQueryTableType {
|
|
21397
21397
|
BIG_QUERY_TABLE_TYPE_UNSPECIFIED = 0,
|
|
21398
21398
|
BIG_QUERY_TABLE_TYPE_TABLE = 1,
|
|
21399
|
-
BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE = 2
|
|
21399
|
+
BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE = 2,
|
|
21400
|
+
BIG_QUERY_TABLE_TYPE_SNAPSHOT = 3
|
|
21400
21401
|
}
|
|
21401
21402
|
|
|
21402
21403
|
/** DataProfileUpdateFrequency enum. */
|
package/build/protos/protos.js
CHANGED
|
@@ -53033,6 +53033,7 @@
|
|
|
53033
53033
|
case 0:
|
|
53034
53034
|
case 1:
|
|
53035
53035
|
case 2:
|
|
53036
|
+
case 3:
|
|
53036
53037
|
break;
|
|
53037
53038
|
}
|
|
53038
53039
|
}
|
|
@@ -53074,6 +53075,10 @@
|
|
|
53074
53075
|
case 2:
|
|
53075
53076
|
message.types[i] = 2;
|
|
53076
53077
|
break;
|
|
53078
|
+
case "BIG_QUERY_TABLE_TYPE_SNAPSHOT":
|
|
53079
|
+
case 3:
|
|
53080
|
+
message.types[i] = 3;
|
|
53081
|
+
break;
|
|
53077
53082
|
}
|
|
53078
53083
|
}
|
|
53079
53084
|
return message;
|
|
@@ -53154,12 +53159,14 @@
|
|
|
53154
53159
|
* @property {number} BIG_QUERY_TABLE_TYPE_UNSPECIFIED=0 BIG_QUERY_TABLE_TYPE_UNSPECIFIED value
|
|
53155
53160
|
* @property {number} BIG_QUERY_TABLE_TYPE_TABLE=1 BIG_QUERY_TABLE_TYPE_TABLE value
|
|
53156
53161
|
* @property {number} BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE=2 BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE value
|
|
53162
|
+
* @property {number} BIG_QUERY_TABLE_TYPE_SNAPSHOT=3 BIG_QUERY_TABLE_TYPE_SNAPSHOT value
|
|
53157
53163
|
*/
|
|
53158
53164
|
v2.BigQueryTableType = (function() {
|
|
53159
53165
|
var valuesById = {}, values = Object.create(valuesById);
|
|
53160
53166
|
values[valuesById[0] = "BIG_QUERY_TABLE_TYPE_UNSPECIFIED"] = 0;
|
|
53161
53167
|
values[valuesById[1] = "BIG_QUERY_TABLE_TYPE_TABLE"] = 1;
|
|
53162
53168
|
values[valuesById[2] = "BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE"] = 2;
|
|
53169
|
+
values[valuesById[3] = "BIG_QUERY_TABLE_TYPE_SNAPSHOT"] = 3;
|
|
53163
53170
|
return values;
|
|
53164
53171
|
})();
|
|
53165
53172
|
|
package/build/protos/protos.json
CHANGED
|
@@ -5175,7 +5175,8 @@
|
|
|
5175
5175
|
"values": {
|
|
5176
5176
|
"BIG_QUERY_TABLE_TYPE_UNSPECIFIED": 0,
|
|
5177
5177
|
"BIG_QUERY_TABLE_TYPE_TABLE": 1,
|
|
5178
|
-
"BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE": 2
|
|
5178
|
+
"BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE": 2,
|
|
5179
|
+
"BIG_QUERY_TABLE_TYPE_SNAPSHOT": 3
|
|
5179
5180
|
}
|
|
5180
5181
|
},
|
|
5181
5182
|
"DataProfileUpdateFrequency": {
|
|
@@ -3,13 +3,9 @@ import type { Callback, CallOptions, Descriptors, ClientOptions, PaginationCallb
|
|
|
3
3
|
import { Transform } from 'stream';
|
|
4
4
|
import * as protos from '../../protos/protos';
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* blocks or images.
|
|
10
|
-
* The service also includes methods for sensitive data redaction and
|
|
11
|
-
* scheduling of data scans on Google Cloud Platform based data sets.
|
|
12
|
-
*
|
|
6
|
+
* Sensitive Data Protection provides access to a powerful sensitive data
|
|
7
|
+
* inspection, classification, and de-identification platform that works
|
|
8
|
+
* on text, images, and Google Cloud storage repositories.
|
|
13
9
|
* To learn more about concepts and find how-to guides see
|
|
14
10
|
* https://cloud.google.com/sensitive-data-protection/docs/.
|
|
15
11
|
* @class
|
|
@@ -27,13 +27,9 @@ const jsonProtos = require("../../protos/protos.json");
|
|
|
27
27
|
const gapicConfig = require("./dlp_service_client_config.json");
|
|
28
28
|
const version = require('../../../package.json').version;
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
* blocks or images.
|
|
34
|
-
* The service also includes methods for sensitive data redaction and
|
|
35
|
-
* scheduling of data scans on Google Cloud Platform based data sets.
|
|
36
|
-
*
|
|
30
|
+
* Sensitive Data Protection provides access to a powerful sensitive data
|
|
31
|
+
* inspection, classification, and de-identification platform that works
|
|
32
|
+
* on text, images, and Google Cloud storage repositories.
|
|
37
33
|
* To learn more about concepts and find how-to guides see
|
|
38
34
|
* https://cloud.google.com/sensitive-data-protection/docs/.
|
|
39
35
|
* @class
|