@google-cloud/dlp 3.5.0 → 4.1.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 +37 -0
- package/build/protos/google/privacy/dlp/v2/dlp.proto +196 -1
- package/build/protos/google/privacy/dlp/v2/storage.proto +18 -9
- package/build/protos/protos.d.ts +185 -0
- package/build/protos/protos.js +738 -1
- package/build/protos/protos.json +104 -0
- package/build/src/v2/dlp_service_client.d.ts +175 -40
- package/build/src/v2/dlp_service_client.js +5 -6
- package/build/src/v2/dlp_service_client.js.map +1 -1
- package/build/src/v2/index.js +1 -0
- package/build/src/v2/index.js.map +1 -1
- package/package.json +11 -12
package/build/protos/protos.json
CHANGED
|
@@ -1817,6 +1817,103 @@
|
|
|
1817
1817
|
"description": {
|
|
1818
1818
|
"type": "string",
|
|
1819
1819
|
"id": 4
|
|
1820
|
+
},
|
|
1821
|
+
"categories": {
|
|
1822
|
+
"rule": "repeated",
|
|
1823
|
+
"type": "InfoTypeCategory",
|
|
1824
|
+
"id": 10
|
|
1825
|
+
}
|
|
1826
|
+
}
|
|
1827
|
+
},
|
|
1828
|
+
"InfoTypeCategory": {
|
|
1829
|
+
"oneofs": {
|
|
1830
|
+
"category": {
|
|
1831
|
+
"oneof": [
|
|
1832
|
+
"locationCategory",
|
|
1833
|
+
"industryCategory",
|
|
1834
|
+
"typeCategory"
|
|
1835
|
+
]
|
|
1836
|
+
}
|
|
1837
|
+
},
|
|
1838
|
+
"fields": {
|
|
1839
|
+
"locationCategory": {
|
|
1840
|
+
"type": "LocationCategory",
|
|
1841
|
+
"id": 1
|
|
1842
|
+
},
|
|
1843
|
+
"industryCategory": {
|
|
1844
|
+
"type": "IndustryCategory",
|
|
1845
|
+
"id": 2
|
|
1846
|
+
},
|
|
1847
|
+
"typeCategory": {
|
|
1848
|
+
"type": "TypeCategory",
|
|
1849
|
+
"id": 3
|
|
1850
|
+
}
|
|
1851
|
+
},
|
|
1852
|
+
"nested": {
|
|
1853
|
+
"LocationCategory": {
|
|
1854
|
+
"values": {
|
|
1855
|
+
"LOCATION_UNSPECIFIED": 0,
|
|
1856
|
+
"GLOBAL": 1,
|
|
1857
|
+
"ARGENTINA": 2,
|
|
1858
|
+
"AUSTRALIA": 3,
|
|
1859
|
+
"BELGIUM": 4,
|
|
1860
|
+
"BRAZIL": 5,
|
|
1861
|
+
"CANADA": 6,
|
|
1862
|
+
"CHILE": 7,
|
|
1863
|
+
"CHINA": 8,
|
|
1864
|
+
"COLOMBIA": 9,
|
|
1865
|
+
"DENMARK": 10,
|
|
1866
|
+
"FRANCE": 11,
|
|
1867
|
+
"FINLAND": 12,
|
|
1868
|
+
"GERMANY": 13,
|
|
1869
|
+
"HONG_KONG": 14,
|
|
1870
|
+
"INDIA": 15,
|
|
1871
|
+
"INDONESIA": 16,
|
|
1872
|
+
"IRELAND": 17,
|
|
1873
|
+
"ISRAEL": 18,
|
|
1874
|
+
"ITALY": 19,
|
|
1875
|
+
"JAPAN": 20,
|
|
1876
|
+
"KOREA": 21,
|
|
1877
|
+
"MEXICO": 22,
|
|
1878
|
+
"THE_NETHERLANDS": 23,
|
|
1879
|
+
"NORWAY": 24,
|
|
1880
|
+
"PARAGUAY": 25,
|
|
1881
|
+
"PERU": 26,
|
|
1882
|
+
"POLAND": 27,
|
|
1883
|
+
"PORTUGAL": 28,
|
|
1884
|
+
"SINGAPORE": 29,
|
|
1885
|
+
"SOUTH_AFRICA": 30,
|
|
1886
|
+
"SPAIN": 31,
|
|
1887
|
+
"SWEDEN": 32,
|
|
1888
|
+
"TAIWAN": 33,
|
|
1889
|
+
"THAILAND": 34,
|
|
1890
|
+
"TURKEY": 35,
|
|
1891
|
+
"UNITED_KINGDOM": 36,
|
|
1892
|
+
"UNITED_STATES": 37,
|
|
1893
|
+
"URUGUAY": 38,
|
|
1894
|
+
"VENEZUELA": 39,
|
|
1895
|
+
"INTERNAL": 40
|
|
1896
|
+
}
|
|
1897
|
+
},
|
|
1898
|
+
"IndustryCategory": {
|
|
1899
|
+
"values": {
|
|
1900
|
+
"INDUSTRY_UNSPECIFIED": 0,
|
|
1901
|
+
"FINANCE": 1,
|
|
1902
|
+
"HEALTH": 2,
|
|
1903
|
+
"TELECOMMUNICATIONS": 3
|
|
1904
|
+
}
|
|
1905
|
+
},
|
|
1906
|
+
"TypeCategory": {
|
|
1907
|
+
"values": {
|
|
1908
|
+
"TYPE_UNSPECIFIED": 0,
|
|
1909
|
+
"PII": 1,
|
|
1910
|
+
"SPII": 2,
|
|
1911
|
+
"DEMOGRAPHIC": 3,
|
|
1912
|
+
"CREDENTIAL": 4,
|
|
1913
|
+
"GOVERNMENT_ID": 5,
|
|
1914
|
+
"DOCUMENT": 6,
|
|
1915
|
+
"CONTEXTUAL_INFORMATION": 7
|
|
1916
|
+
}
|
|
1820
1917
|
}
|
|
1821
1918
|
}
|
|
1822
1919
|
},
|
|
@@ -6277,6 +6374,13 @@
|
|
|
6277
6374
|
"default": false
|
|
6278
6375
|
}
|
|
6279
6376
|
},
|
|
6377
|
+
"unverifiedLazy": {
|
|
6378
|
+
"type": "bool",
|
|
6379
|
+
"id": 15,
|
|
6380
|
+
"options": {
|
|
6381
|
+
"default": false
|
|
6382
|
+
}
|
|
6383
|
+
},
|
|
6280
6384
|
"deprecated": {
|
|
6281
6385
|
"type": "bool",
|
|
6282
6386
|
"id": 3,
|
|
@@ -41,7 +41,7 @@ export declare class DlpServiceClient {
|
|
|
41
41
|
*
|
|
42
42
|
* @param {object} [options] - The configuration object.
|
|
43
43
|
* The options accepted by the constructor are described in detail
|
|
44
|
-
* in [this document](https://github.com/googleapis/gax-nodejs/blob/
|
|
44
|
+
* in [this document](https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#creating-the-client-instance).
|
|
45
45
|
* The common options are:
|
|
46
46
|
* @param {object} [options.credentials] - Credentials object.
|
|
47
47
|
* @param {string} [options.credentials.client_email]
|
|
@@ -64,11 +64,10 @@ export declare class DlpServiceClient {
|
|
|
64
64
|
* API remote host.
|
|
65
65
|
* @param {gax.ClientConfig} [options.clientConfig] - Client configuration override.
|
|
66
66
|
* Follows the structure of {@link gapicConfig}.
|
|
67
|
-
* @param {boolean} [options.fallback] - Use HTTP fallback mode.
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
|
-
* if you need to override this behavior.
|
|
67
|
+
* @param {boolean | "rest"} [options.fallback] - Use HTTP fallback mode.
|
|
68
|
+
* Pass "rest" to use HTTP/1.1 REST API instead of gRPC.
|
|
69
|
+
* For more information, please check the
|
|
70
|
+
* {@link https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#http11-rest-api-mode documentation}.
|
|
72
71
|
*/
|
|
73
72
|
constructor(opts?: ClientOptions);
|
|
74
73
|
/**
|
|
@@ -162,7 +161,11 @@ export declare class DlpServiceClient {
|
|
|
162
161
|
* @example <caption>include:samples/generated/v2/dlp_service.inspect_content.js</caption>
|
|
163
162
|
* region_tag:dlp_v2_generated_DlpService_InspectContent_async
|
|
164
163
|
*/
|
|
165
|
-
inspectContent(request?: protos.google.privacy.dlp.v2.IInspectContentRequest, options?: CallOptions): Promise<[
|
|
164
|
+
inspectContent(request?: protos.google.privacy.dlp.v2.IInspectContentRequest, options?: CallOptions): Promise<[
|
|
165
|
+
protos.google.privacy.dlp.v2.IInspectContentResponse,
|
|
166
|
+
protos.google.privacy.dlp.v2.IInspectContentRequest | undefined,
|
|
167
|
+
{} | undefined
|
|
168
|
+
]>;
|
|
166
169
|
inspectContent(request: protos.google.privacy.dlp.v2.IInspectContentRequest, options: CallOptions, callback: Callback<protos.google.privacy.dlp.v2.IInspectContentResponse, protos.google.privacy.dlp.v2.IInspectContentRequest | null | undefined, {} | null | undefined>): void;
|
|
167
170
|
inspectContent(request: protos.google.privacy.dlp.v2.IInspectContentRequest, callback: Callback<protos.google.privacy.dlp.v2.IInspectContentResponse, protos.google.privacy.dlp.v2.IInspectContentRequest | null | undefined, {} | null | undefined>): void;
|
|
168
171
|
/**
|
|
@@ -215,7 +218,11 @@ export declare class DlpServiceClient {
|
|
|
215
218
|
* @example <caption>include:samples/generated/v2/dlp_service.redact_image.js</caption>
|
|
216
219
|
* region_tag:dlp_v2_generated_DlpService_RedactImage_async
|
|
217
220
|
*/
|
|
218
|
-
redactImage(request?: protos.google.privacy.dlp.v2.IRedactImageRequest, options?: CallOptions): Promise<[
|
|
221
|
+
redactImage(request?: protos.google.privacy.dlp.v2.IRedactImageRequest, options?: CallOptions): Promise<[
|
|
222
|
+
protos.google.privacy.dlp.v2.IRedactImageResponse,
|
|
223
|
+
protos.google.privacy.dlp.v2.IRedactImageRequest | undefined,
|
|
224
|
+
{} | undefined
|
|
225
|
+
]>;
|
|
219
226
|
redactImage(request: protos.google.privacy.dlp.v2.IRedactImageRequest, options: CallOptions, callback: Callback<protos.google.privacy.dlp.v2.IRedactImageResponse, protos.google.privacy.dlp.v2.IRedactImageRequest | null | undefined, {} | null | undefined>): void;
|
|
220
227
|
redactImage(request: protos.google.privacy.dlp.v2.IRedactImageRequest, callback: Callback<protos.google.privacy.dlp.v2.IRedactImageResponse, protos.google.privacy.dlp.v2.IRedactImageRequest | null | undefined, {} | null | undefined>): void;
|
|
221
228
|
/**
|
|
@@ -281,7 +288,11 @@ export declare class DlpServiceClient {
|
|
|
281
288
|
* @example <caption>include:samples/generated/v2/dlp_service.deidentify_content.js</caption>
|
|
282
289
|
* region_tag:dlp_v2_generated_DlpService_DeidentifyContent_async
|
|
283
290
|
*/
|
|
284
|
-
deidentifyContent(request?: protos.google.privacy.dlp.v2.IDeidentifyContentRequest, options?: CallOptions): Promise<[
|
|
291
|
+
deidentifyContent(request?: protos.google.privacy.dlp.v2.IDeidentifyContentRequest, options?: CallOptions): Promise<[
|
|
292
|
+
protos.google.privacy.dlp.v2.IDeidentifyContentResponse,
|
|
293
|
+
protos.google.privacy.dlp.v2.IDeidentifyContentRequest | undefined,
|
|
294
|
+
{} | undefined
|
|
295
|
+
]>;
|
|
285
296
|
deidentifyContent(request: protos.google.privacy.dlp.v2.IDeidentifyContentRequest, options: CallOptions, callback: Callback<protos.google.privacy.dlp.v2.IDeidentifyContentResponse, protos.google.privacy.dlp.v2.IDeidentifyContentRequest | null | undefined, {} | null | undefined>): void;
|
|
286
297
|
deidentifyContent(request: protos.google.privacy.dlp.v2.IDeidentifyContentRequest, callback: Callback<protos.google.privacy.dlp.v2.IDeidentifyContentResponse, protos.google.privacy.dlp.v2.IDeidentifyContentRequest | null | undefined, {} | null | undefined>): void;
|
|
287
298
|
/**
|
|
@@ -350,7 +361,11 @@ export declare class DlpServiceClient {
|
|
|
350
361
|
* @example <caption>include:samples/generated/v2/dlp_service.reidentify_content.js</caption>
|
|
351
362
|
* region_tag:dlp_v2_generated_DlpService_ReidentifyContent_async
|
|
352
363
|
*/
|
|
353
|
-
reidentifyContent(request?: protos.google.privacy.dlp.v2.IReidentifyContentRequest, options?: CallOptions): Promise<[
|
|
364
|
+
reidentifyContent(request?: protos.google.privacy.dlp.v2.IReidentifyContentRequest, options?: CallOptions): Promise<[
|
|
365
|
+
protos.google.privacy.dlp.v2.IReidentifyContentResponse,
|
|
366
|
+
protos.google.privacy.dlp.v2.IReidentifyContentRequest | undefined,
|
|
367
|
+
{} | undefined
|
|
368
|
+
]>;
|
|
354
369
|
reidentifyContent(request: protos.google.privacy.dlp.v2.IReidentifyContentRequest, options: CallOptions, callback: Callback<protos.google.privacy.dlp.v2.IReidentifyContentResponse, protos.google.privacy.dlp.v2.IReidentifyContentRequest | null | undefined, {} | null | undefined>): void;
|
|
355
370
|
reidentifyContent(request: protos.google.privacy.dlp.v2.IReidentifyContentRequest, callback: Callback<protos.google.privacy.dlp.v2.IReidentifyContentResponse, protos.google.privacy.dlp.v2.IReidentifyContentRequest | null | undefined, {} | null | undefined>): void;
|
|
356
371
|
/**
|
|
@@ -385,7 +400,11 @@ export declare class DlpServiceClient {
|
|
|
385
400
|
* @example <caption>include:samples/generated/v2/dlp_service.list_info_types.js</caption>
|
|
386
401
|
* region_tag:dlp_v2_generated_DlpService_ListInfoTypes_async
|
|
387
402
|
*/
|
|
388
|
-
listInfoTypes(request?: protos.google.privacy.dlp.v2.IListInfoTypesRequest, options?: CallOptions): Promise<[
|
|
403
|
+
listInfoTypes(request?: protos.google.privacy.dlp.v2.IListInfoTypesRequest, options?: CallOptions): Promise<[
|
|
404
|
+
protos.google.privacy.dlp.v2.IListInfoTypesResponse,
|
|
405
|
+
protos.google.privacy.dlp.v2.IListInfoTypesRequest | undefined,
|
|
406
|
+
{} | undefined
|
|
407
|
+
]>;
|
|
389
408
|
listInfoTypes(request: protos.google.privacy.dlp.v2.IListInfoTypesRequest, options: CallOptions, callback: Callback<protos.google.privacy.dlp.v2.IListInfoTypesResponse, protos.google.privacy.dlp.v2.IListInfoTypesRequest | null | undefined, {} | null | undefined>): void;
|
|
390
409
|
listInfoTypes(request: protos.google.privacy.dlp.v2.IListInfoTypesRequest, callback: Callback<protos.google.privacy.dlp.v2.IListInfoTypesResponse, protos.google.privacy.dlp.v2.IListInfoTypesRequest | null | undefined, {} | null | undefined>): void;
|
|
391
410
|
/**
|
|
@@ -435,7 +454,11 @@ export declare class DlpServiceClient {
|
|
|
435
454
|
* @example <caption>include:samples/generated/v2/dlp_service.create_inspect_template.js</caption>
|
|
436
455
|
* region_tag:dlp_v2_generated_DlpService_CreateInspectTemplate_async
|
|
437
456
|
*/
|
|
438
|
-
createInspectTemplate(request?: protos.google.privacy.dlp.v2.ICreateInspectTemplateRequest, options?: CallOptions): Promise<[
|
|
457
|
+
createInspectTemplate(request?: protos.google.privacy.dlp.v2.ICreateInspectTemplateRequest, options?: CallOptions): Promise<[
|
|
458
|
+
protos.google.privacy.dlp.v2.IInspectTemplate,
|
|
459
|
+
protos.google.privacy.dlp.v2.ICreateInspectTemplateRequest | undefined,
|
|
460
|
+
{} | undefined
|
|
461
|
+
]>;
|
|
439
462
|
createInspectTemplate(request: protos.google.privacy.dlp.v2.ICreateInspectTemplateRequest, options: CallOptions, callback: Callback<protos.google.privacy.dlp.v2.IInspectTemplate, protos.google.privacy.dlp.v2.ICreateInspectTemplateRequest | null | undefined, {} | null | undefined>): void;
|
|
440
463
|
createInspectTemplate(request: protos.google.privacy.dlp.v2.ICreateInspectTemplateRequest, callback: Callback<protos.google.privacy.dlp.v2.IInspectTemplate, protos.google.privacy.dlp.v2.ICreateInspectTemplateRequest | null | undefined, {} | null | undefined>): void;
|
|
441
464
|
/**
|
|
@@ -462,7 +485,11 @@ export declare class DlpServiceClient {
|
|
|
462
485
|
* @example <caption>include:samples/generated/v2/dlp_service.update_inspect_template.js</caption>
|
|
463
486
|
* region_tag:dlp_v2_generated_DlpService_UpdateInspectTemplate_async
|
|
464
487
|
*/
|
|
465
|
-
updateInspectTemplate(request?: protos.google.privacy.dlp.v2.IUpdateInspectTemplateRequest, options?: CallOptions): Promise<[
|
|
488
|
+
updateInspectTemplate(request?: protos.google.privacy.dlp.v2.IUpdateInspectTemplateRequest, options?: CallOptions): Promise<[
|
|
489
|
+
protos.google.privacy.dlp.v2.IInspectTemplate,
|
|
490
|
+
protos.google.privacy.dlp.v2.IUpdateInspectTemplateRequest | undefined,
|
|
491
|
+
{} | undefined
|
|
492
|
+
]>;
|
|
466
493
|
updateInspectTemplate(request: protos.google.privacy.dlp.v2.IUpdateInspectTemplateRequest, options: CallOptions, callback: Callback<protos.google.privacy.dlp.v2.IInspectTemplate, protos.google.privacy.dlp.v2.IUpdateInspectTemplateRequest | null | undefined, {} | null | undefined>): void;
|
|
467
494
|
updateInspectTemplate(request: protos.google.privacy.dlp.v2.IUpdateInspectTemplateRequest, callback: Callback<protos.google.privacy.dlp.v2.IInspectTemplate, protos.google.privacy.dlp.v2.IUpdateInspectTemplateRequest | null | undefined, {} | null | undefined>): void;
|
|
468
495
|
/**
|
|
@@ -485,7 +512,11 @@ export declare class DlpServiceClient {
|
|
|
485
512
|
* @example <caption>include:samples/generated/v2/dlp_service.get_inspect_template.js</caption>
|
|
486
513
|
* region_tag:dlp_v2_generated_DlpService_GetInspectTemplate_async
|
|
487
514
|
*/
|
|
488
|
-
getInspectTemplate(request?: protos.google.privacy.dlp.v2.IGetInspectTemplateRequest, options?: CallOptions): Promise<[
|
|
515
|
+
getInspectTemplate(request?: protos.google.privacy.dlp.v2.IGetInspectTemplateRequest, options?: CallOptions): Promise<[
|
|
516
|
+
protos.google.privacy.dlp.v2.IInspectTemplate,
|
|
517
|
+
protos.google.privacy.dlp.v2.IGetInspectTemplateRequest | undefined,
|
|
518
|
+
{} | undefined
|
|
519
|
+
]>;
|
|
489
520
|
getInspectTemplate(request: protos.google.privacy.dlp.v2.IGetInspectTemplateRequest, options: CallOptions, callback: Callback<protos.google.privacy.dlp.v2.IInspectTemplate, protos.google.privacy.dlp.v2.IGetInspectTemplateRequest | null | undefined, {} | null | undefined>): void;
|
|
490
521
|
getInspectTemplate(request: protos.google.privacy.dlp.v2.IGetInspectTemplateRequest, callback: Callback<protos.google.privacy.dlp.v2.IInspectTemplate, protos.google.privacy.dlp.v2.IGetInspectTemplateRequest | null | undefined, {} | null | undefined>): void;
|
|
491
522
|
/**
|
|
@@ -508,7 +539,11 @@ export declare class DlpServiceClient {
|
|
|
508
539
|
* @example <caption>include:samples/generated/v2/dlp_service.delete_inspect_template.js</caption>
|
|
509
540
|
* region_tag:dlp_v2_generated_DlpService_DeleteInspectTemplate_async
|
|
510
541
|
*/
|
|
511
|
-
deleteInspectTemplate(request?: protos.google.privacy.dlp.v2.IDeleteInspectTemplateRequest, options?: CallOptions): Promise<[
|
|
542
|
+
deleteInspectTemplate(request?: protos.google.privacy.dlp.v2.IDeleteInspectTemplateRequest, options?: CallOptions): Promise<[
|
|
543
|
+
protos.google.protobuf.IEmpty,
|
|
544
|
+
protos.google.privacy.dlp.v2.IDeleteInspectTemplateRequest | undefined,
|
|
545
|
+
{} | undefined
|
|
546
|
+
]>;
|
|
512
547
|
deleteInspectTemplate(request: protos.google.privacy.dlp.v2.IDeleteInspectTemplateRequest, options: CallOptions, callback: Callback<protos.google.protobuf.IEmpty, protos.google.privacy.dlp.v2.IDeleteInspectTemplateRequest | null | undefined, {} | null | undefined>): void;
|
|
513
548
|
deleteInspectTemplate(request: protos.google.privacy.dlp.v2.IDeleteInspectTemplateRequest, callback: Callback<protos.google.protobuf.IEmpty, protos.google.privacy.dlp.v2.IDeleteInspectTemplateRequest | null | undefined, {} | null | undefined>): void;
|
|
514
549
|
/**
|
|
@@ -559,7 +594,11 @@ export declare class DlpServiceClient {
|
|
|
559
594
|
* @example <caption>include:samples/generated/v2/dlp_service.create_deidentify_template.js</caption>
|
|
560
595
|
* region_tag:dlp_v2_generated_DlpService_CreateDeidentifyTemplate_async
|
|
561
596
|
*/
|
|
562
|
-
createDeidentifyTemplate(request?: protos.google.privacy.dlp.v2.ICreateDeidentifyTemplateRequest, options?: CallOptions): Promise<[
|
|
597
|
+
createDeidentifyTemplate(request?: protos.google.privacy.dlp.v2.ICreateDeidentifyTemplateRequest, options?: CallOptions): Promise<[
|
|
598
|
+
protos.google.privacy.dlp.v2.IDeidentifyTemplate,
|
|
599
|
+
protos.google.privacy.dlp.v2.ICreateDeidentifyTemplateRequest | undefined,
|
|
600
|
+
{} | undefined
|
|
601
|
+
]>;
|
|
563
602
|
createDeidentifyTemplate(request: protos.google.privacy.dlp.v2.ICreateDeidentifyTemplateRequest, options: CallOptions, callback: Callback<protos.google.privacy.dlp.v2.IDeidentifyTemplate, protos.google.privacy.dlp.v2.ICreateDeidentifyTemplateRequest | null | undefined, {} | null | undefined>): void;
|
|
564
603
|
createDeidentifyTemplate(request: protos.google.privacy.dlp.v2.ICreateDeidentifyTemplateRequest, callback: Callback<protos.google.privacy.dlp.v2.IDeidentifyTemplate, protos.google.privacy.dlp.v2.ICreateDeidentifyTemplateRequest | null | undefined, {} | null | undefined>): void;
|
|
565
604
|
/**
|
|
@@ -587,7 +626,11 @@ export declare class DlpServiceClient {
|
|
|
587
626
|
* @example <caption>include:samples/generated/v2/dlp_service.update_deidentify_template.js</caption>
|
|
588
627
|
* region_tag:dlp_v2_generated_DlpService_UpdateDeidentifyTemplate_async
|
|
589
628
|
*/
|
|
590
|
-
updateDeidentifyTemplate(request?: protos.google.privacy.dlp.v2.IUpdateDeidentifyTemplateRequest, options?: CallOptions): Promise<[
|
|
629
|
+
updateDeidentifyTemplate(request?: protos.google.privacy.dlp.v2.IUpdateDeidentifyTemplateRequest, options?: CallOptions): Promise<[
|
|
630
|
+
protos.google.privacy.dlp.v2.IDeidentifyTemplate,
|
|
631
|
+
protos.google.privacy.dlp.v2.IUpdateDeidentifyTemplateRequest | undefined,
|
|
632
|
+
{} | undefined
|
|
633
|
+
]>;
|
|
591
634
|
updateDeidentifyTemplate(request: protos.google.privacy.dlp.v2.IUpdateDeidentifyTemplateRequest, options: CallOptions, callback: Callback<protos.google.privacy.dlp.v2.IDeidentifyTemplate, protos.google.privacy.dlp.v2.IUpdateDeidentifyTemplateRequest | null | undefined, {} | null | undefined>): void;
|
|
592
635
|
updateDeidentifyTemplate(request: protos.google.privacy.dlp.v2.IUpdateDeidentifyTemplateRequest, callback: Callback<protos.google.privacy.dlp.v2.IDeidentifyTemplate, protos.google.privacy.dlp.v2.IUpdateDeidentifyTemplateRequest | null | undefined, {} | null | undefined>): void;
|
|
593
636
|
/**
|
|
@@ -611,7 +654,11 @@ export declare class DlpServiceClient {
|
|
|
611
654
|
* @example <caption>include:samples/generated/v2/dlp_service.get_deidentify_template.js</caption>
|
|
612
655
|
* region_tag:dlp_v2_generated_DlpService_GetDeidentifyTemplate_async
|
|
613
656
|
*/
|
|
614
|
-
getDeidentifyTemplate(request?: protos.google.privacy.dlp.v2.IGetDeidentifyTemplateRequest, options?: CallOptions): Promise<[
|
|
657
|
+
getDeidentifyTemplate(request?: protos.google.privacy.dlp.v2.IGetDeidentifyTemplateRequest, options?: CallOptions): Promise<[
|
|
658
|
+
protos.google.privacy.dlp.v2.IDeidentifyTemplate,
|
|
659
|
+
protos.google.privacy.dlp.v2.IGetDeidentifyTemplateRequest | undefined,
|
|
660
|
+
{} | undefined
|
|
661
|
+
]>;
|
|
615
662
|
getDeidentifyTemplate(request: protos.google.privacy.dlp.v2.IGetDeidentifyTemplateRequest, options: CallOptions, callback: Callback<protos.google.privacy.dlp.v2.IDeidentifyTemplate, protos.google.privacy.dlp.v2.IGetDeidentifyTemplateRequest | null | undefined, {} | null | undefined>): void;
|
|
616
663
|
getDeidentifyTemplate(request: protos.google.privacy.dlp.v2.IGetDeidentifyTemplateRequest, callback: Callback<protos.google.privacy.dlp.v2.IDeidentifyTemplate, protos.google.privacy.dlp.v2.IGetDeidentifyTemplateRequest | null | undefined, {} | null | undefined>): void;
|
|
617
664
|
/**
|
|
@@ -635,7 +682,11 @@ export declare class DlpServiceClient {
|
|
|
635
682
|
* @example <caption>include:samples/generated/v2/dlp_service.delete_deidentify_template.js</caption>
|
|
636
683
|
* region_tag:dlp_v2_generated_DlpService_DeleteDeidentifyTemplate_async
|
|
637
684
|
*/
|
|
638
|
-
deleteDeidentifyTemplate(request?: protos.google.privacy.dlp.v2.IDeleteDeidentifyTemplateRequest, options?: CallOptions): Promise<[
|
|
685
|
+
deleteDeidentifyTemplate(request?: protos.google.privacy.dlp.v2.IDeleteDeidentifyTemplateRequest, options?: CallOptions): Promise<[
|
|
686
|
+
protos.google.protobuf.IEmpty,
|
|
687
|
+
protos.google.privacy.dlp.v2.IDeleteDeidentifyTemplateRequest | undefined,
|
|
688
|
+
{} | undefined
|
|
689
|
+
]>;
|
|
639
690
|
deleteDeidentifyTemplate(request: protos.google.privacy.dlp.v2.IDeleteDeidentifyTemplateRequest, options: CallOptions, callback: Callback<protos.google.protobuf.IEmpty, protos.google.privacy.dlp.v2.IDeleteDeidentifyTemplateRequest | null | undefined, {} | null | undefined>): void;
|
|
640
691
|
deleteDeidentifyTemplate(request: protos.google.privacy.dlp.v2.IDeleteDeidentifyTemplateRequest, callback: Callback<protos.google.protobuf.IEmpty, protos.google.privacy.dlp.v2.IDeleteDeidentifyTemplateRequest | null | undefined, {} | null | undefined>): void;
|
|
641
692
|
/**
|
|
@@ -681,7 +732,11 @@ export declare class DlpServiceClient {
|
|
|
681
732
|
* @example <caption>include:samples/generated/v2/dlp_service.create_job_trigger.js</caption>
|
|
682
733
|
* region_tag:dlp_v2_generated_DlpService_CreateJobTrigger_async
|
|
683
734
|
*/
|
|
684
|
-
createJobTrigger(request?: protos.google.privacy.dlp.v2.ICreateJobTriggerRequest, options?: CallOptions): Promise<[
|
|
735
|
+
createJobTrigger(request?: protos.google.privacy.dlp.v2.ICreateJobTriggerRequest, options?: CallOptions): Promise<[
|
|
736
|
+
protos.google.privacy.dlp.v2.IJobTrigger,
|
|
737
|
+
protos.google.privacy.dlp.v2.ICreateJobTriggerRequest | undefined,
|
|
738
|
+
{} | undefined
|
|
739
|
+
]>;
|
|
685
740
|
createJobTrigger(request: protos.google.privacy.dlp.v2.ICreateJobTriggerRequest, options: CallOptions, callback: Callback<protos.google.privacy.dlp.v2.IJobTrigger, protos.google.privacy.dlp.v2.ICreateJobTriggerRequest | null | undefined, {} | null | undefined>): void;
|
|
686
741
|
createJobTrigger(request: protos.google.privacy.dlp.v2.ICreateJobTriggerRequest, callback: Callback<protos.google.privacy.dlp.v2.IJobTrigger, protos.google.privacy.dlp.v2.ICreateJobTriggerRequest | null | undefined, {} | null | undefined>): void;
|
|
687
742
|
/**
|
|
@@ -707,7 +762,11 @@ export declare class DlpServiceClient {
|
|
|
707
762
|
* @example <caption>include:samples/generated/v2/dlp_service.update_job_trigger.js</caption>
|
|
708
763
|
* region_tag:dlp_v2_generated_DlpService_UpdateJobTrigger_async
|
|
709
764
|
*/
|
|
710
|
-
updateJobTrigger(request?: protos.google.privacy.dlp.v2.IUpdateJobTriggerRequest, options?: CallOptions): Promise<[
|
|
765
|
+
updateJobTrigger(request?: protos.google.privacy.dlp.v2.IUpdateJobTriggerRequest, options?: CallOptions): Promise<[
|
|
766
|
+
protos.google.privacy.dlp.v2.IJobTrigger,
|
|
767
|
+
protos.google.privacy.dlp.v2.IUpdateJobTriggerRequest | undefined,
|
|
768
|
+
{} | undefined
|
|
769
|
+
]>;
|
|
711
770
|
updateJobTrigger(request: protos.google.privacy.dlp.v2.IUpdateJobTriggerRequest, options: CallOptions, callback: Callback<protos.google.privacy.dlp.v2.IJobTrigger, protos.google.privacy.dlp.v2.IUpdateJobTriggerRequest | null | undefined, {} | null | undefined>): void;
|
|
712
771
|
updateJobTrigger(request: protos.google.privacy.dlp.v2.IUpdateJobTriggerRequest, callback: Callback<protos.google.privacy.dlp.v2.IJobTrigger, protos.google.privacy.dlp.v2.IUpdateJobTriggerRequest | null | undefined, {} | null | undefined>): void;
|
|
713
772
|
/**
|
|
@@ -732,7 +791,11 @@ export declare class DlpServiceClient {
|
|
|
732
791
|
* @example <caption>include:samples/generated/v2/dlp_service.hybrid_inspect_job_trigger.js</caption>
|
|
733
792
|
* region_tag:dlp_v2_generated_DlpService_HybridInspectJobTrigger_async
|
|
734
793
|
*/
|
|
735
|
-
hybridInspectJobTrigger(request?: protos.google.privacy.dlp.v2.IHybridInspectJobTriggerRequest, options?: CallOptions): Promise<[
|
|
794
|
+
hybridInspectJobTrigger(request?: protos.google.privacy.dlp.v2.IHybridInspectJobTriggerRequest, options?: CallOptions): Promise<[
|
|
795
|
+
protos.google.privacy.dlp.v2.IHybridInspectResponse,
|
|
796
|
+
protos.google.privacy.dlp.v2.IHybridInspectJobTriggerRequest | undefined,
|
|
797
|
+
{} | undefined
|
|
798
|
+
]>;
|
|
736
799
|
hybridInspectJobTrigger(request: protos.google.privacy.dlp.v2.IHybridInspectJobTriggerRequest, options: CallOptions, callback: Callback<protos.google.privacy.dlp.v2.IHybridInspectResponse, protos.google.privacy.dlp.v2.IHybridInspectJobTriggerRequest | null | undefined, {} | null | undefined>): void;
|
|
737
800
|
hybridInspectJobTrigger(request: protos.google.privacy.dlp.v2.IHybridInspectJobTriggerRequest, callback: Callback<protos.google.privacy.dlp.v2.IHybridInspectResponse, protos.google.privacy.dlp.v2.IHybridInspectJobTriggerRequest | null | undefined, {} | null | undefined>): void;
|
|
738
801
|
/**
|
|
@@ -754,7 +817,11 @@ export declare class DlpServiceClient {
|
|
|
754
817
|
* @example <caption>include:samples/generated/v2/dlp_service.get_job_trigger.js</caption>
|
|
755
818
|
* region_tag:dlp_v2_generated_DlpService_GetJobTrigger_async
|
|
756
819
|
*/
|
|
757
|
-
getJobTrigger(request?: protos.google.privacy.dlp.v2.IGetJobTriggerRequest, options?: CallOptions): Promise<[
|
|
820
|
+
getJobTrigger(request?: protos.google.privacy.dlp.v2.IGetJobTriggerRequest, options?: CallOptions): Promise<[
|
|
821
|
+
protos.google.privacy.dlp.v2.IJobTrigger,
|
|
822
|
+
protos.google.privacy.dlp.v2.IGetJobTriggerRequest | undefined,
|
|
823
|
+
{} | undefined
|
|
824
|
+
]>;
|
|
758
825
|
getJobTrigger(request: protos.google.privacy.dlp.v2.IGetJobTriggerRequest, options: CallOptions, callback: Callback<protos.google.privacy.dlp.v2.IJobTrigger, protos.google.privacy.dlp.v2.IGetJobTriggerRequest | null | undefined, {} | null | undefined>): void;
|
|
759
826
|
getJobTrigger(request: protos.google.privacy.dlp.v2.IGetJobTriggerRequest, callback: Callback<protos.google.privacy.dlp.v2.IJobTrigger, protos.google.privacy.dlp.v2.IGetJobTriggerRequest | null | undefined, {} | null | undefined>): void;
|
|
760
827
|
/**
|
|
@@ -776,7 +843,11 @@ export declare class DlpServiceClient {
|
|
|
776
843
|
* @example <caption>include:samples/generated/v2/dlp_service.delete_job_trigger.js</caption>
|
|
777
844
|
* region_tag:dlp_v2_generated_DlpService_DeleteJobTrigger_async
|
|
778
845
|
*/
|
|
779
|
-
deleteJobTrigger(request?: protos.google.privacy.dlp.v2.IDeleteJobTriggerRequest, options?: CallOptions): Promise<[
|
|
846
|
+
deleteJobTrigger(request?: protos.google.privacy.dlp.v2.IDeleteJobTriggerRequest, options?: CallOptions): Promise<[
|
|
847
|
+
protos.google.protobuf.IEmpty,
|
|
848
|
+
protos.google.privacy.dlp.v2.IDeleteJobTriggerRequest | undefined,
|
|
849
|
+
{} | undefined
|
|
850
|
+
]>;
|
|
780
851
|
deleteJobTrigger(request: protos.google.privacy.dlp.v2.IDeleteJobTriggerRequest, options: CallOptions, callback: Callback<protos.google.protobuf.IEmpty, protos.google.privacy.dlp.v2.IDeleteJobTriggerRequest | null | undefined, {} | null | undefined>): void;
|
|
781
852
|
deleteJobTrigger(request: protos.google.privacy.dlp.v2.IDeleteJobTriggerRequest, callback: Callback<protos.google.protobuf.IEmpty, protos.google.privacy.dlp.v2.IDeleteJobTriggerRequest | null | undefined, {} | null | undefined>): void;
|
|
782
853
|
/**
|
|
@@ -798,7 +869,11 @@ export declare class DlpServiceClient {
|
|
|
798
869
|
* @example <caption>include:samples/generated/v2/dlp_service.activate_job_trigger.js</caption>
|
|
799
870
|
* region_tag:dlp_v2_generated_DlpService_ActivateJobTrigger_async
|
|
800
871
|
*/
|
|
801
|
-
activateJobTrigger(request?: protos.google.privacy.dlp.v2.IActivateJobTriggerRequest, options?: CallOptions): Promise<[
|
|
872
|
+
activateJobTrigger(request?: protos.google.privacy.dlp.v2.IActivateJobTriggerRequest, options?: CallOptions): Promise<[
|
|
873
|
+
protos.google.privacy.dlp.v2.IDlpJob,
|
|
874
|
+
protos.google.privacy.dlp.v2.IActivateJobTriggerRequest | undefined,
|
|
875
|
+
{} | undefined
|
|
876
|
+
]>;
|
|
802
877
|
activateJobTrigger(request: protos.google.privacy.dlp.v2.IActivateJobTriggerRequest, options: CallOptions, callback: Callback<protos.google.privacy.dlp.v2.IDlpJob, protos.google.privacy.dlp.v2.IActivateJobTriggerRequest | null | undefined, {} | null | undefined>): void;
|
|
803
878
|
activateJobTrigger(request: protos.google.privacy.dlp.v2.IActivateJobTriggerRequest, callback: Callback<protos.google.privacy.dlp.v2.IDlpJob, protos.google.privacy.dlp.v2.IActivateJobTriggerRequest | null | undefined, {} | null | undefined>): void;
|
|
804
879
|
/**
|
|
@@ -851,7 +926,11 @@ export declare class DlpServiceClient {
|
|
|
851
926
|
* @example <caption>include:samples/generated/v2/dlp_service.create_dlp_job.js</caption>
|
|
852
927
|
* region_tag:dlp_v2_generated_DlpService_CreateDlpJob_async
|
|
853
928
|
*/
|
|
854
|
-
createDlpJob(request?: protos.google.privacy.dlp.v2.ICreateDlpJobRequest, options?: CallOptions): Promise<[
|
|
929
|
+
createDlpJob(request?: protos.google.privacy.dlp.v2.ICreateDlpJobRequest, options?: CallOptions): Promise<[
|
|
930
|
+
protos.google.privacy.dlp.v2.IDlpJob,
|
|
931
|
+
protos.google.privacy.dlp.v2.ICreateDlpJobRequest | undefined,
|
|
932
|
+
{} | undefined
|
|
933
|
+
]>;
|
|
855
934
|
createDlpJob(request: protos.google.privacy.dlp.v2.ICreateDlpJobRequest, options: CallOptions, callback: Callback<protos.google.privacy.dlp.v2.IDlpJob, protos.google.privacy.dlp.v2.ICreateDlpJobRequest | null | undefined, {} | null | undefined>): void;
|
|
856
935
|
createDlpJob(request: protos.google.privacy.dlp.v2.ICreateDlpJobRequest, callback: Callback<protos.google.privacy.dlp.v2.IDlpJob, protos.google.privacy.dlp.v2.ICreateDlpJobRequest | null | undefined, {} | null | undefined>): void;
|
|
857
936
|
/**
|
|
@@ -873,7 +952,11 @@ export declare class DlpServiceClient {
|
|
|
873
952
|
* @example <caption>include:samples/generated/v2/dlp_service.get_dlp_job.js</caption>
|
|
874
953
|
* region_tag:dlp_v2_generated_DlpService_GetDlpJob_async
|
|
875
954
|
*/
|
|
876
|
-
getDlpJob(request?: protos.google.privacy.dlp.v2.IGetDlpJobRequest, options?: CallOptions): Promise<[
|
|
955
|
+
getDlpJob(request?: protos.google.privacy.dlp.v2.IGetDlpJobRequest, options?: CallOptions): Promise<[
|
|
956
|
+
protos.google.privacy.dlp.v2.IDlpJob,
|
|
957
|
+
protos.google.privacy.dlp.v2.IGetDlpJobRequest | undefined,
|
|
958
|
+
{} | undefined
|
|
959
|
+
]>;
|
|
877
960
|
getDlpJob(request: protos.google.privacy.dlp.v2.IGetDlpJobRequest, options: CallOptions, callback: Callback<protos.google.privacy.dlp.v2.IDlpJob, protos.google.privacy.dlp.v2.IGetDlpJobRequest | null | undefined, {} | null | undefined>): void;
|
|
878
961
|
getDlpJob(request: protos.google.privacy.dlp.v2.IGetDlpJobRequest, callback: Callback<protos.google.privacy.dlp.v2.IDlpJob, protos.google.privacy.dlp.v2.IGetDlpJobRequest | null | undefined, {} | null | undefined>): void;
|
|
879
962
|
/**
|
|
@@ -897,7 +980,11 @@ export declare class DlpServiceClient {
|
|
|
897
980
|
* @example <caption>include:samples/generated/v2/dlp_service.delete_dlp_job.js</caption>
|
|
898
981
|
* region_tag:dlp_v2_generated_DlpService_DeleteDlpJob_async
|
|
899
982
|
*/
|
|
900
|
-
deleteDlpJob(request?: protos.google.privacy.dlp.v2.IDeleteDlpJobRequest, options?: CallOptions): Promise<[
|
|
983
|
+
deleteDlpJob(request?: protos.google.privacy.dlp.v2.IDeleteDlpJobRequest, options?: CallOptions): Promise<[
|
|
984
|
+
protos.google.protobuf.IEmpty,
|
|
985
|
+
protos.google.privacy.dlp.v2.IDeleteDlpJobRequest | undefined,
|
|
986
|
+
{} | undefined
|
|
987
|
+
]>;
|
|
901
988
|
deleteDlpJob(request: protos.google.privacy.dlp.v2.IDeleteDlpJobRequest, options: CallOptions, callback: Callback<protos.google.protobuf.IEmpty, protos.google.privacy.dlp.v2.IDeleteDlpJobRequest | null | undefined, {} | null | undefined>): void;
|
|
902
989
|
deleteDlpJob(request: protos.google.privacy.dlp.v2.IDeleteDlpJobRequest, callback: Callback<protos.google.protobuf.IEmpty, protos.google.privacy.dlp.v2.IDeleteDlpJobRequest | null | undefined, {} | null | undefined>): void;
|
|
903
990
|
/**
|
|
@@ -921,7 +1008,11 @@ export declare class DlpServiceClient {
|
|
|
921
1008
|
* @example <caption>include:samples/generated/v2/dlp_service.cancel_dlp_job.js</caption>
|
|
922
1009
|
* region_tag:dlp_v2_generated_DlpService_CancelDlpJob_async
|
|
923
1010
|
*/
|
|
924
|
-
cancelDlpJob(request?: protos.google.privacy.dlp.v2.ICancelDlpJobRequest, options?: CallOptions): Promise<[
|
|
1011
|
+
cancelDlpJob(request?: protos.google.privacy.dlp.v2.ICancelDlpJobRequest, options?: CallOptions): Promise<[
|
|
1012
|
+
protos.google.protobuf.IEmpty,
|
|
1013
|
+
protos.google.privacy.dlp.v2.ICancelDlpJobRequest | undefined,
|
|
1014
|
+
{} | undefined
|
|
1015
|
+
]>;
|
|
925
1016
|
cancelDlpJob(request: protos.google.privacy.dlp.v2.ICancelDlpJobRequest, options: CallOptions, callback: Callback<protos.google.protobuf.IEmpty, protos.google.privacy.dlp.v2.ICancelDlpJobRequest | null | undefined, {} | null | undefined>): void;
|
|
926
1017
|
cancelDlpJob(request: protos.google.privacy.dlp.v2.ICancelDlpJobRequest, callback: Callback<protos.google.protobuf.IEmpty, protos.google.privacy.dlp.v2.ICancelDlpJobRequest | null | undefined, {} | null | undefined>): void;
|
|
927
1018
|
/**
|
|
@@ -971,7 +1062,11 @@ export declare class DlpServiceClient {
|
|
|
971
1062
|
* @example <caption>include:samples/generated/v2/dlp_service.create_stored_info_type.js</caption>
|
|
972
1063
|
* region_tag:dlp_v2_generated_DlpService_CreateStoredInfoType_async
|
|
973
1064
|
*/
|
|
974
|
-
createStoredInfoType(request?: protos.google.privacy.dlp.v2.ICreateStoredInfoTypeRequest, options?: CallOptions): Promise<[
|
|
1065
|
+
createStoredInfoType(request?: protos.google.privacy.dlp.v2.ICreateStoredInfoTypeRequest, options?: CallOptions): Promise<[
|
|
1066
|
+
protos.google.privacy.dlp.v2.IStoredInfoType,
|
|
1067
|
+
protos.google.privacy.dlp.v2.ICreateStoredInfoTypeRequest | undefined,
|
|
1068
|
+
{} | undefined
|
|
1069
|
+
]>;
|
|
975
1070
|
createStoredInfoType(request: protos.google.privacy.dlp.v2.ICreateStoredInfoTypeRequest, options: CallOptions, callback: Callback<protos.google.privacy.dlp.v2.IStoredInfoType, protos.google.privacy.dlp.v2.ICreateStoredInfoTypeRequest | null | undefined, {} | null | undefined>): void;
|
|
976
1071
|
createStoredInfoType(request: protos.google.privacy.dlp.v2.ICreateStoredInfoTypeRequest, callback: Callback<protos.google.privacy.dlp.v2.IStoredInfoType, protos.google.privacy.dlp.v2.ICreateStoredInfoTypeRequest | null | undefined, {} | null | undefined>): void;
|
|
977
1072
|
/**
|
|
@@ -1002,7 +1097,11 @@ export declare class DlpServiceClient {
|
|
|
1002
1097
|
* @example <caption>include:samples/generated/v2/dlp_service.update_stored_info_type.js</caption>
|
|
1003
1098
|
* region_tag:dlp_v2_generated_DlpService_UpdateStoredInfoType_async
|
|
1004
1099
|
*/
|
|
1005
|
-
updateStoredInfoType(request?: protos.google.privacy.dlp.v2.IUpdateStoredInfoTypeRequest, options?: CallOptions): Promise<[
|
|
1100
|
+
updateStoredInfoType(request?: protos.google.privacy.dlp.v2.IUpdateStoredInfoTypeRequest, options?: CallOptions): Promise<[
|
|
1101
|
+
protos.google.privacy.dlp.v2.IStoredInfoType,
|
|
1102
|
+
protos.google.privacy.dlp.v2.IUpdateStoredInfoTypeRequest | undefined,
|
|
1103
|
+
{} | undefined
|
|
1104
|
+
]>;
|
|
1006
1105
|
updateStoredInfoType(request: protos.google.privacy.dlp.v2.IUpdateStoredInfoTypeRequest, options: CallOptions, callback: Callback<protos.google.privacy.dlp.v2.IStoredInfoType, protos.google.privacy.dlp.v2.IUpdateStoredInfoTypeRequest | null | undefined, {} | null | undefined>): void;
|
|
1007
1106
|
updateStoredInfoType(request: protos.google.privacy.dlp.v2.IUpdateStoredInfoTypeRequest, callback: Callback<protos.google.privacy.dlp.v2.IStoredInfoType, protos.google.privacy.dlp.v2.IUpdateStoredInfoTypeRequest | null | undefined, {} | null | undefined>): void;
|
|
1008
1107
|
/**
|
|
@@ -1026,7 +1125,11 @@ export declare class DlpServiceClient {
|
|
|
1026
1125
|
* @example <caption>include:samples/generated/v2/dlp_service.get_stored_info_type.js</caption>
|
|
1027
1126
|
* region_tag:dlp_v2_generated_DlpService_GetStoredInfoType_async
|
|
1028
1127
|
*/
|
|
1029
|
-
getStoredInfoType(request?: protos.google.privacy.dlp.v2.IGetStoredInfoTypeRequest, options?: CallOptions): Promise<[
|
|
1128
|
+
getStoredInfoType(request?: protos.google.privacy.dlp.v2.IGetStoredInfoTypeRequest, options?: CallOptions): Promise<[
|
|
1129
|
+
protos.google.privacy.dlp.v2.IStoredInfoType,
|
|
1130
|
+
protos.google.privacy.dlp.v2.IGetStoredInfoTypeRequest | undefined,
|
|
1131
|
+
{} | undefined
|
|
1132
|
+
]>;
|
|
1030
1133
|
getStoredInfoType(request: protos.google.privacy.dlp.v2.IGetStoredInfoTypeRequest, options: CallOptions, callback: Callback<protos.google.privacy.dlp.v2.IStoredInfoType, protos.google.privacy.dlp.v2.IGetStoredInfoTypeRequest | null | undefined, {} | null | undefined>): void;
|
|
1031
1134
|
getStoredInfoType(request: protos.google.privacy.dlp.v2.IGetStoredInfoTypeRequest, callback: Callback<protos.google.privacy.dlp.v2.IStoredInfoType, protos.google.privacy.dlp.v2.IGetStoredInfoTypeRequest | null | undefined, {} | null | undefined>): void;
|
|
1032
1135
|
/**
|
|
@@ -1050,7 +1153,11 @@ export declare class DlpServiceClient {
|
|
|
1050
1153
|
* @example <caption>include:samples/generated/v2/dlp_service.delete_stored_info_type.js</caption>
|
|
1051
1154
|
* region_tag:dlp_v2_generated_DlpService_DeleteStoredInfoType_async
|
|
1052
1155
|
*/
|
|
1053
|
-
deleteStoredInfoType(request?: protos.google.privacy.dlp.v2.IDeleteStoredInfoTypeRequest, options?: CallOptions): Promise<[
|
|
1156
|
+
deleteStoredInfoType(request?: protos.google.privacy.dlp.v2.IDeleteStoredInfoTypeRequest, options?: CallOptions): Promise<[
|
|
1157
|
+
protos.google.protobuf.IEmpty,
|
|
1158
|
+
protos.google.privacy.dlp.v2.IDeleteStoredInfoTypeRequest | undefined,
|
|
1159
|
+
{} | undefined
|
|
1160
|
+
]>;
|
|
1054
1161
|
deleteStoredInfoType(request: protos.google.privacy.dlp.v2.IDeleteStoredInfoTypeRequest, options: CallOptions, callback: Callback<protos.google.protobuf.IEmpty, protos.google.privacy.dlp.v2.IDeleteStoredInfoTypeRequest | null | undefined, {} | null | undefined>): void;
|
|
1055
1162
|
deleteStoredInfoType(request: protos.google.privacy.dlp.v2.IDeleteStoredInfoTypeRequest, callback: Callback<protos.google.protobuf.IEmpty, protos.google.privacy.dlp.v2.IDeleteStoredInfoTypeRequest | null | undefined, {} | null | undefined>): void;
|
|
1056
1163
|
/**
|
|
@@ -1075,7 +1182,11 @@ export declare class DlpServiceClient {
|
|
|
1075
1182
|
* @example <caption>include:samples/generated/v2/dlp_service.hybrid_inspect_dlp_job.js</caption>
|
|
1076
1183
|
* region_tag:dlp_v2_generated_DlpService_HybridInspectDlpJob_async
|
|
1077
1184
|
*/
|
|
1078
|
-
hybridInspectDlpJob(request?: protos.google.privacy.dlp.v2.IHybridInspectDlpJobRequest, options?: CallOptions): Promise<[
|
|
1185
|
+
hybridInspectDlpJob(request?: protos.google.privacy.dlp.v2.IHybridInspectDlpJobRequest, options?: CallOptions): Promise<[
|
|
1186
|
+
protos.google.privacy.dlp.v2.IHybridInspectResponse,
|
|
1187
|
+
protos.google.privacy.dlp.v2.IHybridInspectDlpJobRequest | undefined,
|
|
1188
|
+
{} | undefined
|
|
1189
|
+
]>;
|
|
1079
1190
|
hybridInspectDlpJob(request: protos.google.privacy.dlp.v2.IHybridInspectDlpJobRequest, options: CallOptions, callback: Callback<protos.google.privacy.dlp.v2.IHybridInspectResponse, protos.google.privacy.dlp.v2.IHybridInspectDlpJobRequest | null | undefined, {} | null | undefined>): void;
|
|
1080
1191
|
hybridInspectDlpJob(request: protos.google.privacy.dlp.v2.IHybridInspectDlpJobRequest, callback: Callback<protos.google.privacy.dlp.v2.IHybridInspectResponse, protos.google.privacy.dlp.v2.IHybridInspectDlpJobRequest | null | undefined, {} | null | undefined>): void;
|
|
1081
1192
|
/**
|
|
@@ -1096,7 +1207,11 @@ export declare class DlpServiceClient {
|
|
|
1096
1207
|
* @example <caption>include:samples/generated/v2/dlp_service.finish_dlp_job.js</caption>
|
|
1097
1208
|
* region_tag:dlp_v2_generated_DlpService_FinishDlpJob_async
|
|
1098
1209
|
*/
|
|
1099
|
-
finishDlpJob(request?: protos.google.privacy.dlp.v2.IFinishDlpJobRequest, options?: CallOptions): Promise<[
|
|
1210
|
+
finishDlpJob(request?: protos.google.privacy.dlp.v2.IFinishDlpJobRequest, options?: CallOptions): Promise<[
|
|
1211
|
+
protos.google.protobuf.IEmpty,
|
|
1212
|
+
protos.google.privacy.dlp.v2.IFinishDlpJobRequest | undefined,
|
|
1213
|
+
{} | undefined
|
|
1214
|
+
]>;
|
|
1100
1215
|
finishDlpJob(request: protos.google.privacy.dlp.v2.IFinishDlpJobRequest, options: CallOptions, callback: Callback<protos.google.protobuf.IEmpty, protos.google.privacy.dlp.v2.IFinishDlpJobRequest | null | undefined, {} | null | undefined>): void;
|
|
1101
1216
|
finishDlpJob(request: protos.google.privacy.dlp.v2.IFinishDlpJobRequest, callback: Callback<protos.google.protobuf.IEmpty, protos.google.privacy.dlp.v2.IFinishDlpJobRequest | null | undefined, {} | null | undefined>): void;
|
|
1102
1217
|
/**
|
|
@@ -1161,7 +1276,11 @@ export declare class DlpServiceClient {
|
|
|
1161
1276
|
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
|
|
1162
1277
|
* for more details and examples.
|
|
1163
1278
|
*/
|
|
1164
|
-
listInspectTemplates(request?: protos.google.privacy.dlp.v2.IListInspectTemplatesRequest, options?: CallOptions): Promise<[
|
|
1279
|
+
listInspectTemplates(request?: protos.google.privacy.dlp.v2.IListInspectTemplatesRequest, options?: CallOptions): Promise<[
|
|
1280
|
+
protos.google.privacy.dlp.v2.IInspectTemplate[],
|
|
1281
|
+
protos.google.privacy.dlp.v2.IListInspectTemplatesRequest | null,
|
|
1282
|
+
protos.google.privacy.dlp.v2.IListInspectTemplatesResponse
|
|
1283
|
+
]>;
|
|
1165
1284
|
listInspectTemplates(request: protos.google.privacy.dlp.v2.IListInspectTemplatesRequest, options: CallOptions, callback: PaginationCallback<protos.google.privacy.dlp.v2.IListInspectTemplatesRequest, protos.google.privacy.dlp.v2.IListInspectTemplatesResponse | null | undefined, protos.google.privacy.dlp.v2.IInspectTemplate>): void;
|
|
1166
1285
|
listInspectTemplates(request: protos.google.privacy.dlp.v2.IListInspectTemplatesRequest, callback: PaginationCallback<protos.google.privacy.dlp.v2.IListInspectTemplatesRequest, protos.google.privacy.dlp.v2.IListInspectTemplatesResponse | null | undefined, protos.google.privacy.dlp.v2.IInspectTemplate>): void;
|
|
1167
1286
|
/**
|
|
@@ -1350,7 +1469,11 @@ export declare class DlpServiceClient {
|
|
|
1350
1469
|
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
|
|
1351
1470
|
* for more details and examples.
|
|
1352
1471
|
*/
|
|
1353
|
-
listDeidentifyTemplates(request?: protos.google.privacy.dlp.v2.IListDeidentifyTemplatesRequest, options?: CallOptions): Promise<[
|
|
1472
|
+
listDeidentifyTemplates(request?: protos.google.privacy.dlp.v2.IListDeidentifyTemplatesRequest, options?: CallOptions): Promise<[
|
|
1473
|
+
protos.google.privacy.dlp.v2.IDeidentifyTemplate[],
|
|
1474
|
+
protos.google.privacy.dlp.v2.IListDeidentifyTemplatesRequest | null,
|
|
1475
|
+
protos.google.privacy.dlp.v2.IListDeidentifyTemplatesResponse
|
|
1476
|
+
]>;
|
|
1354
1477
|
listDeidentifyTemplates(request: protos.google.privacy.dlp.v2.IListDeidentifyTemplatesRequest, options: CallOptions, callback: PaginationCallback<protos.google.privacy.dlp.v2.IListDeidentifyTemplatesRequest, protos.google.privacy.dlp.v2.IListDeidentifyTemplatesResponse | null | undefined, protos.google.privacy.dlp.v2.IDeidentifyTemplate>): void;
|
|
1355
1478
|
listDeidentifyTemplates(request: protos.google.privacy.dlp.v2.IListDeidentifyTemplatesRequest, callback: PaginationCallback<protos.google.privacy.dlp.v2.IListDeidentifyTemplatesRequest, protos.google.privacy.dlp.v2.IListDeidentifyTemplatesResponse | null | undefined, protos.google.privacy.dlp.v2.IDeidentifyTemplate>): void;
|
|
1356
1479
|
/**
|
|
@@ -1563,7 +1686,11 @@ export declare class DlpServiceClient {
|
|
|
1563
1686
|
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
|
|
1564
1687
|
* for more details and examples.
|
|
1565
1688
|
*/
|
|
1566
|
-
listJobTriggers(request?: protos.google.privacy.dlp.v2.IListJobTriggersRequest, options?: CallOptions): Promise<[
|
|
1689
|
+
listJobTriggers(request?: protos.google.privacy.dlp.v2.IListJobTriggersRequest, options?: CallOptions): Promise<[
|
|
1690
|
+
protos.google.privacy.dlp.v2.IJobTrigger[],
|
|
1691
|
+
protos.google.privacy.dlp.v2.IListJobTriggersRequest | null,
|
|
1692
|
+
protos.google.privacy.dlp.v2.IListJobTriggersResponse
|
|
1693
|
+
]>;
|
|
1567
1694
|
listJobTriggers(request: protos.google.privacy.dlp.v2.IListJobTriggersRequest, options: CallOptions, callback: PaginationCallback<protos.google.privacy.dlp.v2.IListJobTriggersRequest, protos.google.privacy.dlp.v2.IListJobTriggersResponse | null | undefined, protos.google.privacy.dlp.v2.IJobTrigger>): void;
|
|
1568
1695
|
listJobTriggers(request: protos.google.privacy.dlp.v2.IListJobTriggersRequest, callback: PaginationCallback<protos.google.privacy.dlp.v2.IListJobTriggersRequest, protos.google.privacy.dlp.v2.IListJobTriggersResponse | null | undefined, protos.google.privacy.dlp.v2.IJobTrigger>): void;
|
|
1569
1696
|
/**
|
|
@@ -1827,7 +1954,11 @@ export declare class DlpServiceClient {
|
|
|
1827
1954
|
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
|
|
1828
1955
|
* for more details and examples.
|
|
1829
1956
|
*/
|
|
1830
|
-
listDlpJobs(request?: protos.google.privacy.dlp.v2.IListDlpJobsRequest, options?: CallOptions): Promise<[
|
|
1957
|
+
listDlpJobs(request?: protos.google.privacy.dlp.v2.IListDlpJobsRequest, options?: CallOptions): Promise<[
|
|
1958
|
+
protos.google.privacy.dlp.v2.IDlpJob[],
|
|
1959
|
+
protos.google.privacy.dlp.v2.IListDlpJobsRequest | null,
|
|
1960
|
+
protos.google.privacy.dlp.v2.IListDlpJobsResponse
|
|
1961
|
+
]>;
|
|
1831
1962
|
listDlpJobs(request: protos.google.privacy.dlp.v2.IListDlpJobsRequest, options: CallOptions, callback: PaginationCallback<protos.google.privacy.dlp.v2.IListDlpJobsRequest, protos.google.privacy.dlp.v2.IListDlpJobsResponse | null | undefined, protos.google.privacy.dlp.v2.IDlpJob>): void;
|
|
1832
1963
|
listDlpJobs(request: protos.google.privacy.dlp.v2.IListDlpJobsRequest, callback: PaginationCallback<protos.google.privacy.dlp.v2.IListDlpJobsRequest, protos.google.privacy.dlp.v2.IListDlpJobsResponse | null | undefined, protos.google.privacy.dlp.v2.IDlpJob>): void;
|
|
1833
1964
|
/**
|
|
@@ -2067,7 +2198,11 @@ export declare class DlpServiceClient {
|
|
|
2067
2198
|
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination)
|
|
2068
2199
|
* for more details and examples.
|
|
2069
2200
|
*/
|
|
2070
|
-
listStoredInfoTypes(request?: protos.google.privacy.dlp.v2.IListStoredInfoTypesRequest, options?: CallOptions): Promise<[
|
|
2201
|
+
listStoredInfoTypes(request?: protos.google.privacy.dlp.v2.IListStoredInfoTypesRequest, options?: CallOptions): Promise<[
|
|
2202
|
+
protos.google.privacy.dlp.v2.IStoredInfoType[],
|
|
2203
|
+
protos.google.privacy.dlp.v2.IListStoredInfoTypesRequest | null,
|
|
2204
|
+
protos.google.privacy.dlp.v2.IListStoredInfoTypesResponse
|
|
2205
|
+
]>;
|
|
2071
2206
|
listStoredInfoTypes(request: protos.google.privacy.dlp.v2.IListStoredInfoTypesRequest, options: CallOptions, callback: PaginationCallback<protos.google.privacy.dlp.v2.IListStoredInfoTypesRequest, protos.google.privacy.dlp.v2.IListStoredInfoTypesResponse | null | undefined, protos.google.privacy.dlp.v2.IStoredInfoType>): void;
|
|
2072
2207
|
listStoredInfoTypes(request: protos.google.privacy.dlp.v2.IListStoredInfoTypesRequest, callback: PaginationCallback<protos.google.privacy.dlp.v2.IListStoredInfoTypesRequest, protos.google.privacy.dlp.v2.IListStoredInfoTypesResponse | null | undefined, protos.google.privacy.dlp.v2.IStoredInfoType>): void;
|
|
2073
2208
|
/**
|
|
@@ -47,7 +47,7 @@ class DlpServiceClient {
|
|
|
47
47
|
*
|
|
48
48
|
* @param {object} [options] - The configuration object.
|
|
49
49
|
* The options accepted by the constructor are described in detail
|
|
50
|
-
* in [this document](https://github.com/googleapis/gax-nodejs/blob/
|
|
50
|
+
* in [this document](https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#creating-the-client-instance).
|
|
51
51
|
* The common options are:
|
|
52
52
|
* @param {object} [options.credentials] - Credentials object.
|
|
53
53
|
* @param {string} [options.credentials.client_email]
|
|
@@ -70,11 +70,10 @@ class DlpServiceClient {
|
|
|
70
70
|
* API remote host.
|
|
71
71
|
* @param {gax.ClientConfig} [options.clientConfig] - Client configuration override.
|
|
72
72
|
* Follows the structure of {@link gapicConfig}.
|
|
73
|
-
* @param {boolean} [options.fallback] - Use HTTP fallback mode.
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
* if you need to override this behavior.
|
|
73
|
+
* @param {boolean | "rest"} [options.fallback] - Use HTTP fallback mode.
|
|
74
|
+
* Pass "rest" to use HTTP/1.1 REST API instead of gRPC.
|
|
75
|
+
* For more information, please check the
|
|
76
|
+
* {@link https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#http11-rest-api-mode documentation}.
|
|
78
77
|
*/
|
|
79
78
|
constructor(opts) {
|
|
80
79
|
var _a, _b;
|