@google-cloud/dlp 4.3.0 → 4.4.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/README.md +43 -36
- package/build/protos/protos.d.ts +1561 -68
- package/build/protos/protos.js +3981 -128
- package/build/protos/protos.json +294 -2
- package/build/src/index.js +1 -1
- package/build/src/v2/dlp_service_client.js +1 -1
- package/build/src/v2/index.js +1 -1
- package/package.json +10 -5
- package/CHANGELOG.md +0 -564
package/build/protos/protos.json
CHANGED
|
@@ -5982,6 +5982,248 @@
|
|
|
5982
5982
|
"id": 1050,
|
|
5983
5983
|
"extend": "google.protobuf.ServiceOptions"
|
|
5984
5984
|
},
|
|
5985
|
+
"CommonLanguageSettings": {
|
|
5986
|
+
"fields": {
|
|
5987
|
+
"referenceDocsUri": {
|
|
5988
|
+
"type": "string",
|
|
5989
|
+
"id": 1,
|
|
5990
|
+
"options": {
|
|
5991
|
+
"deprecated": true
|
|
5992
|
+
}
|
|
5993
|
+
},
|
|
5994
|
+
"destinations": {
|
|
5995
|
+
"rule": "repeated",
|
|
5996
|
+
"type": "ClientLibraryDestination",
|
|
5997
|
+
"id": 2
|
|
5998
|
+
}
|
|
5999
|
+
}
|
|
6000
|
+
},
|
|
6001
|
+
"ClientLibrarySettings": {
|
|
6002
|
+
"fields": {
|
|
6003
|
+
"version": {
|
|
6004
|
+
"type": "string",
|
|
6005
|
+
"id": 1
|
|
6006
|
+
},
|
|
6007
|
+
"launchStage": {
|
|
6008
|
+
"type": "LaunchStage",
|
|
6009
|
+
"id": 2
|
|
6010
|
+
},
|
|
6011
|
+
"restNumericEnums": {
|
|
6012
|
+
"type": "bool",
|
|
6013
|
+
"id": 3
|
|
6014
|
+
},
|
|
6015
|
+
"javaSettings": {
|
|
6016
|
+
"type": "JavaSettings",
|
|
6017
|
+
"id": 21
|
|
6018
|
+
},
|
|
6019
|
+
"cppSettings": {
|
|
6020
|
+
"type": "CppSettings",
|
|
6021
|
+
"id": 22
|
|
6022
|
+
},
|
|
6023
|
+
"phpSettings": {
|
|
6024
|
+
"type": "PhpSettings",
|
|
6025
|
+
"id": 23
|
|
6026
|
+
},
|
|
6027
|
+
"pythonSettings": {
|
|
6028
|
+
"type": "PythonSettings",
|
|
6029
|
+
"id": 24
|
|
6030
|
+
},
|
|
6031
|
+
"nodeSettings": {
|
|
6032
|
+
"type": "NodeSettings",
|
|
6033
|
+
"id": 25
|
|
6034
|
+
},
|
|
6035
|
+
"dotnetSettings": {
|
|
6036
|
+
"type": "DotnetSettings",
|
|
6037
|
+
"id": 26
|
|
6038
|
+
},
|
|
6039
|
+
"rubySettings": {
|
|
6040
|
+
"type": "RubySettings",
|
|
6041
|
+
"id": 27
|
|
6042
|
+
},
|
|
6043
|
+
"goSettings": {
|
|
6044
|
+
"type": "GoSettings",
|
|
6045
|
+
"id": 28
|
|
6046
|
+
}
|
|
6047
|
+
}
|
|
6048
|
+
},
|
|
6049
|
+
"Publishing": {
|
|
6050
|
+
"fields": {
|
|
6051
|
+
"methodSettings": {
|
|
6052
|
+
"rule": "repeated",
|
|
6053
|
+
"type": "MethodSettings",
|
|
6054
|
+
"id": 2
|
|
6055
|
+
},
|
|
6056
|
+
"newIssueUri": {
|
|
6057
|
+
"type": "string",
|
|
6058
|
+
"id": 101
|
|
6059
|
+
},
|
|
6060
|
+
"documentationUri": {
|
|
6061
|
+
"type": "string",
|
|
6062
|
+
"id": 102
|
|
6063
|
+
},
|
|
6064
|
+
"apiShortName": {
|
|
6065
|
+
"type": "string",
|
|
6066
|
+
"id": 103
|
|
6067
|
+
},
|
|
6068
|
+
"githubLabel": {
|
|
6069
|
+
"type": "string",
|
|
6070
|
+
"id": 104
|
|
6071
|
+
},
|
|
6072
|
+
"codeownerGithubTeams": {
|
|
6073
|
+
"rule": "repeated",
|
|
6074
|
+
"type": "string",
|
|
6075
|
+
"id": 105
|
|
6076
|
+
},
|
|
6077
|
+
"docTagPrefix": {
|
|
6078
|
+
"type": "string",
|
|
6079
|
+
"id": 106
|
|
6080
|
+
},
|
|
6081
|
+
"organization": {
|
|
6082
|
+
"type": "ClientLibraryOrganization",
|
|
6083
|
+
"id": 107
|
|
6084
|
+
},
|
|
6085
|
+
"librarySettings": {
|
|
6086
|
+
"rule": "repeated",
|
|
6087
|
+
"type": "ClientLibrarySettings",
|
|
6088
|
+
"id": 109
|
|
6089
|
+
}
|
|
6090
|
+
}
|
|
6091
|
+
},
|
|
6092
|
+
"JavaSettings": {
|
|
6093
|
+
"fields": {
|
|
6094
|
+
"libraryPackage": {
|
|
6095
|
+
"type": "string",
|
|
6096
|
+
"id": 1
|
|
6097
|
+
},
|
|
6098
|
+
"serviceClassNames": {
|
|
6099
|
+
"keyType": "string",
|
|
6100
|
+
"type": "string",
|
|
6101
|
+
"id": 2
|
|
6102
|
+
},
|
|
6103
|
+
"common": {
|
|
6104
|
+
"type": "CommonLanguageSettings",
|
|
6105
|
+
"id": 3
|
|
6106
|
+
}
|
|
6107
|
+
}
|
|
6108
|
+
},
|
|
6109
|
+
"CppSettings": {
|
|
6110
|
+
"fields": {
|
|
6111
|
+
"common": {
|
|
6112
|
+
"type": "CommonLanguageSettings",
|
|
6113
|
+
"id": 1
|
|
6114
|
+
}
|
|
6115
|
+
}
|
|
6116
|
+
},
|
|
6117
|
+
"PhpSettings": {
|
|
6118
|
+
"fields": {
|
|
6119
|
+
"common": {
|
|
6120
|
+
"type": "CommonLanguageSettings",
|
|
6121
|
+
"id": 1
|
|
6122
|
+
}
|
|
6123
|
+
}
|
|
6124
|
+
},
|
|
6125
|
+
"PythonSettings": {
|
|
6126
|
+
"fields": {
|
|
6127
|
+
"common": {
|
|
6128
|
+
"type": "CommonLanguageSettings",
|
|
6129
|
+
"id": 1
|
|
6130
|
+
}
|
|
6131
|
+
}
|
|
6132
|
+
},
|
|
6133
|
+
"NodeSettings": {
|
|
6134
|
+
"fields": {
|
|
6135
|
+
"common": {
|
|
6136
|
+
"type": "CommonLanguageSettings",
|
|
6137
|
+
"id": 1
|
|
6138
|
+
}
|
|
6139
|
+
}
|
|
6140
|
+
},
|
|
6141
|
+
"DotnetSettings": {
|
|
6142
|
+
"fields": {
|
|
6143
|
+
"common": {
|
|
6144
|
+
"type": "CommonLanguageSettings",
|
|
6145
|
+
"id": 1
|
|
6146
|
+
}
|
|
6147
|
+
}
|
|
6148
|
+
},
|
|
6149
|
+
"RubySettings": {
|
|
6150
|
+
"fields": {
|
|
6151
|
+
"common": {
|
|
6152
|
+
"type": "CommonLanguageSettings",
|
|
6153
|
+
"id": 1
|
|
6154
|
+
}
|
|
6155
|
+
}
|
|
6156
|
+
},
|
|
6157
|
+
"GoSettings": {
|
|
6158
|
+
"fields": {
|
|
6159
|
+
"common": {
|
|
6160
|
+
"type": "CommonLanguageSettings",
|
|
6161
|
+
"id": 1
|
|
6162
|
+
}
|
|
6163
|
+
}
|
|
6164
|
+
},
|
|
6165
|
+
"MethodSettings": {
|
|
6166
|
+
"fields": {
|
|
6167
|
+
"selector": {
|
|
6168
|
+
"type": "string",
|
|
6169
|
+
"id": 1
|
|
6170
|
+
},
|
|
6171
|
+
"longRunning": {
|
|
6172
|
+
"type": "LongRunning",
|
|
6173
|
+
"id": 2
|
|
6174
|
+
}
|
|
6175
|
+
},
|
|
6176
|
+
"nested": {
|
|
6177
|
+
"LongRunning": {
|
|
6178
|
+
"fields": {
|
|
6179
|
+
"initialPollDelay": {
|
|
6180
|
+
"type": "google.protobuf.Duration",
|
|
6181
|
+
"id": 1
|
|
6182
|
+
},
|
|
6183
|
+
"pollDelayMultiplier": {
|
|
6184
|
+
"type": "float",
|
|
6185
|
+
"id": 2
|
|
6186
|
+
},
|
|
6187
|
+
"maxPollDelay": {
|
|
6188
|
+
"type": "google.protobuf.Duration",
|
|
6189
|
+
"id": 3
|
|
6190
|
+
},
|
|
6191
|
+
"totalPollTimeout": {
|
|
6192
|
+
"type": "google.protobuf.Duration",
|
|
6193
|
+
"id": 4
|
|
6194
|
+
}
|
|
6195
|
+
}
|
|
6196
|
+
}
|
|
6197
|
+
}
|
|
6198
|
+
},
|
|
6199
|
+
"ClientLibraryOrganization": {
|
|
6200
|
+
"values": {
|
|
6201
|
+
"CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED": 0,
|
|
6202
|
+
"CLOUD": 1,
|
|
6203
|
+
"ADS": 2,
|
|
6204
|
+
"PHOTOS": 3,
|
|
6205
|
+
"STREET_VIEW": 4
|
|
6206
|
+
}
|
|
6207
|
+
},
|
|
6208
|
+
"ClientLibraryDestination": {
|
|
6209
|
+
"values": {
|
|
6210
|
+
"CLIENT_LIBRARY_DESTINATION_UNSPECIFIED": 0,
|
|
6211
|
+
"GITHUB": 10,
|
|
6212
|
+
"PACKAGE_MANAGER": 20
|
|
6213
|
+
}
|
|
6214
|
+
},
|
|
6215
|
+
"LaunchStage": {
|
|
6216
|
+
"values": {
|
|
6217
|
+
"LAUNCH_STAGE_UNSPECIFIED": 0,
|
|
6218
|
+
"UNIMPLEMENTED": 6,
|
|
6219
|
+
"PRELAUNCH": 7,
|
|
6220
|
+
"EARLY_ACCESS": 1,
|
|
6221
|
+
"ALPHA": 2,
|
|
6222
|
+
"BETA": 3,
|
|
6223
|
+
"GA": 4,
|
|
6224
|
+
"DEPRECATED": 5
|
|
6225
|
+
}
|
|
6226
|
+
},
|
|
5985
6227
|
"fieldBehavior": {
|
|
5986
6228
|
"rule": "repeated",
|
|
5987
6229
|
"type": "google.api.FieldBehavior",
|
|
@@ -6631,6 +6873,13 @@
|
|
|
6631
6873
|
"type": "bool",
|
|
6632
6874
|
"id": 7
|
|
6633
6875
|
},
|
|
6876
|
+
"deprecatedLegacyJsonFieldConflicts": {
|
|
6877
|
+
"type": "bool",
|
|
6878
|
+
"id": 11,
|
|
6879
|
+
"options": {
|
|
6880
|
+
"deprecated": true
|
|
6881
|
+
}
|
|
6882
|
+
},
|
|
6634
6883
|
"uninterpretedOption": {
|
|
6635
6884
|
"rule": "repeated",
|
|
6636
6885
|
"type": "UninterpretedOption",
|
|
@@ -6714,6 +6963,21 @@
|
|
|
6714
6963
|
"default": false
|
|
6715
6964
|
}
|
|
6716
6965
|
},
|
|
6966
|
+
"debugRedact": {
|
|
6967
|
+
"type": "bool",
|
|
6968
|
+
"id": 16,
|
|
6969
|
+
"options": {
|
|
6970
|
+
"default": false
|
|
6971
|
+
}
|
|
6972
|
+
},
|
|
6973
|
+
"retention": {
|
|
6974
|
+
"type": "OptionRetention",
|
|
6975
|
+
"id": 17
|
|
6976
|
+
},
|
|
6977
|
+
"target": {
|
|
6978
|
+
"type": "OptionTargetType",
|
|
6979
|
+
"id": 18
|
|
6980
|
+
},
|
|
6717
6981
|
"uninterpretedOption": {
|
|
6718
6982
|
"rule": "repeated",
|
|
6719
6983
|
"type": "UninterpretedOption",
|
|
@@ -6746,6 +7010,27 @@
|
|
|
6746
7010
|
"JS_STRING": 1,
|
|
6747
7011
|
"JS_NUMBER": 2
|
|
6748
7012
|
}
|
|
7013
|
+
},
|
|
7014
|
+
"OptionRetention": {
|
|
7015
|
+
"values": {
|
|
7016
|
+
"RETENTION_UNKNOWN": 0,
|
|
7017
|
+
"RETENTION_RUNTIME": 1,
|
|
7018
|
+
"RETENTION_SOURCE": 2
|
|
7019
|
+
}
|
|
7020
|
+
},
|
|
7021
|
+
"OptionTargetType": {
|
|
7022
|
+
"values": {
|
|
7023
|
+
"TARGET_TYPE_UNKNOWN": 0,
|
|
7024
|
+
"TARGET_TYPE_FILE": 1,
|
|
7025
|
+
"TARGET_TYPE_EXTENSION_RANGE": 2,
|
|
7026
|
+
"TARGET_TYPE_MESSAGE": 3,
|
|
7027
|
+
"TARGET_TYPE_FIELD": 4,
|
|
7028
|
+
"TARGET_TYPE_ONEOF": 5,
|
|
7029
|
+
"TARGET_TYPE_ENUM": 6,
|
|
7030
|
+
"TARGET_TYPE_ENUM_ENTRY": 7,
|
|
7031
|
+
"TARGET_TYPE_SERVICE": 8,
|
|
7032
|
+
"TARGET_TYPE_METHOD": 9
|
|
7033
|
+
}
|
|
6749
7034
|
}
|
|
6750
7035
|
}
|
|
6751
7036
|
},
|
|
@@ -6777,6 +7062,13 @@
|
|
|
6777
7062
|
"default": false
|
|
6778
7063
|
}
|
|
6779
7064
|
},
|
|
7065
|
+
"deprecatedLegacyJsonFieldConflicts": {
|
|
7066
|
+
"type": "bool",
|
|
7067
|
+
"id": 6,
|
|
7068
|
+
"options": {
|
|
7069
|
+
"deprecated": true
|
|
7070
|
+
}
|
|
7071
|
+
},
|
|
6780
7072
|
"uninterpretedOption": {
|
|
6781
7073
|
"rule": "repeated",
|
|
6782
7074
|
"type": "UninterpretedOption",
|
|
@@ -7010,7 +7302,7 @@
|
|
|
7010
7302
|
}
|
|
7011
7303
|
}
|
|
7012
7304
|
},
|
|
7013
|
-
"
|
|
7305
|
+
"Duration": {
|
|
7014
7306
|
"fields": {
|
|
7015
7307
|
"seconds": {
|
|
7016
7308
|
"type": "int64",
|
|
@@ -7022,7 +7314,7 @@
|
|
|
7022
7314
|
}
|
|
7023
7315
|
}
|
|
7024
7316
|
},
|
|
7025
|
-
"
|
|
7317
|
+
"Timestamp": {
|
|
7026
7318
|
"fields": {
|
|
7027
7319
|
"seconds": {
|
|
7028
7320
|
"type": "int64",
|
package/build/src/index.js
CHANGED
package/build/src/v2/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@google-cloud/dlp",
|
|
3
3
|
"description": "DLP API client for Node.js",
|
|
4
|
-
"version": "4.
|
|
4
|
+
"version": "4.4.0",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Google Inc",
|
|
7
7
|
"engines": {
|
|
8
8
|
"node": ">=12.0.0"
|
|
9
9
|
},
|
|
10
|
-
"repository":
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"directory": "packages/google-privacy-dlp",
|
|
13
|
+
"url": "https://github.com/googleapis/google-cloud-node.git"
|
|
14
|
+
},
|
|
11
15
|
"main": "build/src/index.js",
|
|
12
16
|
"files": [
|
|
13
17
|
"build/protos",
|
|
@@ -28,8 +32,8 @@
|
|
|
28
32
|
],
|
|
29
33
|
"scripts": {
|
|
30
34
|
"test": "c8 mocha build/test",
|
|
31
|
-
"samples-test": "cd samples/ && npm link ../ && npm
|
|
32
|
-
"system-test": "mocha build/system-test",
|
|
35
|
+
"samples-test": "npm run compile && cd samples/ && npm link ../ && npm i && npm test",
|
|
36
|
+
"system-test": "npm run compile && c8 mocha build/system-test",
|
|
33
37
|
"docs": "jsdoc -c .jsdoc.js",
|
|
34
38
|
"lint": "gts check",
|
|
35
39
|
"fix": "gts fix",
|
|
@@ -63,5 +67,6 @@
|
|
|
63
67
|
"typescript": "^4.6.4",
|
|
64
68
|
"webpack": "^5.0.0",
|
|
65
69
|
"webpack-cli": "^5.0.0"
|
|
66
|
-
}
|
|
70
|
+
},
|
|
71
|
+
"homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-privacy-dlp"
|
|
67
72
|
}
|