@google-cloud/dlp 5.6.0 → 5.7.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.
@@ -2372,6 +2372,7 @@
2372
2372
  "GLOBAL": 1,
2373
2373
  "ARGENTINA": 2,
2374
2374
  "AUSTRALIA": 3,
2375
+ "AZERBAIJAN": 48,
2375
2376
  "BELGIUM": 4,
2376
2377
  "BRAZIL": 5,
2377
2378
  "CANADA": 6,
@@ -5102,7 +5103,8 @@
5102
5103
  "target": {
5103
5104
  "oneof": [
5104
5105
  "bigQueryTarget",
5105
- "cloudSqlTarget"
5106
+ "cloudSqlTarget",
5107
+ "secretsTarget"
5106
5108
  ]
5107
5109
  }
5108
5110
  },
@@ -5114,6 +5116,10 @@
5114
5116
  "cloudSqlTarget": {
5115
5117
  "type": "CloudSqlDiscoveryTarget",
5116
5118
  "id": 2
5119
+ },
5120
+ "secretsTarget": {
5121
+ "type": "SecretsDiscoveryTarget",
5122
+ "id": 3
5117
5123
  }
5118
5124
  }
5119
5125
  },
@@ -5153,7 +5159,8 @@
5153
5159
  "filter": {
5154
5160
  "oneof": [
5155
5161
  "tables",
5156
- "otherTables"
5162
+ "otherTables",
5163
+ "tableReference"
5157
5164
  ]
5158
5165
  }
5159
5166
  },
@@ -5165,6 +5172,10 @@
5165
5172
  "otherTables": {
5166
5173
  "type": "AllOtherBigQueryTables",
5167
5174
  "id": 2
5175
+ },
5176
+ "tableReference": {
5177
+ "type": "TableReference",
5178
+ "id": 3
5168
5179
  }
5169
5180
  },
5170
5181
  "nested": {
@@ -5399,6 +5410,20 @@
5399
5410
  "options": {
5400
5411
  "(google.api.field_behavior)": "REQUIRED"
5401
5412
  }
5413
+ },
5414
+ "database": {
5415
+ "type": "string",
5416
+ "id": 3,
5417
+ "options": {
5418
+ "(google.api.field_behavior)": "REQUIRED"
5419
+ }
5420
+ },
5421
+ "databaseResource": {
5422
+ "type": "string",
5423
+ "id": 4,
5424
+ "options": {
5425
+ "(google.api.field_behavior)": "REQUIRED"
5426
+ }
5402
5427
  }
5403
5428
  }
5404
5429
  },
@@ -5472,6 +5497,9 @@
5472
5497
  }
5473
5498
  }
5474
5499
  },
5500
+ "SecretsDiscoveryTarget": {
5501
+ "fields": {}
5502
+ },
5475
5503
  "DiscoveryStartingLocation": {
5476
5504
  "oneofs": {
5477
5505
  "location": {
@@ -7671,6 +7699,18 @@
7671
7699
  }
7672
7700
  }
7673
7701
  },
7702
+ "TableReference": {
7703
+ "fields": {
7704
+ "datasetId": {
7705
+ "type": "string",
7706
+ "id": 1
7707
+ },
7708
+ "tableId": {
7709
+ "type": "string",
7710
+ "id": 2
7711
+ }
7712
+ }
7713
+ },
7674
7714
  "BigQueryField": {
7675
7715
  "fields": {
7676
7716
  "table": {
@@ -3497,8 +3497,7 @@ export declare class DlpServiceClient {
3497
3497
  * Optional. Page token from a previous page to return the next set of
3498
3498
  * results. If set, all other request fields must match the original request.
3499
3499
  * @param {string} [request.filter]
3500
- * Optional. * Supported fields/values
3501
- * - `state` - MISSING|AVAILABLE|ERROR
3500
+ * Optional. Supported field/value: `state` - MISSING|AVAILABLE|ERROR
3502
3501
  * @param {object} [options]
3503
3502
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
3504
3503
  * @returns {Promise} - The promise which resolves to an array.
@@ -3531,8 +3530,7 @@ export declare class DlpServiceClient {
3531
3530
  * Optional. Page token from a previous page to return the next set of
3532
3531
  * results. If set, all other request fields must match the original request.
3533
3532
  * @param {string} [request.filter]
3534
- * Optional. * Supported fields/values
3535
- * - `state` - MISSING|AVAILABLE|ERROR
3533
+ * Optional. Supported field/value: `state` - MISSING|AVAILABLE|ERROR
3536
3534
  * @param {object} [options]
3537
3535
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
3538
3536
  * @returns {Stream}
@@ -3560,8 +3558,7 @@ export declare class DlpServiceClient {
3560
3558
  * Optional. Page token from a previous page to return the next set of
3561
3559
  * results. If set, all other request fields must match the original request.
3562
3560
  * @param {string} [request.filter]
3563
- * Optional. * Supported fields/values
3564
- * - `state` - MISSING|AVAILABLE|ERROR
3561
+ * Optional. Supported field/value: `state` - MISSING|AVAILABLE|ERROR
3565
3562
  * @param {object} [options]
3566
3563
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
3567
3564
  * @returns {Object}
@@ -3589,8 +3586,7 @@ export declare class DlpServiceClient {
3589
3586
  * Optional. Page token from a previous page to return the next set of
3590
3587
  * results. If set, all other request fields must match the original request.
3591
3588
  * @param {string} [request.filter]
3592
- * Optional. * Supported fields/values
3593
- * - `state` - MISSING|AVAILABLE|ERROR
3589
+ * Optional. Supported field/value: - `state` - MISSING|AVAILABLE|ERROR
3594
3590
  * @param {object} [options]
3595
3591
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
3596
3592
  * @returns {Promise} - The promise which resolves to an array.
@@ -3623,8 +3619,7 @@ export declare class DlpServiceClient {
3623
3619
  * Optional. Page token from a previous page to return the next set of
3624
3620
  * results. If set, all other request fields must match the original request.
3625
3621
  * @param {string} [request.filter]
3626
- * Optional. * Supported fields/values
3627
- * - `state` - MISSING|AVAILABLE|ERROR
3622
+ * Optional. Supported field/value: - `state` - MISSING|AVAILABLE|ERROR
3628
3623
  * @param {object} [options]
3629
3624
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
3630
3625
  * @returns {Stream}
@@ -3652,8 +3647,7 @@ export declare class DlpServiceClient {
3652
3647
  * Optional. Page token from a previous page to return the next set of
3653
3648
  * results. If set, all other request fields must match the original request.
3654
3649
  * @param {string} [request.filter]
3655
- * Optional. * Supported fields/values
3656
- * - `state` - MISSING|AVAILABLE|ERROR
3650
+ * Optional. Supported field/value: - `state` - MISSING|AVAILABLE|ERROR
3657
3651
  * @param {object} [options]
3658
3652
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
3659
3653
  * @returns {Object}
@@ -2932,8 +2932,7 @@ class DlpServiceClient {
2932
2932
  * Optional. Page token from a previous page to return the next set of
2933
2933
  * results. If set, all other request fields must match the original request.
2934
2934
  * @param {string} [request.filter]
2935
- * Optional. * Supported fields/values
2936
- * - `state` - MISSING|AVAILABLE|ERROR
2935
+ * Optional. Supported field/value: `state` - MISSING|AVAILABLE|ERROR
2937
2936
  * @param {object} [options]
2938
2937
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
2939
2938
  * @returns {Stream}
@@ -2975,8 +2974,7 @@ class DlpServiceClient {
2975
2974
  * Optional. Page token from a previous page to return the next set of
2976
2975
  * results. If set, all other request fields must match the original request.
2977
2976
  * @param {string} [request.filter]
2978
- * Optional. * Supported fields/values
2979
- * - `state` - MISSING|AVAILABLE|ERROR
2977
+ * Optional. Supported field/value: `state` - MISSING|AVAILABLE|ERROR
2980
2978
  * @param {object} [options]
2981
2979
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
2982
2980
  * @returns {Object}
@@ -3038,8 +3036,7 @@ class DlpServiceClient {
3038
3036
  * Optional. Page token from a previous page to return the next set of
3039
3037
  * results. If set, all other request fields must match the original request.
3040
3038
  * @param {string} [request.filter]
3041
- * Optional. * Supported fields/values
3042
- * - `state` - MISSING|AVAILABLE|ERROR
3039
+ * Optional. Supported field/value: - `state` - MISSING|AVAILABLE|ERROR
3043
3040
  * @param {object} [options]
3044
3041
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
3045
3042
  * @returns {Stream}
@@ -3081,8 +3078,7 @@ class DlpServiceClient {
3081
3078
  * Optional. Page token from a previous page to return the next set of
3082
3079
  * results. If set, all other request fields must match the original request.
3083
3080
  * @param {string} [request.filter]
3084
- * Optional. * Supported fields/values
3085
- * - `state` - MISSING|AVAILABLE|ERROR
3081
+ * Optional. Supported field/value: - `state` - MISSING|AVAILABLE|ERROR
3086
3082
  * @param {object} [options]
3087
3083
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
3088
3084
  * @returns {Object}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@google-cloud/dlp",
3
3
  "description": "DLP API client for Node.js",
4
- "version": "5.6.0",
4
+ "version": "5.7.0",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Google Inc",
7
7
  "engines": {
@@ -64,7 +64,7 @@
64
64
  "long": "^5.2.3",
65
65
  "mocha": "^9.2.2",
66
66
  "pack-n-play": "^2.0.0",
67
- "sinon": "^17.0.0",
67
+ "sinon": "^18.0.0",
68
68
  "typescript": "^5.1.6"
69
69
  },
70
70
  "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-privacy-dlp"