@google-cloud/dlp 5.2.0 → 5.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/CHANGELOG.md +14 -0
- package/README.md +6 -0
- package/build/protos/google/privacy/dlp/v2/dlp.proto +598 -106
- package/build/protos/google/privacy/dlp/v2/storage.proto +41 -18
- package/build/protos/protos.d.ts +2107 -16
- package/build/protos/protos.js +10643 -4861
- package/build/protos/protos.json +710 -17
- package/build/src/v2/dlp_service_client.d.ts +1149 -133
- package/build/src/v2/dlp_service_client.js +1059 -92
- package/build/src/v2/dlp_service_client_config.json +30 -0
- package/package.json +3 -3
|
@@ -12,7 +12,7 @@ import * as protos from '../../protos/protos';
|
|
|
12
12
|
* scheduling of data scans on Google Cloud Platform based data sets.
|
|
13
13
|
*
|
|
14
14
|
* To learn more about concepts and find how-to guides see
|
|
15
|
-
* https://cloud.google.com/
|
|
15
|
+
* https://cloud.google.com/sensitive-data-protection/docs/.
|
|
16
16
|
* @class
|
|
17
17
|
* @memberof v2
|
|
18
18
|
*/
|
|
@@ -132,8 +132,10 @@ export declare class DlpServiceClient {
|
|
|
132
132
|
* system will automatically choose what detectors to run. By default this may
|
|
133
133
|
* be all types, but may change over time as detectors are updated.
|
|
134
134
|
*
|
|
135
|
-
* For how to guides, see
|
|
136
|
-
*
|
|
135
|
+
* For how to guides, see
|
|
136
|
+
* https://cloud.google.com/sensitive-data-protection/docs/inspecting-images
|
|
137
|
+
* and
|
|
138
|
+
* https://cloud.google.com/sensitive-data-protection/docs/inspecting-text,
|
|
137
139
|
*
|
|
138
140
|
* @param {Object} request
|
|
139
141
|
* The request object that will be sent.
|
|
@@ -142,7 +144,7 @@ export declare class DlpServiceClient {
|
|
|
142
144
|
*
|
|
143
145
|
* The format of this value varies depending on whether you have [specified a
|
|
144
146
|
* processing
|
|
145
|
-
* location](https://cloud.google.com/
|
|
147
|
+
* location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
|
|
146
148
|
*
|
|
147
149
|
* + Projects scope, location specified:<br/>
|
|
148
150
|
* `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
|
@@ -186,8 +188,9 @@ export declare class DlpServiceClient {
|
|
|
186
188
|
/**
|
|
187
189
|
* Redacts potentially sensitive info from an image.
|
|
188
190
|
* This method has limits on input size, processing time, and output size.
|
|
189
|
-
* See
|
|
190
|
-
*
|
|
191
|
+
* See
|
|
192
|
+
* https://cloud.google.com/sensitive-data-protection/docs/redacting-sensitive-data-images
|
|
193
|
+
* to learn more.
|
|
191
194
|
*
|
|
192
195
|
* When no InfoTypes or CustomInfoTypes are specified in this request, the
|
|
193
196
|
* system will automatically choose what detectors to run. By default this may
|
|
@@ -200,7 +203,7 @@ export declare class DlpServiceClient {
|
|
|
200
203
|
*
|
|
201
204
|
* The format of this value varies depending on whether you have [specified a
|
|
202
205
|
* processing
|
|
203
|
-
* location](https://cloud.google.com/
|
|
206
|
+
* location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
|
|
204
207
|
*
|
|
205
208
|
* + Projects scope, location specified:<br/>
|
|
206
209
|
* `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
|
@@ -242,8 +245,9 @@ export declare class DlpServiceClient {
|
|
|
242
245
|
/**
|
|
243
246
|
* De-identifies potentially sensitive info from a ContentItem.
|
|
244
247
|
* This method has limits on input size and output size.
|
|
245
|
-
* See
|
|
246
|
-
*
|
|
248
|
+
* See
|
|
249
|
+
* https://cloud.google.com/sensitive-data-protection/docs/deidentify-sensitive-data
|
|
250
|
+
* to learn more.
|
|
247
251
|
*
|
|
248
252
|
* When no InfoTypes or CustomInfoTypes are specified in this request, the
|
|
249
253
|
* system will automatically choose what detectors to run. By default this may
|
|
@@ -256,7 +260,7 @@ export declare class DlpServiceClient {
|
|
|
256
260
|
*
|
|
257
261
|
* The format of this value varies depending on whether you have [specified a
|
|
258
262
|
* processing
|
|
259
|
-
* location](https://cloud.google.com/
|
|
263
|
+
* location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
|
|
260
264
|
*
|
|
261
265
|
* + Projects scope, location specified:<br/>
|
|
262
266
|
* `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
|
@@ -318,7 +322,7 @@ export declare class DlpServiceClient {
|
|
|
318
322
|
/**
|
|
319
323
|
* Re-identifies content that has been de-identified.
|
|
320
324
|
* See
|
|
321
|
-
* https://cloud.google.com/
|
|
325
|
+
* https://cloud.google.com/sensitive-data-protection/docs/pseudonymization#re-identification_in_free_text_code_example
|
|
322
326
|
* to learn more.
|
|
323
327
|
*
|
|
324
328
|
* @param {Object} request
|
|
@@ -328,7 +332,7 @@ export declare class DlpServiceClient {
|
|
|
328
332
|
*
|
|
329
333
|
* The format of this value varies depending on whether you have [specified a
|
|
330
334
|
* processing
|
|
331
|
-
* location](https://cloud.google.com/
|
|
335
|
+
* location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
|
|
332
336
|
*
|
|
333
337
|
* + Projects scope, location specified:<br/>
|
|
334
338
|
* `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
|
@@ -389,8 +393,9 @@ export declare class DlpServiceClient {
|
|
|
389
393
|
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;
|
|
390
394
|
/**
|
|
391
395
|
* Returns a list of the sensitive information types that DLP API
|
|
392
|
-
* supports. See
|
|
393
|
-
*
|
|
396
|
+
* supports. See
|
|
397
|
+
* https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference
|
|
398
|
+
* to learn more.
|
|
394
399
|
*
|
|
395
400
|
* @param {Object} request
|
|
396
401
|
* The request object that will be sent.
|
|
@@ -428,7 +433,9 @@ export declare class DlpServiceClient {
|
|
|
428
433
|
/**
|
|
429
434
|
* Creates an InspectTemplate for reusing frequently used configuration
|
|
430
435
|
* for inspecting content, images, and storage.
|
|
431
|
-
* See
|
|
436
|
+
* See
|
|
437
|
+
* https://cloud.google.com/sensitive-data-protection/docs/creating-templates
|
|
438
|
+
* to learn more.
|
|
432
439
|
*
|
|
433
440
|
* @param {Object} request
|
|
434
441
|
* The request object that will be sent.
|
|
@@ -437,7 +444,7 @@ export declare class DlpServiceClient {
|
|
|
437
444
|
*
|
|
438
445
|
* The format of this value varies depending on the scope of the request
|
|
439
446
|
* (project or organization) and whether you have [specified a processing
|
|
440
|
-
* location](https://cloud.google.com/
|
|
447
|
+
* location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
|
|
441
448
|
*
|
|
442
449
|
* + Projects scope, location specified:<br/>
|
|
443
450
|
* `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
|
@@ -480,7 +487,9 @@ export declare class DlpServiceClient {
|
|
|
480
487
|
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;
|
|
481
488
|
/**
|
|
482
489
|
* Updates the InspectTemplate.
|
|
483
|
-
* See
|
|
490
|
+
* See
|
|
491
|
+
* https://cloud.google.com/sensitive-data-protection/docs/creating-templates
|
|
492
|
+
* to learn more.
|
|
484
493
|
*
|
|
485
494
|
* @param {Object} request
|
|
486
495
|
* The request object that will be sent.
|
|
@@ -510,7 +519,9 @@ export declare class DlpServiceClient {
|
|
|
510
519
|
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;
|
|
511
520
|
/**
|
|
512
521
|
* Gets an InspectTemplate.
|
|
513
|
-
* See
|
|
522
|
+
* See
|
|
523
|
+
* https://cloud.google.com/sensitive-data-protection/docs/creating-templates
|
|
524
|
+
* to learn more.
|
|
514
525
|
*
|
|
515
526
|
* @param {Object} request
|
|
516
527
|
* The request object that will be sent.
|
|
@@ -536,7 +547,9 @@ export declare class DlpServiceClient {
|
|
|
536
547
|
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;
|
|
537
548
|
/**
|
|
538
549
|
* Deletes an InspectTemplate.
|
|
539
|
-
* See
|
|
550
|
+
* See
|
|
551
|
+
* https://cloud.google.com/sensitive-data-protection/docs/creating-templates
|
|
552
|
+
* to learn more.
|
|
540
553
|
*
|
|
541
554
|
* @param {Object} request
|
|
542
555
|
* The request object that will be sent.
|
|
@@ -563,8 +576,9 @@ export declare class DlpServiceClient {
|
|
|
563
576
|
/**
|
|
564
577
|
* Creates a DeidentifyTemplate for reusing frequently used configuration
|
|
565
578
|
* for de-identifying content, images, and storage.
|
|
566
|
-
* See
|
|
567
|
-
*
|
|
579
|
+
* See
|
|
580
|
+
* https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid
|
|
581
|
+
* to learn more.
|
|
568
582
|
*
|
|
569
583
|
* @param {Object} request
|
|
570
584
|
* The request object that will be sent.
|
|
@@ -573,7 +587,7 @@ export declare class DlpServiceClient {
|
|
|
573
587
|
*
|
|
574
588
|
* The format of this value varies depending on the scope of the request
|
|
575
589
|
* (project or organization) and whether you have [specified a processing
|
|
576
|
-
* location](https://cloud.google.com/
|
|
590
|
+
* location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
|
|
577
591
|
*
|
|
578
592
|
* + Projects scope, location specified:<br/>
|
|
579
593
|
* `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
|
@@ -616,8 +630,9 @@ export declare class DlpServiceClient {
|
|
|
616
630
|
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;
|
|
617
631
|
/**
|
|
618
632
|
* Updates the DeidentifyTemplate.
|
|
619
|
-
* See
|
|
620
|
-
*
|
|
633
|
+
* See
|
|
634
|
+
* https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid
|
|
635
|
+
* to learn more.
|
|
621
636
|
*
|
|
622
637
|
* @param {Object} request
|
|
623
638
|
* The request object that will be sent.
|
|
@@ -648,8 +663,9 @@ export declare class DlpServiceClient {
|
|
|
648
663
|
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;
|
|
649
664
|
/**
|
|
650
665
|
* Gets a DeidentifyTemplate.
|
|
651
|
-
* See
|
|
652
|
-
*
|
|
666
|
+
* See
|
|
667
|
+
* https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid
|
|
668
|
+
* to learn more.
|
|
653
669
|
*
|
|
654
670
|
* @param {Object} request
|
|
655
671
|
* The request object that will be sent.
|
|
@@ -675,8 +691,9 @@ export declare class DlpServiceClient {
|
|
|
675
691
|
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;
|
|
676
692
|
/**
|
|
677
693
|
* Deletes a DeidentifyTemplate.
|
|
678
|
-
* See
|
|
679
|
-
*
|
|
694
|
+
* See
|
|
695
|
+
* https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid
|
|
696
|
+
* to learn more.
|
|
680
697
|
*
|
|
681
698
|
* @param {Object} request
|
|
682
699
|
* The request object that will be sent.
|
|
@@ -704,7 +721,9 @@ export declare class DlpServiceClient {
|
|
|
704
721
|
/**
|
|
705
722
|
* Creates a job trigger to run DLP actions such as scanning storage for
|
|
706
723
|
* sensitive information on a set schedule.
|
|
707
|
-
* See
|
|
724
|
+
* See
|
|
725
|
+
* https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers
|
|
726
|
+
* to learn more.
|
|
708
727
|
*
|
|
709
728
|
* @param {Object} request
|
|
710
729
|
* The request object that will be sent.
|
|
@@ -713,7 +732,7 @@ export declare class DlpServiceClient {
|
|
|
713
732
|
*
|
|
714
733
|
* The format of this value varies depending on whether you have [specified a
|
|
715
734
|
* processing
|
|
716
|
-
* location](https://cloud.google.com/
|
|
735
|
+
* location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
|
|
717
736
|
*
|
|
718
737
|
* + Projects scope, location specified:<br/>
|
|
719
738
|
* `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
|
@@ -752,7 +771,9 @@ export declare class DlpServiceClient {
|
|
|
752
771
|
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;
|
|
753
772
|
/**
|
|
754
773
|
* Updates a job trigger.
|
|
755
|
-
* See
|
|
774
|
+
* See
|
|
775
|
+
* https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers
|
|
776
|
+
* to learn more.
|
|
756
777
|
*
|
|
757
778
|
* @param {Object} request
|
|
758
779
|
* The request object that will be sent.
|
|
@@ -809,7 +830,9 @@ export declare class DlpServiceClient {
|
|
|
809
830
|
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;
|
|
810
831
|
/**
|
|
811
832
|
* Gets a job trigger.
|
|
812
|
-
* See
|
|
833
|
+
* See
|
|
834
|
+
* https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers
|
|
835
|
+
* to learn more.
|
|
813
836
|
*
|
|
814
837
|
* @param {Object} request
|
|
815
838
|
* The request object that will be sent.
|
|
@@ -834,7 +857,9 @@ export declare class DlpServiceClient {
|
|
|
834
857
|
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;
|
|
835
858
|
/**
|
|
836
859
|
* Deletes a job trigger.
|
|
837
|
-
* See
|
|
860
|
+
* See
|
|
861
|
+
* https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers
|
|
862
|
+
* to learn more.
|
|
838
863
|
*
|
|
839
864
|
* @param {Object} request
|
|
840
865
|
* The request object that will be sent.
|
|
@@ -999,8 +1024,11 @@ export declare class DlpServiceClient {
|
|
|
999
1024
|
deleteDiscoveryConfig(request: protos.google.privacy.dlp.v2.IDeleteDiscoveryConfigRequest, callback: Callback<protos.google.protobuf.IEmpty, protos.google.privacy.dlp.v2.IDeleteDiscoveryConfigRequest | null | undefined, {} | null | undefined>): void;
|
|
1000
1025
|
/**
|
|
1001
1026
|
* Creates a new job to inspect storage or calculate risk metrics.
|
|
1002
|
-
* See
|
|
1003
|
-
* https://cloud.google.com/
|
|
1027
|
+
* See
|
|
1028
|
+
* https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage
|
|
1029
|
+
* and
|
|
1030
|
+
* https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis
|
|
1031
|
+
* to learn more.
|
|
1004
1032
|
*
|
|
1005
1033
|
* When no InfoTypes or CustomInfoTypes are specified in inspect jobs, the
|
|
1006
1034
|
* system will automatically choose what detectors to run. By default this may
|
|
@@ -1013,7 +1041,7 @@ export declare class DlpServiceClient {
|
|
|
1013
1041
|
*
|
|
1014
1042
|
* The format of this value varies depending on whether you have [specified a
|
|
1015
1043
|
* processing
|
|
1016
|
-
* location](https://cloud.google.com/
|
|
1044
|
+
* location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
|
|
1017
1045
|
*
|
|
1018
1046
|
* + Projects scope, location specified:<br/>
|
|
1019
1047
|
* `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
|
@@ -1055,8 +1083,11 @@ export declare class DlpServiceClient {
|
|
|
1055
1083
|
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;
|
|
1056
1084
|
/**
|
|
1057
1085
|
* Gets the latest state of a long-running DlpJob.
|
|
1058
|
-
* See
|
|
1059
|
-
* https://cloud.google.com/
|
|
1086
|
+
* See
|
|
1087
|
+
* https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage
|
|
1088
|
+
* and
|
|
1089
|
+
* https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis
|
|
1090
|
+
* to learn more.
|
|
1060
1091
|
*
|
|
1061
1092
|
* @param {Object} request
|
|
1062
1093
|
* The request object that will be sent.
|
|
@@ -1082,8 +1113,11 @@ export declare class DlpServiceClient {
|
|
|
1082
1113
|
* Deletes a long-running DlpJob. This method indicates that the client is
|
|
1083
1114
|
* no longer interested in the DlpJob result. The job will be canceled if
|
|
1084
1115
|
* possible.
|
|
1085
|
-
* See
|
|
1086
|
-
* https://cloud.google.com/
|
|
1116
|
+
* See
|
|
1117
|
+
* https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage
|
|
1118
|
+
* and
|
|
1119
|
+
* https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis
|
|
1120
|
+
* to learn more.
|
|
1087
1121
|
*
|
|
1088
1122
|
* @param {Object} request
|
|
1089
1123
|
* The request object that will be sent.
|
|
@@ -1109,8 +1143,11 @@ export declare class DlpServiceClient {
|
|
|
1109
1143
|
* Starts asynchronous cancellation on a long-running DlpJob. The server
|
|
1110
1144
|
* makes a best effort to cancel the DlpJob, but success is not
|
|
1111
1145
|
* guaranteed.
|
|
1112
|
-
* See
|
|
1113
|
-
* https://cloud.google.com/
|
|
1146
|
+
* See
|
|
1147
|
+
* https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage
|
|
1148
|
+
* and
|
|
1149
|
+
* https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis
|
|
1150
|
+
* to learn more.
|
|
1114
1151
|
*
|
|
1115
1152
|
* @param {Object} request
|
|
1116
1153
|
* The request object that will be sent.
|
|
@@ -1134,8 +1171,9 @@ export declare class DlpServiceClient {
|
|
|
1134
1171
|
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;
|
|
1135
1172
|
/**
|
|
1136
1173
|
* Creates a pre-built stored infoType to be used for inspection.
|
|
1137
|
-
* See
|
|
1138
|
-
*
|
|
1174
|
+
* See
|
|
1175
|
+
* https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes
|
|
1176
|
+
* to learn more.
|
|
1139
1177
|
*
|
|
1140
1178
|
* @param {Object} request
|
|
1141
1179
|
* The request object that will be sent.
|
|
@@ -1144,7 +1182,7 @@ export declare class DlpServiceClient {
|
|
|
1144
1182
|
*
|
|
1145
1183
|
* The format of this value varies depending on the scope of the request
|
|
1146
1184
|
* (project or organization) and whether you have [specified a processing
|
|
1147
|
-
* location](https://cloud.google.com/
|
|
1185
|
+
* location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
|
|
1148
1186
|
*
|
|
1149
1187
|
* + Projects scope, location specified:<br/>
|
|
1150
1188
|
* `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
|
@@ -1188,8 +1226,9 @@ export declare class DlpServiceClient {
|
|
|
1188
1226
|
/**
|
|
1189
1227
|
* Updates the stored infoType by creating a new version. The existing version
|
|
1190
1228
|
* will continue to be used until the new version is ready.
|
|
1191
|
-
* See
|
|
1192
|
-
*
|
|
1229
|
+
* See
|
|
1230
|
+
* https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes
|
|
1231
|
+
* to learn more.
|
|
1193
1232
|
*
|
|
1194
1233
|
* @param {Object} request
|
|
1195
1234
|
* The request object that will be sent.
|
|
@@ -1221,8 +1260,9 @@ export declare class DlpServiceClient {
|
|
|
1221
1260
|
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;
|
|
1222
1261
|
/**
|
|
1223
1262
|
* Gets a stored infoType.
|
|
1224
|
-
* See
|
|
1225
|
-
*
|
|
1263
|
+
* See
|
|
1264
|
+
* https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes
|
|
1265
|
+
* to learn more.
|
|
1226
1266
|
*
|
|
1227
1267
|
* @param {Object} request
|
|
1228
1268
|
* The request object that will be sent.
|
|
@@ -1248,8 +1288,9 @@ export declare class DlpServiceClient {
|
|
|
1248
1288
|
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;
|
|
1249
1289
|
/**
|
|
1250
1290
|
* Deletes a stored infoType.
|
|
1251
|
-
* See
|
|
1252
|
-
*
|
|
1291
|
+
* See
|
|
1292
|
+
* https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes
|
|
1293
|
+
* to learn more.
|
|
1253
1294
|
*
|
|
1254
1295
|
* @param {Object} request
|
|
1255
1296
|
* The request object that will be sent.
|
|
@@ -1273,6 +1314,78 @@ export declare class DlpServiceClient {
|
|
|
1273
1314
|
]>;
|
|
1274
1315
|
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;
|
|
1275
1316
|
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;
|
|
1317
|
+
/**
|
|
1318
|
+
* Gets a project data profile.
|
|
1319
|
+
*
|
|
1320
|
+
* @param {Object} request
|
|
1321
|
+
* The request object that will be sent.
|
|
1322
|
+
* @param {string} request.name
|
|
1323
|
+
* Required. Resource name, for example
|
|
1324
|
+
* `organizations/12345/locations/us/projectDataProfiles/53234423`.
|
|
1325
|
+
* @param {object} [options]
|
|
1326
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
1327
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
1328
|
+
* The first element of the array is an object representing {@link protos.google.privacy.dlp.v2.ProjectDataProfile|ProjectDataProfile}.
|
|
1329
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
|
|
1330
|
+
* for more details and examples.
|
|
1331
|
+
* @example <caption>include:samples/generated/v2/dlp_service.get_project_data_profile.js</caption>
|
|
1332
|
+
* region_tag:dlp_v2_generated_DlpService_GetProjectDataProfile_async
|
|
1333
|
+
*/
|
|
1334
|
+
getProjectDataProfile(request?: protos.google.privacy.dlp.v2.IGetProjectDataProfileRequest, options?: CallOptions): Promise<[
|
|
1335
|
+
protos.google.privacy.dlp.v2.IProjectDataProfile,
|
|
1336
|
+
protos.google.privacy.dlp.v2.IGetProjectDataProfileRequest | undefined,
|
|
1337
|
+
{} | undefined
|
|
1338
|
+
]>;
|
|
1339
|
+
getProjectDataProfile(request: protos.google.privacy.dlp.v2.IGetProjectDataProfileRequest, options: CallOptions, callback: Callback<protos.google.privacy.dlp.v2.IProjectDataProfile, protos.google.privacy.dlp.v2.IGetProjectDataProfileRequest | null | undefined, {} | null | undefined>): void;
|
|
1340
|
+
getProjectDataProfile(request: protos.google.privacy.dlp.v2.IGetProjectDataProfileRequest, callback: Callback<protos.google.privacy.dlp.v2.IProjectDataProfile, protos.google.privacy.dlp.v2.IGetProjectDataProfileRequest | null | undefined, {} | null | undefined>): void;
|
|
1341
|
+
/**
|
|
1342
|
+
* Gets a table data profile.
|
|
1343
|
+
*
|
|
1344
|
+
* @param {Object} request
|
|
1345
|
+
* The request object that will be sent.
|
|
1346
|
+
* @param {string} request.name
|
|
1347
|
+
* Required. Resource name, for example
|
|
1348
|
+
* `organizations/12345/locations/us/tableDataProfiles/53234423`.
|
|
1349
|
+
* @param {object} [options]
|
|
1350
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
1351
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
1352
|
+
* The first element of the array is an object representing {@link protos.google.privacy.dlp.v2.TableDataProfile|TableDataProfile}.
|
|
1353
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
|
|
1354
|
+
* for more details and examples.
|
|
1355
|
+
* @example <caption>include:samples/generated/v2/dlp_service.get_table_data_profile.js</caption>
|
|
1356
|
+
* region_tag:dlp_v2_generated_DlpService_GetTableDataProfile_async
|
|
1357
|
+
*/
|
|
1358
|
+
getTableDataProfile(request?: protos.google.privacy.dlp.v2.IGetTableDataProfileRequest, options?: CallOptions): Promise<[
|
|
1359
|
+
protos.google.privacy.dlp.v2.ITableDataProfile,
|
|
1360
|
+
protos.google.privacy.dlp.v2.IGetTableDataProfileRequest | undefined,
|
|
1361
|
+
{} | undefined
|
|
1362
|
+
]>;
|
|
1363
|
+
getTableDataProfile(request: protos.google.privacy.dlp.v2.IGetTableDataProfileRequest, options: CallOptions, callback: Callback<protos.google.privacy.dlp.v2.ITableDataProfile, protos.google.privacy.dlp.v2.IGetTableDataProfileRequest | null | undefined, {} | null | undefined>): void;
|
|
1364
|
+
getTableDataProfile(request: protos.google.privacy.dlp.v2.IGetTableDataProfileRequest, callback: Callback<protos.google.privacy.dlp.v2.ITableDataProfile, protos.google.privacy.dlp.v2.IGetTableDataProfileRequest | null | undefined, {} | null | undefined>): void;
|
|
1365
|
+
/**
|
|
1366
|
+
* Gets a column data profile.
|
|
1367
|
+
*
|
|
1368
|
+
* @param {Object} request
|
|
1369
|
+
* The request object that will be sent.
|
|
1370
|
+
* @param {string} request.name
|
|
1371
|
+
* Required. Resource name, for example
|
|
1372
|
+
* `organizations/12345/locations/us/columnDataProfiles/53234423`.
|
|
1373
|
+
* @param {object} [options]
|
|
1374
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
1375
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
1376
|
+
* The first element of the array is an object representing {@link protos.google.privacy.dlp.v2.ColumnDataProfile|ColumnDataProfile}.
|
|
1377
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
|
|
1378
|
+
* for more details and examples.
|
|
1379
|
+
* @example <caption>include:samples/generated/v2/dlp_service.get_column_data_profile.js</caption>
|
|
1380
|
+
* region_tag:dlp_v2_generated_DlpService_GetColumnDataProfile_async
|
|
1381
|
+
*/
|
|
1382
|
+
getColumnDataProfile(request?: protos.google.privacy.dlp.v2.IGetColumnDataProfileRequest, options?: CallOptions): Promise<[
|
|
1383
|
+
protos.google.privacy.dlp.v2.IColumnDataProfile,
|
|
1384
|
+
protos.google.privacy.dlp.v2.IGetColumnDataProfileRequest | undefined,
|
|
1385
|
+
{} | undefined
|
|
1386
|
+
]>;
|
|
1387
|
+
getColumnDataProfile(request: protos.google.privacy.dlp.v2.IGetColumnDataProfileRequest, options: CallOptions, callback: Callback<protos.google.privacy.dlp.v2.IColumnDataProfile, protos.google.privacy.dlp.v2.IGetColumnDataProfileRequest | null | undefined, {} | null | undefined>): void;
|
|
1388
|
+
getColumnDataProfile(request: protos.google.privacy.dlp.v2.IGetColumnDataProfileRequest, callback: Callback<protos.google.privacy.dlp.v2.IColumnDataProfile, protos.google.privacy.dlp.v2.IGetColumnDataProfileRequest | null | undefined, {} | null | undefined>): void;
|
|
1276
1389
|
/**
|
|
1277
1390
|
* Inspect hybrid content and store findings to a job.
|
|
1278
1391
|
* To review the findings, inspect the job. Inspection will occur
|
|
@@ -1308,7 +1421,7 @@ export declare class DlpServiceClient {
|
|
|
1308
1421
|
* @param {Object} request
|
|
1309
1422
|
* The request object that will be sent.
|
|
1310
1423
|
* @param {string} request.name
|
|
1311
|
-
* Required. The name of the DlpJob resource to be
|
|
1424
|
+
* Required. The name of the DlpJob resource to be finished.
|
|
1312
1425
|
* @param {object} [options]
|
|
1313
1426
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
1314
1427
|
* @returns {Promise} - The promise which resolves to an array.
|
|
@@ -1327,7 +1440,9 @@ export declare class DlpServiceClient {
|
|
|
1327
1440
|
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;
|
|
1328
1441
|
/**
|
|
1329
1442
|
* Lists InspectTemplates.
|
|
1330
|
-
* See
|
|
1443
|
+
* See
|
|
1444
|
+
* https://cloud.google.com/sensitive-data-protection/docs/creating-templates
|
|
1445
|
+
* to learn more.
|
|
1331
1446
|
*
|
|
1332
1447
|
* @param {Object} request
|
|
1333
1448
|
* The request object that will be sent.
|
|
@@ -1336,7 +1451,7 @@ export declare class DlpServiceClient {
|
|
|
1336
1451
|
*
|
|
1337
1452
|
* The format of this value varies depending on the scope of the request
|
|
1338
1453
|
* (project or organization) and whether you have [specified a processing
|
|
1339
|
-
* location](https://cloud.google.com/
|
|
1454
|
+
* location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
|
|
1340
1455
|
*
|
|
1341
1456
|
* + Projects scope, location specified:<br/>
|
|
1342
1457
|
* `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
|
@@ -1402,7 +1517,7 @@ export declare class DlpServiceClient {
|
|
|
1402
1517
|
*
|
|
1403
1518
|
* The format of this value varies depending on the scope of the request
|
|
1404
1519
|
* (project or organization) and whether you have [specified a processing
|
|
1405
|
-
* location](https://cloud.google.com/
|
|
1520
|
+
* location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
|
|
1406
1521
|
*
|
|
1407
1522
|
* + Projects scope, location specified:<br/>
|
|
1408
1523
|
* `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
|
@@ -1463,7 +1578,7 @@ export declare class DlpServiceClient {
|
|
|
1463
1578
|
*
|
|
1464
1579
|
* The format of this value varies depending on the scope of the request
|
|
1465
1580
|
* (project or organization) and whether you have [specified a processing
|
|
1466
|
-
* location](https://cloud.google.com/
|
|
1581
|
+
* location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
|
|
1467
1582
|
*
|
|
1468
1583
|
* + Projects scope, location specified:<br/>
|
|
1469
1584
|
* `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
|
@@ -1516,8 +1631,9 @@ export declare class DlpServiceClient {
|
|
|
1516
1631
|
listInspectTemplatesAsync(request?: protos.google.privacy.dlp.v2.IListInspectTemplatesRequest, options?: CallOptions): AsyncIterable<protos.google.privacy.dlp.v2.IInspectTemplate>;
|
|
1517
1632
|
/**
|
|
1518
1633
|
* Lists DeidentifyTemplates.
|
|
1519
|
-
* See
|
|
1520
|
-
*
|
|
1634
|
+
* See
|
|
1635
|
+
* https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid
|
|
1636
|
+
* to learn more.
|
|
1521
1637
|
*
|
|
1522
1638
|
* @param {Object} request
|
|
1523
1639
|
* The request object that will be sent.
|
|
@@ -1526,7 +1642,7 @@ export declare class DlpServiceClient {
|
|
|
1526
1642
|
*
|
|
1527
1643
|
* The format of this value varies depending on the scope of the request
|
|
1528
1644
|
* (project or organization) and whether you have [specified a processing
|
|
1529
|
-
* location](https://cloud.google.com/
|
|
1645
|
+
* location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
|
|
1530
1646
|
*
|
|
1531
1647
|
* + Projects scope, location specified:<br/>
|
|
1532
1648
|
* `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
|
@@ -1592,7 +1708,7 @@ export declare class DlpServiceClient {
|
|
|
1592
1708
|
*
|
|
1593
1709
|
* The format of this value varies depending on the scope of the request
|
|
1594
1710
|
* (project or organization) and whether you have [specified a processing
|
|
1595
|
-
* location](https://cloud.google.com/
|
|
1711
|
+
* location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
|
|
1596
1712
|
*
|
|
1597
1713
|
* + Projects scope, location specified:<br/>
|
|
1598
1714
|
* `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
|
@@ -1653,7 +1769,7 @@ export declare class DlpServiceClient {
|
|
|
1653
1769
|
*
|
|
1654
1770
|
* The format of this value varies depending on the scope of the request
|
|
1655
1771
|
* (project or organization) and whether you have [specified a processing
|
|
1656
|
-
* location](https://cloud.google.com/
|
|
1772
|
+
* location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
|
|
1657
1773
|
*
|
|
1658
1774
|
* + Projects scope, location specified:<br/>
|
|
1659
1775
|
* `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
|
@@ -1706,7 +1822,9 @@ export declare class DlpServiceClient {
|
|
|
1706
1822
|
listDeidentifyTemplatesAsync(request?: protos.google.privacy.dlp.v2.IListDeidentifyTemplatesRequest, options?: CallOptions): AsyncIterable<protos.google.privacy.dlp.v2.IDeidentifyTemplate>;
|
|
1707
1823
|
/**
|
|
1708
1824
|
* Lists job triggers.
|
|
1709
|
-
* See
|
|
1825
|
+
* See
|
|
1826
|
+
* https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers
|
|
1827
|
+
* to learn more.
|
|
1710
1828
|
*
|
|
1711
1829
|
* @param {Object} request
|
|
1712
1830
|
* The request object that will be sent.
|
|
@@ -1715,7 +1833,7 @@ export declare class DlpServiceClient {
|
|
|
1715
1833
|
*
|
|
1716
1834
|
* The format of this value varies depending on whether you have [specified a
|
|
1717
1835
|
* processing
|
|
1718
|
-
* location](https://cloud.google.com/
|
|
1836
|
+
* location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
|
|
1719
1837
|
*
|
|
1720
1838
|
* + Projects scope, location specified:<br/>
|
|
1721
1839
|
* `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
|
@@ -1806,7 +1924,7 @@ export declare class DlpServiceClient {
|
|
|
1806
1924
|
*
|
|
1807
1925
|
* The format of this value varies depending on whether you have [specified a
|
|
1808
1926
|
* processing
|
|
1809
|
-
* location](https://cloud.google.com/
|
|
1927
|
+
* location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
|
|
1810
1928
|
*
|
|
1811
1929
|
* + Projects scope, location specified:<br/>
|
|
1812
1930
|
* `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
|
@@ -1892,7 +2010,7 @@ export declare class DlpServiceClient {
|
|
|
1892
2010
|
*
|
|
1893
2011
|
* The format of this value varies depending on whether you have [specified a
|
|
1894
2012
|
* processing
|
|
1895
|
-
* location](https://cloud.google.com/
|
|
2013
|
+
* location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
|
|
1896
2014
|
*
|
|
1897
2015
|
* + Projects scope, location specified:<br/>
|
|
1898
2016
|
* `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
|
@@ -2119,8 +2237,11 @@ export declare class DlpServiceClient {
|
|
|
2119
2237
|
listDiscoveryConfigsAsync(request?: protos.google.privacy.dlp.v2.IListDiscoveryConfigsRequest, options?: CallOptions): AsyncIterable<protos.google.privacy.dlp.v2.IDiscoveryConfig>;
|
|
2120
2238
|
/**
|
|
2121
2239
|
* Lists DlpJobs that match the specified filter in the request.
|
|
2122
|
-
* See
|
|
2123
|
-
* https://cloud.google.com/
|
|
2240
|
+
* See
|
|
2241
|
+
* https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage
|
|
2242
|
+
* and
|
|
2243
|
+
* https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis
|
|
2244
|
+
* to learn more.
|
|
2124
2245
|
*
|
|
2125
2246
|
* @param {Object} request
|
|
2126
2247
|
* The request object that will be sent.
|
|
@@ -2129,7 +2250,7 @@ export declare class DlpServiceClient {
|
|
|
2129
2250
|
*
|
|
2130
2251
|
* The format of this value varies depending on whether you have [specified a
|
|
2131
2252
|
* processing
|
|
2132
|
-
* location](https://cloud.google.com/
|
|
2253
|
+
* location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
|
|
2133
2254
|
*
|
|
2134
2255
|
* + Projects scope, location specified:<br/>
|
|
2135
2256
|
* `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
|
@@ -2220,7 +2341,7 @@ export declare class DlpServiceClient {
|
|
|
2220
2341
|
*
|
|
2221
2342
|
* The format of this value varies depending on whether you have [specified a
|
|
2222
2343
|
* processing
|
|
2223
|
-
* location](https://cloud.google.com/
|
|
2344
|
+
* location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
|
|
2224
2345
|
*
|
|
2225
2346
|
* + Projects scope, location specified:<br/>
|
|
2226
2347
|
* `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
|
@@ -2306,7 +2427,7 @@ export declare class DlpServiceClient {
|
|
|
2306
2427
|
*
|
|
2307
2428
|
* The format of this value varies depending on whether you have [specified a
|
|
2308
2429
|
* processing
|
|
2309
|
-
* location](https://cloud.google.com/
|
|
2430
|
+
* location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
|
|
2310
2431
|
*
|
|
2311
2432
|
* + Projects scope, location specified:<br/>
|
|
2312
2433
|
* `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
|
@@ -2384,8 +2505,9 @@ export declare class DlpServiceClient {
|
|
|
2384
2505
|
listDlpJobsAsync(request?: protos.google.privacy.dlp.v2.IListDlpJobsRequest, options?: CallOptions): AsyncIterable<protos.google.privacy.dlp.v2.IDlpJob>;
|
|
2385
2506
|
/**
|
|
2386
2507
|
* Lists stored infoTypes.
|
|
2387
|
-
* See
|
|
2388
|
-
*
|
|
2508
|
+
* See
|
|
2509
|
+
* https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes
|
|
2510
|
+
* to learn more.
|
|
2389
2511
|
*
|
|
2390
2512
|
* @param {Object} request
|
|
2391
2513
|
* The request object that will be sent.
|
|
@@ -2394,7 +2516,7 @@ export declare class DlpServiceClient {
|
|
|
2394
2516
|
*
|
|
2395
2517
|
* The format of this value varies depending on the scope of the request
|
|
2396
2518
|
* (project or organization) and whether you have [specified a processing
|
|
2397
|
-
* location](https://cloud.google.com/
|
|
2519
|
+
* location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
|
|
2398
2520
|
*
|
|
2399
2521
|
* + Projects scope, location specified:<br/>
|
|
2400
2522
|
* `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
|
@@ -2457,7 +2579,7 @@ export declare class DlpServiceClient {
|
|
|
2457
2579
|
*
|
|
2458
2580
|
* The format of this value varies depending on the scope of the request
|
|
2459
2581
|
* (project or organization) and whether you have [specified a processing
|
|
2460
|
-
* location](https://cloud.google.com/
|
|
2582
|
+
* location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
|
|
2461
2583
|
*
|
|
2462
2584
|
* + Projects scope, location specified:<br/>
|
|
2463
2585
|
* `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
|
@@ -2515,7 +2637,7 @@ export declare class DlpServiceClient {
|
|
|
2515
2637
|
*
|
|
2516
2638
|
* The format of this value varies depending on the scope of the request
|
|
2517
2639
|
* (project or organization) and whether you have [specified a processing
|
|
2518
|
-
* location](https://cloud.google.com/
|
|
2640
|
+
* location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
|
|
2519
2641
|
*
|
|
2520
2642
|
* + Projects scope, location specified:<br/>
|
|
2521
2643
|
* `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
|
@@ -2564,91 +2686,763 @@ export declare class DlpServiceClient {
|
|
|
2564
2686
|
*/
|
|
2565
2687
|
listStoredInfoTypesAsync(request?: protos.google.privacy.dlp.v2.IListStoredInfoTypesRequest, options?: CallOptions): AsyncIterable<protos.google.privacy.dlp.v2.IStoredInfoType>;
|
|
2566
2688
|
/**
|
|
2567
|
-
*
|
|
2689
|
+
* Lists data profiles for an organization.
|
|
2568
2690
|
*
|
|
2569
2691
|
* @param {Object} request
|
|
2570
2692
|
* The request object that will be sent.
|
|
2571
|
-
* @param {string} request.
|
|
2572
|
-
*
|
|
2693
|
+
* @param {string} request.parent
|
|
2694
|
+
* Required. organizations/{org_id}/locations/{loc_id}
|
|
2695
|
+
* @param {string} request.pageToken
|
|
2696
|
+
* Page token to continue retrieval.
|
|
2697
|
+
* @param {number} request.pageSize
|
|
2698
|
+
* Size of the page. This value can be limited by the server. If zero, server
|
|
2699
|
+
* returns a page of max size 100.
|
|
2700
|
+
* @param {string} request.orderBy
|
|
2701
|
+
* Comma separated list of fields to order by, followed by `asc` or `desc`
|
|
2702
|
+
* postfix. This list is case insensitive. The default sorting order is
|
|
2703
|
+
* ascending. Redundant space characters are insignificant. Only one order
|
|
2704
|
+
* field at a time is allowed.
|
|
2705
|
+
*
|
|
2706
|
+
* Examples:
|
|
2707
|
+
* * `project_id`
|
|
2708
|
+
* * `sensitivity_level desc`
|
|
2709
|
+
*
|
|
2710
|
+
* Supported fields are:
|
|
2711
|
+
*
|
|
2712
|
+
* - `project_id`: GCP project ID
|
|
2713
|
+
* - `sensitivity_level`: How sensitive the data in a project is, at most.
|
|
2714
|
+
* - `data_risk_level`: How much risk is associated with this data.
|
|
2715
|
+
* - `profile_last_generated`: When the profile was last updated in epoch
|
|
2716
|
+
* seconds.
|
|
2717
|
+
* @param {string} request.filter
|
|
2718
|
+
* Allows filtering.
|
|
2719
|
+
*
|
|
2720
|
+
* Supported syntax:
|
|
2721
|
+
*
|
|
2722
|
+
* * Filter expressions are made up of one or more restrictions.
|
|
2723
|
+
* * Restrictions can be combined by `AND` or `OR` logical operators. A
|
|
2724
|
+
* sequence of restrictions implicitly uses `AND`.
|
|
2725
|
+
* * A restriction has the form of `{field} {operator} {value}`.
|
|
2726
|
+
* * Supported fields/values:
|
|
2727
|
+
* - `sensitivity_level` - HIGH|MODERATE|LOW
|
|
2728
|
+
* - `data_risk_level` - HIGH|MODERATE|LOW
|
|
2729
|
+
* - `status_code` - an RPC status code as defined in
|
|
2730
|
+
* https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
|
|
2731
|
+
* * The operator must be `=` or `!=`.
|
|
2732
|
+
*
|
|
2733
|
+
* Examples:
|
|
2734
|
+
*
|
|
2735
|
+
* * `project_id = 12345 AND status_code = 1`
|
|
2736
|
+
* * `project_id = 12345 AND sensitivity_level = HIGH`
|
|
2737
|
+
*
|
|
2738
|
+
* The length of this field should be no more than 500 characters.
|
|
2573
2739
|
* @param {object} [options]
|
|
2574
|
-
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html
|
|
2740
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
2575
2741
|
* @returns {Promise} - The promise which resolves to an array.
|
|
2576
|
-
* The first element of the array is
|
|
2577
|
-
*
|
|
2742
|
+
* The first element of the array is Array of {@link protos.google.privacy.dlp.v2.ProjectDataProfile|ProjectDataProfile}.
|
|
2743
|
+
* The client library will perform auto-pagination by default: it will call the API as many
|
|
2744
|
+
* times as needed and will merge results from all the pages into this array.
|
|
2745
|
+
* Note that it can affect your quota.
|
|
2746
|
+
* We recommend using `listProjectDataProfilesAsync()`
|
|
2747
|
+
* method described below for async iteration which you can stop as needed.
|
|
2748
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
|
|
2578
2749
|
* for more details and examples.
|
|
2579
|
-
* @example
|
|
2580
|
-
* ```
|
|
2581
|
-
* const [response] = await client.getLocation(request);
|
|
2582
|
-
* ```
|
|
2583
2750
|
*/
|
|
2584
|
-
|
|
2751
|
+
listProjectDataProfiles(request?: protos.google.privacy.dlp.v2.IListProjectDataProfilesRequest, options?: CallOptions): Promise<[
|
|
2752
|
+
protos.google.privacy.dlp.v2.IProjectDataProfile[],
|
|
2753
|
+
protos.google.privacy.dlp.v2.IListProjectDataProfilesRequest | null,
|
|
2754
|
+
protos.google.privacy.dlp.v2.IListProjectDataProfilesResponse
|
|
2755
|
+
]>;
|
|
2756
|
+
listProjectDataProfiles(request: protos.google.privacy.dlp.v2.IListProjectDataProfilesRequest, options: CallOptions, callback: PaginationCallback<protos.google.privacy.dlp.v2.IListProjectDataProfilesRequest, protos.google.privacy.dlp.v2.IListProjectDataProfilesResponse | null | undefined, protos.google.privacy.dlp.v2.IProjectDataProfile>): void;
|
|
2757
|
+
listProjectDataProfiles(request: protos.google.privacy.dlp.v2.IListProjectDataProfilesRequest, callback: PaginationCallback<protos.google.privacy.dlp.v2.IListProjectDataProfilesRequest, protos.google.privacy.dlp.v2.IListProjectDataProfilesResponse | null | undefined, protos.google.privacy.dlp.v2.IProjectDataProfile>): void;
|
|
2585
2758
|
/**
|
|
2586
|
-
*
|
|
2759
|
+
* Equivalent to `method.name.toCamelCase()`, but returns a NodeJS Stream object.
|
|
2760
|
+
* @param {Object} request
|
|
2761
|
+
* The request object that will be sent.
|
|
2762
|
+
* @param {string} request.parent
|
|
2763
|
+
* Required. organizations/{org_id}/locations/{loc_id}
|
|
2764
|
+
* @param {string} request.pageToken
|
|
2765
|
+
* Page token to continue retrieval.
|
|
2766
|
+
* @param {number} request.pageSize
|
|
2767
|
+
* Size of the page. This value can be limited by the server. If zero, server
|
|
2768
|
+
* returns a page of max size 100.
|
|
2769
|
+
* @param {string} request.orderBy
|
|
2770
|
+
* Comma separated list of fields to order by, followed by `asc` or `desc`
|
|
2771
|
+
* postfix. This list is case insensitive. The default sorting order is
|
|
2772
|
+
* ascending. Redundant space characters are insignificant. Only one order
|
|
2773
|
+
* field at a time is allowed.
|
|
2774
|
+
*
|
|
2775
|
+
* Examples:
|
|
2776
|
+
* * `project_id`
|
|
2777
|
+
* * `sensitivity_level desc`
|
|
2778
|
+
*
|
|
2779
|
+
* Supported fields are:
|
|
2780
|
+
*
|
|
2781
|
+
* - `project_id`: GCP project ID
|
|
2782
|
+
* - `sensitivity_level`: How sensitive the data in a project is, at most.
|
|
2783
|
+
* - `data_risk_level`: How much risk is associated with this data.
|
|
2784
|
+
* - `profile_last_generated`: When the profile was last updated in epoch
|
|
2785
|
+
* seconds.
|
|
2786
|
+
* @param {string} request.filter
|
|
2787
|
+
* Allows filtering.
|
|
2788
|
+
*
|
|
2789
|
+
* Supported syntax:
|
|
2790
|
+
*
|
|
2791
|
+
* * Filter expressions are made up of one or more restrictions.
|
|
2792
|
+
* * Restrictions can be combined by `AND` or `OR` logical operators. A
|
|
2793
|
+
* sequence of restrictions implicitly uses `AND`.
|
|
2794
|
+
* * A restriction has the form of `{field} {operator} {value}`.
|
|
2795
|
+
* * Supported fields/values:
|
|
2796
|
+
* - `sensitivity_level` - HIGH|MODERATE|LOW
|
|
2797
|
+
* - `data_risk_level` - HIGH|MODERATE|LOW
|
|
2798
|
+
* - `status_code` - an RPC status code as defined in
|
|
2799
|
+
* https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
|
|
2800
|
+
* * The operator must be `=` or `!=`.
|
|
2801
|
+
*
|
|
2802
|
+
* Examples:
|
|
2803
|
+
*
|
|
2804
|
+
* * `project_id = 12345 AND status_code = 1`
|
|
2805
|
+
* * `project_id = 12345 AND sensitivity_level = HIGH`
|
|
2806
|
+
*
|
|
2807
|
+
* The length of this field should be no more than 500 characters.
|
|
2808
|
+
* @param {object} [options]
|
|
2809
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
2810
|
+
* @returns {Stream}
|
|
2811
|
+
* An object stream which emits an object representing {@link protos.google.privacy.dlp.v2.ProjectDataProfile|ProjectDataProfile} on 'data' event.
|
|
2812
|
+
* The client library will perform auto-pagination by default: it will call the API as many
|
|
2813
|
+
* times as needed. Note that it can affect your quota.
|
|
2814
|
+
* We recommend using `listProjectDataProfilesAsync()`
|
|
2815
|
+
* method described below for async iteration which you can stop as needed.
|
|
2816
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
|
|
2817
|
+
* for more details and examples.
|
|
2818
|
+
*/
|
|
2819
|
+
listProjectDataProfilesStream(request?: protos.google.privacy.dlp.v2.IListProjectDataProfilesRequest, options?: CallOptions): Transform;
|
|
2820
|
+
/**
|
|
2821
|
+
* Equivalent to `listProjectDataProfiles`, but returns an iterable object.
|
|
2587
2822
|
*
|
|
2588
2823
|
* `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
|
|
2589
2824
|
* @param {Object} request
|
|
2590
2825
|
* The request object that will be sent.
|
|
2591
|
-
* @param {string} request.
|
|
2592
|
-
*
|
|
2593
|
-
* @param {string} request.filter
|
|
2594
|
-
* The standard list filter.
|
|
2595
|
-
* @param {number} request.pageSize
|
|
2596
|
-
* The standard list page size.
|
|
2826
|
+
* @param {string} request.parent
|
|
2827
|
+
* Required. organizations/{org_id}/locations/{loc_id}
|
|
2597
2828
|
* @param {string} request.pageToken
|
|
2598
|
-
*
|
|
2829
|
+
* Page token to continue retrieval.
|
|
2830
|
+
* @param {number} request.pageSize
|
|
2831
|
+
* Size of the page. This value can be limited by the server. If zero, server
|
|
2832
|
+
* returns a page of max size 100.
|
|
2833
|
+
* @param {string} request.orderBy
|
|
2834
|
+
* Comma separated list of fields to order by, followed by `asc` or `desc`
|
|
2835
|
+
* postfix. This list is case insensitive. The default sorting order is
|
|
2836
|
+
* ascending. Redundant space characters are insignificant. Only one order
|
|
2837
|
+
* field at a time is allowed.
|
|
2838
|
+
*
|
|
2839
|
+
* Examples:
|
|
2840
|
+
* * `project_id`
|
|
2841
|
+
* * `sensitivity_level desc`
|
|
2842
|
+
*
|
|
2843
|
+
* Supported fields are:
|
|
2844
|
+
*
|
|
2845
|
+
* - `project_id`: GCP project ID
|
|
2846
|
+
* - `sensitivity_level`: How sensitive the data in a project is, at most.
|
|
2847
|
+
* - `data_risk_level`: How much risk is associated with this data.
|
|
2848
|
+
* - `profile_last_generated`: When the profile was last updated in epoch
|
|
2849
|
+
* seconds.
|
|
2850
|
+
* @param {string} request.filter
|
|
2851
|
+
* Allows filtering.
|
|
2852
|
+
*
|
|
2853
|
+
* Supported syntax:
|
|
2854
|
+
*
|
|
2855
|
+
* * Filter expressions are made up of one or more restrictions.
|
|
2856
|
+
* * Restrictions can be combined by `AND` or `OR` logical operators. A
|
|
2857
|
+
* sequence of restrictions implicitly uses `AND`.
|
|
2858
|
+
* * A restriction has the form of `{field} {operator} {value}`.
|
|
2859
|
+
* * Supported fields/values:
|
|
2860
|
+
* - `sensitivity_level` - HIGH|MODERATE|LOW
|
|
2861
|
+
* - `data_risk_level` - HIGH|MODERATE|LOW
|
|
2862
|
+
* - `status_code` - an RPC status code as defined in
|
|
2863
|
+
* https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
|
|
2864
|
+
* * The operator must be `=` or `!=`.
|
|
2865
|
+
*
|
|
2866
|
+
* Examples:
|
|
2867
|
+
*
|
|
2868
|
+
* * `project_id = 12345 AND status_code = 1`
|
|
2869
|
+
* * `project_id = 12345 AND sensitivity_level = HIGH`
|
|
2870
|
+
*
|
|
2871
|
+
* The length of this field should be no more than 500 characters.
|
|
2599
2872
|
* @param {object} [options]
|
|
2600
2873
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
2601
2874
|
* @returns {Object}
|
|
2602
2875
|
* An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
|
|
2603
2876
|
* When you iterate the returned iterable, each element will be an object representing
|
|
2604
|
-
* {@link google.
|
|
2877
|
+
* {@link protos.google.privacy.dlp.v2.ProjectDataProfile|ProjectDataProfile}. The API will be called under the hood as needed, once per the page,
|
|
2605
2878
|
* so you can stop the iteration when you don't need more results.
|
|
2606
2879
|
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
|
|
2607
2880
|
* for more details and examples.
|
|
2608
|
-
* @example
|
|
2609
|
-
*
|
|
2610
|
-
* const iterable = client.listLocationsAsync(request);
|
|
2611
|
-
* for await (const response of iterable) {
|
|
2612
|
-
* // process response
|
|
2613
|
-
* }
|
|
2614
|
-
* ```
|
|
2881
|
+
* @example <caption>include:samples/generated/v2/dlp_service.list_project_data_profiles.js</caption>
|
|
2882
|
+
* region_tag:dlp_v2_generated_DlpService_ListProjectDataProfiles_async
|
|
2615
2883
|
*/
|
|
2616
|
-
|
|
2884
|
+
listProjectDataProfilesAsync(request?: protos.google.privacy.dlp.v2.IListProjectDataProfilesRequest, options?: CallOptions): AsyncIterable<protos.google.privacy.dlp.v2.IProjectDataProfile>;
|
|
2617
2885
|
/**
|
|
2618
|
-
*
|
|
2886
|
+
* Lists data profiles for an organization.
|
|
2619
2887
|
*
|
|
2620
|
-
* @param {
|
|
2621
|
-
*
|
|
2622
|
-
* @param {string}
|
|
2623
|
-
*
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
*
|
|
2888
|
+
* @param {Object} request
|
|
2889
|
+
* The request object that will be sent.
|
|
2890
|
+
* @param {string} request.parent
|
|
2891
|
+
* Required. Resource name of the organization or project, for
|
|
2892
|
+
* example `organizations/433245324/locations/europe` or
|
|
2893
|
+
* `projects/project-id/locations/asia`.
|
|
2894
|
+
* @param {string} request.pageToken
|
|
2895
|
+
* Page token to continue retrieval.
|
|
2896
|
+
* @param {number} request.pageSize
|
|
2897
|
+
* Size of the page. This value can be limited by the server. If zero, server
|
|
2898
|
+
* returns a page of max size 100.
|
|
2899
|
+
* @param {string} request.orderBy
|
|
2900
|
+
* Comma separated list of fields to order by, followed by `asc` or `desc`
|
|
2901
|
+
* postfix. This list is case insensitive. The default sorting order is
|
|
2902
|
+
* ascending. Redundant space characters are insignificant. Only one order
|
|
2903
|
+
* field at a time is allowed.
|
|
2628
2904
|
*
|
|
2629
|
-
*
|
|
2630
|
-
*
|
|
2631
|
-
*
|
|
2632
|
-
|
|
2633
|
-
matchProjectFromDiscoveryConfigName(discoveryConfigName: string): string | number;
|
|
2634
|
-
/**
|
|
2635
|
-
* Parse the location from DiscoveryConfig resource.
|
|
2905
|
+
* Examples:
|
|
2906
|
+
* * `project_id asc`
|
|
2907
|
+
* * `table_id`
|
|
2908
|
+
* * `sensitivity_level desc`
|
|
2636
2909
|
*
|
|
2637
|
-
*
|
|
2638
|
-
* A fully-qualified path representing DiscoveryConfig resource.
|
|
2639
|
-
* @returns {string} A string representing the location.
|
|
2640
|
-
*/
|
|
2641
|
-
matchLocationFromDiscoveryConfigName(discoveryConfigName: string): string | number;
|
|
2642
|
-
/**
|
|
2643
|
-
* Parse the discovery_config from DiscoveryConfig resource.
|
|
2910
|
+
* Supported fields are:
|
|
2644
2911
|
*
|
|
2645
|
-
*
|
|
2646
|
-
*
|
|
2647
|
-
*
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
*
|
|
2912
|
+
* - `project_id`: The GCP project ID.
|
|
2913
|
+
* - `dataset_id`: The ID of a BigQuery dataset.
|
|
2914
|
+
* - `table_id`: The ID of a BigQuery table.
|
|
2915
|
+
* - `sensitivity_level`: How sensitive the data in a table is, at most.
|
|
2916
|
+
* - `data_risk_level`: How much risk is associated with this data.
|
|
2917
|
+
* - `profile_last_generated`: When the profile was last updated in epoch
|
|
2918
|
+
* seconds.
|
|
2919
|
+
* - `last_modified`: The last time the resource was modified.
|
|
2920
|
+
* - `resource_visibility`: Visibility restriction for this resource.
|
|
2921
|
+
* - `row_count`: Number of rows in this resource.
|
|
2922
|
+
* @param {string} request.filter
|
|
2923
|
+
* Allows filtering.
|
|
2924
|
+
*
|
|
2925
|
+
* Supported syntax:
|
|
2926
|
+
*
|
|
2927
|
+
* * Filter expressions are made up of one or more restrictions.
|
|
2928
|
+
* * Restrictions can be combined by `AND` or `OR` logical operators. A
|
|
2929
|
+
* sequence of restrictions implicitly uses `AND`.
|
|
2930
|
+
* * A restriction has the form of `{field} {operator} {value}`.
|
|
2931
|
+
* * Supported fields/values:
|
|
2932
|
+
* - `project_id` - The GCP project ID.
|
|
2933
|
+
* - `dataset_id` - The BigQuery dataset ID.
|
|
2934
|
+
* - `table_id` - The ID of the BigQuery table.
|
|
2935
|
+
* - `sensitivity_level` - HIGH|MODERATE|LOW
|
|
2936
|
+
* - `data_risk_level` - HIGH|MODERATE|LOW
|
|
2937
|
+
* - `resource_visibility`: PUBLIC|RESTRICTED
|
|
2938
|
+
* - `status_code` - an RPC status code as defined in
|
|
2939
|
+
* https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
|
|
2940
|
+
* * The operator must be `=` or `!=`.
|
|
2941
|
+
*
|
|
2942
|
+
* Examples:
|
|
2943
|
+
*
|
|
2944
|
+
* * `project_id = 12345 AND status_code = 1`
|
|
2945
|
+
* * `project_id = 12345 AND sensitivity_level = HIGH`
|
|
2946
|
+
* * `project_id = 12345 AND resource_visibility = PUBLIC`
|
|
2947
|
+
*
|
|
2948
|
+
* The length of this field should be no more than 500 characters.
|
|
2949
|
+
* @param {object} [options]
|
|
2950
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
2951
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
2952
|
+
* The first element of the array is Array of {@link protos.google.privacy.dlp.v2.TableDataProfile|TableDataProfile}.
|
|
2953
|
+
* The client library will perform auto-pagination by default: it will call the API as many
|
|
2954
|
+
* times as needed and will merge results from all the pages into this array.
|
|
2955
|
+
* Note that it can affect your quota.
|
|
2956
|
+
* We recommend using `listTableDataProfilesAsync()`
|
|
2957
|
+
* method described below for async iteration which you can stop as needed.
|
|
2958
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
|
|
2959
|
+
* for more details and examples.
|
|
2960
|
+
*/
|
|
2961
|
+
listTableDataProfiles(request?: protos.google.privacy.dlp.v2.IListTableDataProfilesRequest, options?: CallOptions): Promise<[
|
|
2962
|
+
protos.google.privacy.dlp.v2.ITableDataProfile[],
|
|
2963
|
+
protos.google.privacy.dlp.v2.IListTableDataProfilesRequest | null,
|
|
2964
|
+
protos.google.privacy.dlp.v2.IListTableDataProfilesResponse
|
|
2965
|
+
]>;
|
|
2966
|
+
listTableDataProfiles(request: protos.google.privacy.dlp.v2.IListTableDataProfilesRequest, options: CallOptions, callback: PaginationCallback<protos.google.privacy.dlp.v2.IListTableDataProfilesRequest, protos.google.privacy.dlp.v2.IListTableDataProfilesResponse | null | undefined, protos.google.privacy.dlp.v2.ITableDataProfile>): void;
|
|
2967
|
+
listTableDataProfiles(request: protos.google.privacy.dlp.v2.IListTableDataProfilesRequest, callback: PaginationCallback<protos.google.privacy.dlp.v2.IListTableDataProfilesRequest, protos.google.privacy.dlp.v2.IListTableDataProfilesResponse | null | undefined, protos.google.privacy.dlp.v2.ITableDataProfile>): void;
|
|
2968
|
+
/**
|
|
2969
|
+
* Equivalent to `method.name.toCamelCase()`, but returns a NodeJS Stream object.
|
|
2970
|
+
* @param {Object} request
|
|
2971
|
+
* The request object that will be sent.
|
|
2972
|
+
* @param {string} request.parent
|
|
2973
|
+
* Required. Resource name of the organization or project, for
|
|
2974
|
+
* example `organizations/433245324/locations/europe` or
|
|
2975
|
+
* `projects/project-id/locations/asia`.
|
|
2976
|
+
* @param {string} request.pageToken
|
|
2977
|
+
* Page token to continue retrieval.
|
|
2978
|
+
* @param {number} request.pageSize
|
|
2979
|
+
* Size of the page. This value can be limited by the server. If zero, server
|
|
2980
|
+
* returns a page of max size 100.
|
|
2981
|
+
* @param {string} request.orderBy
|
|
2982
|
+
* Comma separated list of fields to order by, followed by `asc` or `desc`
|
|
2983
|
+
* postfix. This list is case insensitive. The default sorting order is
|
|
2984
|
+
* ascending. Redundant space characters are insignificant. Only one order
|
|
2985
|
+
* field at a time is allowed.
|
|
2986
|
+
*
|
|
2987
|
+
* Examples:
|
|
2988
|
+
* * `project_id asc`
|
|
2989
|
+
* * `table_id`
|
|
2990
|
+
* * `sensitivity_level desc`
|
|
2991
|
+
*
|
|
2992
|
+
* Supported fields are:
|
|
2993
|
+
*
|
|
2994
|
+
* - `project_id`: The GCP project ID.
|
|
2995
|
+
* - `dataset_id`: The ID of a BigQuery dataset.
|
|
2996
|
+
* - `table_id`: The ID of a BigQuery table.
|
|
2997
|
+
* - `sensitivity_level`: How sensitive the data in a table is, at most.
|
|
2998
|
+
* - `data_risk_level`: How much risk is associated with this data.
|
|
2999
|
+
* - `profile_last_generated`: When the profile was last updated in epoch
|
|
3000
|
+
* seconds.
|
|
3001
|
+
* - `last_modified`: The last time the resource was modified.
|
|
3002
|
+
* - `resource_visibility`: Visibility restriction for this resource.
|
|
3003
|
+
* - `row_count`: Number of rows in this resource.
|
|
3004
|
+
* @param {string} request.filter
|
|
3005
|
+
* Allows filtering.
|
|
3006
|
+
*
|
|
3007
|
+
* Supported syntax:
|
|
3008
|
+
*
|
|
3009
|
+
* * Filter expressions are made up of one or more restrictions.
|
|
3010
|
+
* * Restrictions can be combined by `AND` or `OR` logical operators. A
|
|
3011
|
+
* sequence of restrictions implicitly uses `AND`.
|
|
3012
|
+
* * A restriction has the form of `{field} {operator} {value}`.
|
|
3013
|
+
* * Supported fields/values:
|
|
3014
|
+
* - `project_id` - The GCP project ID.
|
|
3015
|
+
* - `dataset_id` - The BigQuery dataset ID.
|
|
3016
|
+
* - `table_id` - The ID of the BigQuery table.
|
|
3017
|
+
* - `sensitivity_level` - HIGH|MODERATE|LOW
|
|
3018
|
+
* - `data_risk_level` - HIGH|MODERATE|LOW
|
|
3019
|
+
* - `resource_visibility`: PUBLIC|RESTRICTED
|
|
3020
|
+
* - `status_code` - an RPC status code as defined in
|
|
3021
|
+
* https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
|
|
3022
|
+
* * The operator must be `=` or `!=`.
|
|
3023
|
+
*
|
|
3024
|
+
* Examples:
|
|
3025
|
+
*
|
|
3026
|
+
* * `project_id = 12345 AND status_code = 1`
|
|
3027
|
+
* * `project_id = 12345 AND sensitivity_level = HIGH`
|
|
3028
|
+
* * `project_id = 12345 AND resource_visibility = PUBLIC`
|
|
3029
|
+
*
|
|
3030
|
+
* The length of this field should be no more than 500 characters.
|
|
3031
|
+
* @param {object} [options]
|
|
3032
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
3033
|
+
* @returns {Stream}
|
|
3034
|
+
* An object stream which emits an object representing {@link protos.google.privacy.dlp.v2.TableDataProfile|TableDataProfile} on 'data' event.
|
|
3035
|
+
* The client library will perform auto-pagination by default: it will call the API as many
|
|
3036
|
+
* times as needed. Note that it can affect your quota.
|
|
3037
|
+
* We recommend using `listTableDataProfilesAsync()`
|
|
3038
|
+
* method described below for async iteration which you can stop as needed.
|
|
3039
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
|
|
3040
|
+
* for more details and examples.
|
|
3041
|
+
*/
|
|
3042
|
+
listTableDataProfilesStream(request?: protos.google.privacy.dlp.v2.IListTableDataProfilesRequest, options?: CallOptions): Transform;
|
|
3043
|
+
/**
|
|
3044
|
+
* Equivalent to `listTableDataProfiles`, but returns an iterable object.
|
|
3045
|
+
*
|
|
3046
|
+
* `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
|
|
3047
|
+
* @param {Object} request
|
|
3048
|
+
* The request object that will be sent.
|
|
3049
|
+
* @param {string} request.parent
|
|
3050
|
+
* Required. Resource name of the organization or project, for
|
|
3051
|
+
* example `organizations/433245324/locations/europe` or
|
|
3052
|
+
* `projects/project-id/locations/asia`.
|
|
3053
|
+
* @param {string} request.pageToken
|
|
3054
|
+
* Page token to continue retrieval.
|
|
3055
|
+
* @param {number} request.pageSize
|
|
3056
|
+
* Size of the page. This value can be limited by the server. If zero, server
|
|
3057
|
+
* returns a page of max size 100.
|
|
3058
|
+
* @param {string} request.orderBy
|
|
3059
|
+
* Comma separated list of fields to order by, followed by `asc` or `desc`
|
|
3060
|
+
* postfix. This list is case insensitive. The default sorting order is
|
|
3061
|
+
* ascending. Redundant space characters are insignificant. Only one order
|
|
3062
|
+
* field at a time is allowed.
|
|
3063
|
+
*
|
|
3064
|
+
* Examples:
|
|
3065
|
+
* * `project_id asc`
|
|
3066
|
+
* * `table_id`
|
|
3067
|
+
* * `sensitivity_level desc`
|
|
3068
|
+
*
|
|
3069
|
+
* Supported fields are:
|
|
3070
|
+
*
|
|
3071
|
+
* - `project_id`: The GCP project ID.
|
|
3072
|
+
* - `dataset_id`: The ID of a BigQuery dataset.
|
|
3073
|
+
* - `table_id`: The ID of a BigQuery table.
|
|
3074
|
+
* - `sensitivity_level`: How sensitive the data in a table is, at most.
|
|
3075
|
+
* - `data_risk_level`: How much risk is associated with this data.
|
|
3076
|
+
* - `profile_last_generated`: When the profile was last updated in epoch
|
|
3077
|
+
* seconds.
|
|
3078
|
+
* - `last_modified`: The last time the resource was modified.
|
|
3079
|
+
* - `resource_visibility`: Visibility restriction for this resource.
|
|
3080
|
+
* - `row_count`: Number of rows in this resource.
|
|
3081
|
+
* @param {string} request.filter
|
|
3082
|
+
* Allows filtering.
|
|
3083
|
+
*
|
|
3084
|
+
* Supported syntax:
|
|
3085
|
+
*
|
|
3086
|
+
* * Filter expressions are made up of one or more restrictions.
|
|
3087
|
+
* * Restrictions can be combined by `AND` or `OR` logical operators. A
|
|
3088
|
+
* sequence of restrictions implicitly uses `AND`.
|
|
3089
|
+
* * A restriction has the form of `{field} {operator} {value}`.
|
|
3090
|
+
* * Supported fields/values:
|
|
3091
|
+
* - `project_id` - The GCP project ID.
|
|
3092
|
+
* - `dataset_id` - The BigQuery dataset ID.
|
|
3093
|
+
* - `table_id` - The ID of the BigQuery table.
|
|
3094
|
+
* - `sensitivity_level` - HIGH|MODERATE|LOW
|
|
3095
|
+
* - `data_risk_level` - HIGH|MODERATE|LOW
|
|
3096
|
+
* - `resource_visibility`: PUBLIC|RESTRICTED
|
|
3097
|
+
* - `status_code` - an RPC status code as defined in
|
|
3098
|
+
* https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
|
|
3099
|
+
* * The operator must be `=` or `!=`.
|
|
3100
|
+
*
|
|
3101
|
+
* Examples:
|
|
3102
|
+
*
|
|
3103
|
+
* * `project_id = 12345 AND status_code = 1`
|
|
3104
|
+
* * `project_id = 12345 AND sensitivity_level = HIGH`
|
|
3105
|
+
* * `project_id = 12345 AND resource_visibility = PUBLIC`
|
|
3106
|
+
*
|
|
3107
|
+
* The length of this field should be no more than 500 characters.
|
|
3108
|
+
* @param {object} [options]
|
|
3109
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
3110
|
+
* @returns {Object}
|
|
3111
|
+
* An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
|
|
3112
|
+
* When you iterate the returned iterable, each element will be an object representing
|
|
3113
|
+
* {@link protos.google.privacy.dlp.v2.TableDataProfile|TableDataProfile}. The API will be called under the hood as needed, once per the page,
|
|
3114
|
+
* so you can stop the iteration when you don't need more results.
|
|
3115
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
|
|
3116
|
+
* for more details and examples.
|
|
3117
|
+
* @example <caption>include:samples/generated/v2/dlp_service.list_table_data_profiles.js</caption>
|
|
3118
|
+
* region_tag:dlp_v2_generated_DlpService_ListTableDataProfiles_async
|
|
3119
|
+
*/
|
|
3120
|
+
listTableDataProfilesAsync(request?: protos.google.privacy.dlp.v2.IListTableDataProfilesRequest, options?: CallOptions): AsyncIterable<protos.google.privacy.dlp.v2.ITableDataProfile>;
|
|
3121
|
+
/**
|
|
3122
|
+
* Lists data profiles for an organization.
|
|
3123
|
+
*
|
|
3124
|
+
* @param {Object} request
|
|
3125
|
+
* The request object that will be sent.
|
|
3126
|
+
* @param {string} request.parent
|
|
3127
|
+
* Required. Resource name of the organization or project, for
|
|
3128
|
+
* example `organizations/433245324/locations/europe` or
|
|
3129
|
+
* `projects/project-id/locations/asia`.
|
|
3130
|
+
* @param {string} request.pageToken
|
|
3131
|
+
* Page token to continue retrieval.
|
|
3132
|
+
* @param {number} request.pageSize
|
|
3133
|
+
* Size of the page. This value can be limited by the server. If zero, server
|
|
3134
|
+
* returns a page of max size 100.
|
|
3135
|
+
* @param {string} request.orderBy
|
|
3136
|
+
* Comma separated list of fields to order by, followed by `asc` or `desc`
|
|
3137
|
+
* postfix. This list is case insensitive. The default sorting order is
|
|
3138
|
+
* ascending. Redundant space characters are insignificant. Only one order
|
|
3139
|
+
* field at a time is allowed.
|
|
3140
|
+
*
|
|
3141
|
+
* Examples:
|
|
3142
|
+
* * `project_id asc`
|
|
3143
|
+
* * `table_id`
|
|
3144
|
+
* * `sensitivity_level desc`
|
|
3145
|
+
*
|
|
3146
|
+
* Supported fields are:
|
|
3147
|
+
*
|
|
3148
|
+
* - `project_id`: The Google Cloud project ID.
|
|
3149
|
+
* - `dataset_id`: The ID of a BigQuery dataset.
|
|
3150
|
+
* - `table_id`: The ID of a BigQuery table.
|
|
3151
|
+
* - `sensitivity_level`: How sensitive the data in a column is, at most.
|
|
3152
|
+
* - `data_risk_level`: How much risk is associated with this data.
|
|
3153
|
+
* - `profile_last_generated`: When the profile was last updated in epoch
|
|
3154
|
+
* seconds.
|
|
3155
|
+
* @param {string} request.filter
|
|
3156
|
+
* Allows filtering.
|
|
3157
|
+
*
|
|
3158
|
+
* Supported syntax:
|
|
3159
|
+
*
|
|
3160
|
+
* * Filter expressions are made up of one or more restrictions.
|
|
3161
|
+
* * Restrictions can be combined by `AND` or `OR` logical operators. A
|
|
3162
|
+
* sequence of restrictions implicitly uses `AND`.
|
|
3163
|
+
* * A restriction has the form of `{field} {operator} {value}`.
|
|
3164
|
+
* * Supported fields/values:
|
|
3165
|
+
* - `table_data_profile_name` - The name of the related table data
|
|
3166
|
+
* profile.
|
|
3167
|
+
* - `project_id` - The Google Cloud project ID. (REQUIRED)
|
|
3168
|
+
* - `dataset_id` - The BigQuery dataset ID. (REQUIRED)
|
|
3169
|
+
* - `table_id` - The BigQuery table ID. (REQUIRED)
|
|
3170
|
+
* - `field_id` - The ID of the BigQuery field.
|
|
3171
|
+
* - `info_type` - The infotype detected in the resource.
|
|
3172
|
+
* - `sensitivity_level` - HIGH|MEDIUM|LOW
|
|
3173
|
+
* - `data_risk_level`: How much risk is associated with this data.
|
|
3174
|
+
* - `status_code` - an RPC status code as defined in
|
|
3175
|
+
* https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
|
|
3176
|
+
* * The operator must be `=` for project_id, dataset_id, and table_id. Other
|
|
3177
|
+
* filters also support `!=`.
|
|
3178
|
+
*
|
|
3179
|
+
* Examples:
|
|
3180
|
+
*
|
|
3181
|
+
* * project_id = 12345 AND status_code = 1
|
|
3182
|
+
* * project_id = 12345 AND sensitivity_level = HIGH
|
|
3183
|
+
* * project_id = 12345 AND info_type = STREET_ADDRESS
|
|
3184
|
+
*
|
|
3185
|
+
* The length of this field should be no more than 500 characters.
|
|
3186
|
+
* @param {object} [options]
|
|
3187
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
3188
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
3189
|
+
* The first element of the array is Array of {@link protos.google.privacy.dlp.v2.ColumnDataProfile|ColumnDataProfile}.
|
|
3190
|
+
* The client library will perform auto-pagination by default: it will call the API as many
|
|
3191
|
+
* times as needed and will merge results from all the pages into this array.
|
|
3192
|
+
* Note that it can affect your quota.
|
|
3193
|
+
* We recommend using `listColumnDataProfilesAsync()`
|
|
3194
|
+
* method described below for async iteration which you can stop as needed.
|
|
3195
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
|
|
3196
|
+
* for more details and examples.
|
|
3197
|
+
*/
|
|
3198
|
+
listColumnDataProfiles(request?: protos.google.privacy.dlp.v2.IListColumnDataProfilesRequest, options?: CallOptions): Promise<[
|
|
3199
|
+
protos.google.privacy.dlp.v2.IColumnDataProfile[],
|
|
3200
|
+
protos.google.privacy.dlp.v2.IListColumnDataProfilesRequest | null,
|
|
3201
|
+
protos.google.privacy.dlp.v2.IListColumnDataProfilesResponse
|
|
3202
|
+
]>;
|
|
3203
|
+
listColumnDataProfiles(request: protos.google.privacy.dlp.v2.IListColumnDataProfilesRequest, options: CallOptions, callback: PaginationCallback<protos.google.privacy.dlp.v2.IListColumnDataProfilesRequest, protos.google.privacy.dlp.v2.IListColumnDataProfilesResponse | null | undefined, protos.google.privacy.dlp.v2.IColumnDataProfile>): void;
|
|
3204
|
+
listColumnDataProfiles(request: protos.google.privacy.dlp.v2.IListColumnDataProfilesRequest, callback: PaginationCallback<protos.google.privacy.dlp.v2.IListColumnDataProfilesRequest, protos.google.privacy.dlp.v2.IListColumnDataProfilesResponse | null | undefined, protos.google.privacy.dlp.v2.IColumnDataProfile>): void;
|
|
3205
|
+
/**
|
|
3206
|
+
* Equivalent to `method.name.toCamelCase()`, but returns a NodeJS Stream object.
|
|
3207
|
+
* @param {Object} request
|
|
3208
|
+
* The request object that will be sent.
|
|
3209
|
+
* @param {string} request.parent
|
|
3210
|
+
* Required. Resource name of the organization or project, for
|
|
3211
|
+
* example `organizations/433245324/locations/europe` or
|
|
3212
|
+
* `projects/project-id/locations/asia`.
|
|
3213
|
+
* @param {string} request.pageToken
|
|
3214
|
+
* Page token to continue retrieval.
|
|
3215
|
+
* @param {number} request.pageSize
|
|
3216
|
+
* Size of the page. This value can be limited by the server. If zero, server
|
|
3217
|
+
* returns a page of max size 100.
|
|
3218
|
+
* @param {string} request.orderBy
|
|
3219
|
+
* Comma separated list of fields to order by, followed by `asc` or `desc`
|
|
3220
|
+
* postfix. This list is case insensitive. The default sorting order is
|
|
3221
|
+
* ascending. Redundant space characters are insignificant. Only one order
|
|
3222
|
+
* field at a time is allowed.
|
|
3223
|
+
*
|
|
3224
|
+
* Examples:
|
|
3225
|
+
* * `project_id asc`
|
|
3226
|
+
* * `table_id`
|
|
3227
|
+
* * `sensitivity_level desc`
|
|
3228
|
+
*
|
|
3229
|
+
* Supported fields are:
|
|
3230
|
+
*
|
|
3231
|
+
* - `project_id`: The Google Cloud project ID.
|
|
3232
|
+
* - `dataset_id`: The ID of a BigQuery dataset.
|
|
3233
|
+
* - `table_id`: The ID of a BigQuery table.
|
|
3234
|
+
* - `sensitivity_level`: How sensitive the data in a column is, at most.
|
|
3235
|
+
* - `data_risk_level`: How much risk is associated with this data.
|
|
3236
|
+
* - `profile_last_generated`: When the profile was last updated in epoch
|
|
3237
|
+
* seconds.
|
|
3238
|
+
* @param {string} request.filter
|
|
3239
|
+
* Allows filtering.
|
|
3240
|
+
*
|
|
3241
|
+
* Supported syntax:
|
|
3242
|
+
*
|
|
3243
|
+
* * Filter expressions are made up of one or more restrictions.
|
|
3244
|
+
* * Restrictions can be combined by `AND` or `OR` logical operators. A
|
|
3245
|
+
* sequence of restrictions implicitly uses `AND`.
|
|
3246
|
+
* * A restriction has the form of `{field} {operator} {value}`.
|
|
3247
|
+
* * Supported fields/values:
|
|
3248
|
+
* - `table_data_profile_name` - The name of the related table data
|
|
3249
|
+
* profile.
|
|
3250
|
+
* - `project_id` - The Google Cloud project ID. (REQUIRED)
|
|
3251
|
+
* - `dataset_id` - The BigQuery dataset ID. (REQUIRED)
|
|
3252
|
+
* - `table_id` - The BigQuery table ID. (REQUIRED)
|
|
3253
|
+
* - `field_id` - The ID of the BigQuery field.
|
|
3254
|
+
* - `info_type` - The infotype detected in the resource.
|
|
3255
|
+
* - `sensitivity_level` - HIGH|MEDIUM|LOW
|
|
3256
|
+
* - `data_risk_level`: How much risk is associated with this data.
|
|
3257
|
+
* - `status_code` - an RPC status code as defined in
|
|
3258
|
+
* https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
|
|
3259
|
+
* * The operator must be `=` for project_id, dataset_id, and table_id. Other
|
|
3260
|
+
* filters also support `!=`.
|
|
3261
|
+
*
|
|
3262
|
+
* Examples:
|
|
3263
|
+
*
|
|
3264
|
+
* * project_id = 12345 AND status_code = 1
|
|
3265
|
+
* * project_id = 12345 AND sensitivity_level = HIGH
|
|
3266
|
+
* * project_id = 12345 AND info_type = STREET_ADDRESS
|
|
3267
|
+
*
|
|
3268
|
+
* The length of this field should be no more than 500 characters.
|
|
3269
|
+
* @param {object} [options]
|
|
3270
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
3271
|
+
* @returns {Stream}
|
|
3272
|
+
* An object stream which emits an object representing {@link protos.google.privacy.dlp.v2.ColumnDataProfile|ColumnDataProfile} on 'data' event.
|
|
3273
|
+
* The client library will perform auto-pagination by default: it will call the API as many
|
|
3274
|
+
* times as needed. Note that it can affect your quota.
|
|
3275
|
+
* We recommend using `listColumnDataProfilesAsync()`
|
|
3276
|
+
* method described below for async iteration which you can stop as needed.
|
|
3277
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
|
|
3278
|
+
* for more details and examples.
|
|
3279
|
+
*/
|
|
3280
|
+
listColumnDataProfilesStream(request?: protos.google.privacy.dlp.v2.IListColumnDataProfilesRequest, options?: CallOptions): Transform;
|
|
3281
|
+
/**
|
|
3282
|
+
* Equivalent to `listColumnDataProfiles`, but returns an iterable object.
|
|
3283
|
+
*
|
|
3284
|
+
* `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
|
|
3285
|
+
* @param {Object} request
|
|
3286
|
+
* The request object that will be sent.
|
|
3287
|
+
* @param {string} request.parent
|
|
3288
|
+
* Required. Resource name of the organization or project, for
|
|
3289
|
+
* example `organizations/433245324/locations/europe` or
|
|
3290
|
+
* `projects/project-id/locations/asia`.
|
|
3291
|
+
* @param {string} request.pageToken
|
|
3292
|
+
* Page token to continue retrieval.
|
|
3293
|
+
* @param {number} request.pageSize
|
|
3294
|
+
* Size of the page. This value can be limited by the server. If zero, server
|
|
3295
|
+
* returns a page of max size 100.
|
|
3296
|
+
* @param {string} request.orderBy
|
|
3297
|
+
* Comma separated list of fields to order by, followed by `asc` or `desc`
|
|
3298
|
+
* postfix. This list is case insensitive. The default sorting order is
|
|
3299
|
+
* ascending. Redundant space characters are insignificant. Only one order
|
|
3300
|
+
* field at a time is allowed.
|
|
3301
|
+
*
|
|
3302
|
+
* Examples:
|
|
3303
|
+
* * `project_id asc`
|
|
3304
|
+
* * `table_id`
|
|
3305
|
+
* * `sensitivity_level desc`
|
|
3306
|
+
*
|
|
3307
|
+
* Supported fields are:
|
|
3308
|
+
*
|
|
3309
|
+
* - `project_id`: The Google Cloud project ID.
|
|
3310
|
+
* - `dataset_id`: The ID of a BigQuery dataset.
|
|
3311
|
+
* - `table_id`: The ID of a BigQuery table.
|
|
3312
|
+
* - `sensitivity_level`: How sensitive the data in a column is, at most.
|
|
3313
|
+
* - `data_risk_level`: How much risk is associated with this data.
|
|
3314
|
+
* - `profile_last_generated`: When the profile was last updated in epoch
|
|
3315
|
+
* seconds.
|
|
3316
|
+
* @param {string} request.filter
|
|
3317
|
+
* Allows filtering.
|
|
3318
|
+
*
|
|
3319
|
+
* Supported syntax:
|
|
3320
|
+
*
|
|
3321
|
+
* * Filter expressions are made up of one or more restrictions.
|
|
3322
|
+
* * Restrictions can be combined by `AND` or `OR` logical operators. A
|
|
3323
|
+
* sequence of restrictions implicitly uses `AND`.
|
|
3324
|
+
* * A restriction has the form of `{field} {operator} {value}`.
|
|
3325
|
+
* * Supported fields/values:
|
|
3326
|
+
* - `table_data_profile_name` - The name of the related table data
|
|
3327
|
+
* profile.
|
|
3328
|
+
* - `project_id` - The Google Cloud project ID. (REQUIRED)
|
|
3329
|
+
* - `dataset_id` - The BigQuery dataset ID. (REQUIRED)
|
|
3330
|
+
* - `table_id` - The BigQuery table ID. (REQUIRED)
|
|
3331
|
+
* - `field_id` - The ID of the BigQuery field.
|
|
3332
|
+
* - `info_type` - The infotype detected in the resource.
|
|
3333
|
+
* - `sensitivity_level` - HIGH|MEDIUM|LOW
|
|
3334
|
+
* - `data_risk_level`: How much risk is associated with this data.
|
|
3335
|
+
* - `status_code` - an RPC status code as defined in
|
|
3336
|
+
* https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
|
|
3337
|
+
* * The operator must be `=` for project_id, dataset_id, and table_id. Other
|
|
3338
|
+
* filters also support `!=`.
|
|
3339
|
+
*
|
|
3340
|
+
* Examples:
|
|
3341
|
+
*
|
|
3342
|
+
* * project_id = 12345 AND status_code = 1
|
|
3343
|
+
* * project_id = 12345 AND sensitivity_level = HIGH
|
|
3344
|
+
* * project_id = 12345 AND info_type = STREET_ADDRESS
|
|
3345
|
+
*
|
|
3346
|
+
* The length of this field should be no more than 500 characters.
|
|
3347
|
+
* @param {object} [options]
|
|
3348
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
3349
|
+
* @returns {Object}
|
|
3350
|
+
* An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
|
|
3351
|
+
* When you iterate the returned iterable, each element will be an object representing
|
|
3352
|
+
* {@link protos.google.privacy.dlp.v2.ColumnDataProfile|ColumnDataProfile}. The API will be called under the hood as needed, once per the page,
|
|
3353
|
+
* so you can stop the iteration when you don't need more results.
|
|
3354
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
|
|
3355
|
+
* for more details and examples.
|
|
3356
|
+
* @example <caption>include:samples/generated/v2/dlp_service.list_column_data_profiles.js</caption>
|
|
3357
|
+
* region_tag:dlp_v2_generated_DlpService_ListColumnDataProfiles_async
|
|
3358
|
+
*/
|
|
3359
|
+
listColumnDataProfilesAsync(request?: protos.google.privacy.dlp.v2.IListColumnDataProfilesRequest, options?: CallOptions): AsyncIterable<protos.google.privacy.dlp.v2.IColumnDataProfile>;
|
|
3360
|
+
/**
|
|
3361
|
+
* Gets information about a location.
|
|
3362
|
+
*
|
|
3363
|
+
* @param {Object} request
|
|
3364
|
+
* The request object that will be sent.
|
|
3365
|
+
* @param {string} request.name
|
|
3366
|
+
* Resource name for the location.
|
|
3367
|
+
* @param {object} [options]
|
|
3368
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html | CallOptions} for more details.
|
|
3369
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
3370
|
+
* The first element of the array is an object representing {@link google.cloud.location.Location | Location}.
|
|
3371
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
|
|
3372
|
+
* for more details and examples.
|
|
3373
|
+
* @example
|
|
3374
|
+
* ```
|
|
3375
|
+
* const [response] = await client.getLocation(request);
|
|
3376
|
+
* ```
|
|
3377
|
+
*/
|
|
3378
|
+
getLocation(request: LocationProtos.google.cloud.location.IGetLocationRequest, options?: gax.CallOptions | Callback<LocationProtos.google.cloud.location.ILocation, LocationProtos.google.cloud.location.IGetLocationRequest | null | undefined, {} | null | undefined>, callback?: Callback<LocationProtos.google.cloud.location.ILocation, LocationProtos.google.cloud.location.IGetLocationRequest | null | undefined, {} | null | undefined>): Promise<LocationProtos.google.cloud.location.ILocation>;
|
|
3379
|
+
/**
|
|
3380
|
+
* Lists information about the supported locations for this service. Returns an iterable object.
|
|
3381
|
+
*
|
|
3382
|
+
* `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
|
|
3383
|
+
* @param {Object} request
|
|
3384
|
+
* The request object that will be sent.
|
|
3385
|
+
* @param {string} request.name
|
|
3386
|
+
* The resource that owns the locations collection, if applicable.
|
|
3387
|
+
* @param {string} request.filter
|
|
3388
|
+
* The standard list filter.
|
|
3389
|
+
* @param {number} request.pageSize
|
|
3390
|
+
* The standard list page size.
|
|
3391
|
+
* @param {string} request.pageToken
|
|
3392
|
+
* The standard list page token.
|
|
3393
|
+
* @param {object} [options]
|
|
3394
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
3395
|
+
* @returns {Object}
|
|
3396
|
+
* An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
|
|
3397
|
+
* When you iterate the returned iterable, each element will be an object representing
|
|
3398
|
+
* {@link google.cloud.location.Location | Location}. The API will be called under the hood as needed, once per the page,
|
|
3399
|
+
* so you can stop the iteration when you don't need more results.
|
|
3400
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
|
|
3401
|
+
* for more details and examples.
|
|
3402
|
+
* @example
|
|
3403
|
+
* ```
|
|
3404
|
+
* const iterable = client.listLocationsAsync(request);
|
|
3405
|
+
* for await (const response of iterable) {
|
|
3406
|
+
* // process response
|
|
3407
|
+
* }
|
|
3408
|
+
* ```
|
|
3409
|
+
*/
|
|
3410
|
+
listLocationsAsync(request: LocationProtos.google.cloud.location.IListLocationsRequest, options?: CallOptions): AsyncIterable<LocationProtos.google.cloud.location.ILocation>;
|
|
3411
|
+
/**
|
|
3412
|
+
* Return a fully-qualified discoveryConfig resource name string.
|
|
3413
|
+
*
|
|
3414
|
+
* @param {string} project
|
|
3415
|
+
* @param {string} location
|
|
3416
|
+
* @param {string} discovery_config
|
|
3417
|
+
* @returns {string} Resource name string.
|
|
3418
|
+
*/
|
|
3419
|
+
discoveryConfigPath(project: string, location: string, discoveryConfig: string): string;
|
|
3420
|
+
/**
|
|
3421
|
+
* Parse the project from DiscoveryConfig resource.
|
|
3422
|
+
*
|
|
3423
|
+
* @param {string} discoveryConfigName
|
|
3424
|
+
* A fully-qualified path representing DiscoveryConfig resource.
|
|
3425
|
+
* @returns {string} A string representing the project.
|
|
3426
|
+
*/
|
|
3427
|
+
matchProjectFromDiscoveryConfigName(discoveryConfigName: string): string | number;
|
|
3428
|
+
/**
|
|
3429
|
+
* Parse the location from DiscoveryConfig resource.
|
|
3430
|
+
*
|
|
3431
|
+
* @param {string} discoveryConfigName
|
|
3432
|
+
* A fully-qualified path representing DiscoveryConfig resource.
|
|
3433
|
+
* @returns {string} A string representing the location.
|
|
3434
|
+
*/
|
|
3435
|
+
matchLocationFromDiscoveryConfigName(discoveryConfigName: string): string | number;
|
|
3436
|
+
/**
|
|
3437
|
+
* Parse the discovery_config from DiscoveryConfig resource.
|
|
3438
|
+
*
|
|
3439
|
+
* @param {string} discoveryConfigName
|
|
3440
|
+
* A fully-qualified path representing DiscoveryConfig resource.
|
|
3441
|
+
* @returns {string} A string representing the discovery_config.
|
|
3442
|
+
*/
|
|
3443
|
+
matchDiscoveryConfigFromDiscoveryConfigName(discoveryConfigName: string): string | number;
|
|
3444
|
+
/**
|
|
3445
|
+
* Return a fully-qualified finding resource name string.
|
|
2652
3446
|
*
|
|
2653
3447
|
* @param {string} project
|
|
2654
3448
|
* @param {string} location
|
|
@@ -2767,6 +3561,63 @@ export declare class DlpServiceClient {
|
|
|
2767
3561
|
* @returns {string} A string representing the inspect_template.
|
|
2768
3562
|
*/
|
|
2769
3563
|
matchInspectTemplateFromOrganizationInspectTemplateName(organizationInspectTemplateName: string): string | number;
|
|
3564
|
+
/**
|
|
3565
|
+
* Return a fully-qualified organizationLocation resource name string.
|
|
3566
|
+
*
|
|
3567
|
+
* @param {string} organization
|
|
3568
|
+
* @param {string} location
|
|
3569
|
+
* @returns {string} Resource name string.
|
|
3570
|
+
*/
|
|
3571
|
+
organizationLocationPath(organization: string, location: string): string;
|
|
3572
|
+
/**
|
|
3573
|
+
* Parse the organization from OrganizationLocation resource.
|
|
3574
|
+
*
|
|
3575
|
+
* @param {string} organizationLocationName
|
|
3576
|
+
* A fully-qualified path representing OrganizationLocation resource.
|
|
3577
|
+
* @returns {string} A string representing the organization.
|
|
3578
|
+
*/
|
|
3579
|
+
matchOrganizationFromOrganizationLocationName(organizationLocationName: string): string | number;
|
|
3580
|
+
/**
|
|
3581
|
+
* Parse the location from OrganizationLocation resource.
|
|
3582
|
+
*
|
|
3583
|
+
* @param {string} organizationLocationName
|
|
3584
|
+
* A fully-qualified path representing OrganizationLocation resource.
|
|
3585
|
+
* @returns {string} A string representing the location.
|
|
3586
|
+
*/
|
|
3587
|
+
matchLocationFromOrganizationLocationName(organizationLocationName: string): string | number;
|
|
3588
|
+
/**
|
|
3589
|
+
* Return a fully-qualified organizationLocationColumnDataProfile resource name string.
|
|
3590
|
+
*
|
|
3591
|
+
* @param {string} organization
|
|
3592
|
+
* @param {string} location
|
|
3593
|
+
* @param {string} column_data_profile
|
|
3594
|
+
* @returns {string} Resource name string.
|
|
3595
|
+
*/
|
|
3596
|
+
organizationLocationColumnDataProfilePath(organization: string, location: string, columnDataProfile: string): string;
|
|
3597
|
+
/**
|
|
3598
|
+
* Parse the organization from OrganizationLocationColumnDataProfile resource.
|
|
3599
|
+
*
|
|
3600
|
+
* @param {string} organizationLocationColumnDataProfileName
|
|
3601
|
+
* A fully-qualified path representing organization_location_column_data_profile resource.
|
|
3602
|
+
* @returns {string} A string representing the organization.
|
|
3603
|
+
*/
|
|
3604
|
+
matchOrganizationFromOrganizationLocationColumnDataProfileName(organizationLocationColumnDataProfileName: string): string | number;
|
|
3605
|
+
/**
|
|
3606
|
+
* Parse the location from OrganizationLocationColumnDataProfile resource.
|
|
3607
|
+
*
|
|
3608
|
+
* @param {string} organizationLocationColumnDataProfileName
|
|
3609
|
+
* A fully-qualified path representing organization_location_column_data_profile resource.
|
|
3610
|
+
* @returns {string} A string representing the location.
|
|
3611
|
+
*/
|
|
3612
|
+
matchLocationFromOrganizationLocationColumnDataProfileName(organizationLocationColumnDataProfileName: string): string | number;
|
|
3613
|
+
/**
|
|
3614
|
+
* Parse the column_data_profile from OrganizationLocationColumnDataProfile resource.
|
|
3615
|
+
*
|
|
3616
|
+
* @param {string} organizationLocationColumnDataProfileName
|
|
3617
|
+
* A fully-qualified path representing organization_location_column_data_profile resource.
|
|
3618
|
+
* @returns {string} A string representing the column_data_profile.
|
|
3619
|
+
*/
|
|
3620
|
+
matchColumnDataProfileFromOrganizationLocationColumnDataProfileName(organizationLocationColumnDataProfileName: string): string | number;
|
|
2770
3621
|
/**
|
|
2771
3622
|
* Return a fully-qualified organizationLocationDeidentifyTemplate resource name string.
|
|
2772
3623
|
*
|
|
@@ -2833,6 +3684,39 @@ export declare class DlpServiceClient {
|
|
|
2833
3684
|
* @returns {string} A string representing the inspect_template.
|
|
2834
3685
|
*/
|
|
2835
3686
|
matchInspectTemplateFromOrganizationLocationInspectTemplateName(organizationLocationInspectTemplateName: string): string | number;
|
|
3687
|
+
/**
|
|
3688
|
+
* Return a fully-qualified organizationLocationProjectDataProfile resource name string.
|
|
3689
|
+
*
|
|
3690
|
+
* @param {string} organization
|
|
3691
|
+
* @param {string} location
|
|
3692
|
+
* @param {string} project_data_profile
|
|
3693
|
+
* @returns {string} Resource name string.
|
|
3694
|
+
*/
|
|
3695
|
+
organizationLocationProjectDataProfilePath(organization: string, location: string, projectDataProfile: string): string;
|
|
3696
|
+
/**
|
|
3697
|
+
* Parse the organization from OrganizationLocationProjectDataProfile resource.
|
|
3698
|
+
*
|
|
3699
|
+
* @param {string} organizationLocationProjectDataProfileName
|
|
3700
|
+
* A fully-qualified path representing organization_location_project_data_profile resource.
|
|
3701
|
+
* @returns {string} A string representing the organization.
|
|
3702
|
+
*/
|
|
3703
|
+
matchOrganizationFromOrganizationLocationProjectDataProfileName(organizationLocationProjectDataProfileName: string): string | number;
|
|
3704
|
+
/**
|
|
3705
|
+
* Parse the location from OrganizationLocationProjectDataProfile resource.
|
|
3706
|
+
*
|
|
3707
|
+
* @param {string} organizationLocationProjectDataProfileName
|
|
3708
|
+
* A fully-qualified path representing organization_location_project_data_profile resource.
|
|
3709
|
+
* @returns {string} A string representing the location.
|
|
3710
|
+
*/
|
|
3711
|
+
matchLocationFromOrganizationLocationProjectDataProfileName(organizationLocationProjectDataProfileName: string): string | number;
|
|
3712
|
+
/**
|
|
3713
|
+
* Parse the project_data_profile from OrganizationLocationProjectDataProfile resource.
|
|
3714
|
+
*
|
|
3715
|
+
* @param {string} organizationLocationProjectDataProfileName
|
|
3716
|
+
* A fully-qualified path representing organization_location_project_data_profile resource.
|
|
3717
|
+
* @returns {string} A string representing the project_data_profile.
|
|
3718
|
+
*/
|
|
3719
|
+
matchProjectDataProfileFromOrganizationLocationProjectDataProfileName(organizationLocationProjectDataProfileName: string): string | number;
|
|
2836
3720
|
/**
|
|
2837
3721
|
* Return a fully-qualified organizationLocationStoredInfoType resource name string.
|
|
2838
3722
|
*
|
|
@@ -2866,6 +3750,39 @@ export declare class DlpServiceClient {
|
|
|
2866
3750
|
* @returns {string} A string representing the stored_info_type.
|
|
2867
3751
|
*/
|
|
2868
3752
|
matchStoredInfoTypeFromOrganizationLocationStoredInfoTypeName(organizationLocationStoredInfoTypeName: string): string | number;
|
|
3753
|
+
/**
|
|
3754
|
+
* Return a fully-qualified organizationLocationTableDataProfile resource name string.
|
|
3755
|
+
*
|
|
3756
|
+
* @param {string} organization
|
|
3757
|
+
* @param {string} location
|
|
3758
|
+
* @param {string} table_data_profile
|
|
3759
|
+
* @returns {string} Resource name string.
|
|
3760
|
+
*/
|
|
3761
|
+
organizationLocationTableDataProfilePath(organization: string, location: string, tableDataProfile: string): string;
|
|
3762
|
+
/**
|
|
3763
|
+
* Parse the organization from OrganizationLocationTableDataProfile resource.
|
|
3764
|
+
*
|
|
3765
|
+
* @param {string} organizationLocationTableDataProfileName
|
|
3766
|
+
* A fully-qualified path representing organization_location_table_data_profile resource.
|
|
3767
|
+
* @returns {string} A string representing the organization.
|
|
3768
|
+
*/
|
|
3769
|
+
matchOrganizationFromOrganizationLocationTableDataProfileName(organizationLocationTableDataProfileName: string): string | number;
|
|
3770
|
+
/**
|
|
3771
|
+
* Parse the location from OrganizationLocationTableDataProfile resource.
|
|
3772
|
+
*
|
|
3773
|
+
* @param {string} organizationLocationTableDataProfileName
|
|
3774
|
+
* A fully-qualified path representing organization_location_table_data_profile resource.
|
|
3775
|
+
* @returns {string} A string representing the location.
|
|
3776
|
+
*/
|
|
3777
|
+
matchLocationFromOrganizationLocationTableDataProfileName(organizationLocationTableDataProfileName: string): string | number;
|
|
3778
|
+
/**
|
|
3779
|
+
* Parse the table_data_profile from OrganizationLocationTableDataProfile resource.
|
|
3780
|
+
*
|
|
3781
|
+
* @param {string} organizationLocationTableDataProfileName
|
|
3782
|
+
* A fully-qualified path representing organization_location_table_data_profile resource.
|
|
3783
|
+
* @returns {string} A string representing the table_data_profile.
|
|
3784
|
+
*/
|
|
3785
|
+
matchTableDataProfileFromOrganizationLocationTableDataProfileName(organizationLocationTableDataProfileName: string): string | number;
|
|
2869
3786
|
/**
|
|
2870
3787
|
* Return a fully-qualified organizationStoredInfoType resource name string.
|
|
2871
3788
|
*
|
|
@@ -3016,6 +3933,39 @@ export declare class DlpServiceClient {
|
|
|
3016
3933
|
* @returns {string} A string representing the job_trigger.
|
|
3017
3934
|
*/
|
|
3018
3935
|
matchJobTriggerFromProjectJobTriggerName(projectJobTriggerName: string): string | number;
|
|
3936
|
+
/**
|
|
3937
|
+
* Return a fully-qualified projectLocationColumnDataProfile resource name string.
|
|
3938
|
+
*
|
|
3939
|
+
* @param {string} project
|
|
3940
|
+
* @param {string} location
|
|
3941
|
+
* @param {string} column_data_profile
|
|
3942
|
+
* @returns {string} Resource name string.
|
|
3943
|
+
*/
|
|
3944
|
+
projectLocationColumnDataProfilePath(project: string, location: string, columnDataProfile: string): string;
|
|
3945
|
+
/**
|
|
3946
|
+
* Parse the project from ProjectLocationColumnDataProfile resource.
|
|
3947
|
+
*
|
|
3948
|
+
* @param {string} projectLocationColumnDataProfileName
|
|
3949
|
+
* A fully-qualified path representing project_location_column_data_profile resource.
|
|
3950
|
+
* @returns {string} A string representing the project.
|
|
3951
|
+
*/
|
|
3952
|
+
matchProjectFromProjectLocationColumnDataProfileName(projectLocationColumnDataProfileName: string): string | number;
|
|
3953
|
+
/**
|
|
3954
|
+
* Parse the location from ProjectLocationColumnDataProfile resource.
|
|
3955
|
+
*
|
|
3956
|
+
* @param {string} projectLocationColumnDataProfileName
|
|
3957
|
+
* A fully-qualified path representing project_location_column_data_profile resource.
|
|
3958
|
+
* @returns {string} A string representing the location.
|
|
3959
|
+
*/
|
|
3960
|
+
matchLocationFromProjectLocationColumnDataProfileName(projectLocationColumnDataProfileName: string): string | number;
|
|
3961
|
+
/**
|
|
3962
|
+
* Parse the column_data_profile from ProjectLocationColumnDataProfile resource.
|
|
3963
|
+
*
|
|
3964
|
+
* @param {string} projectLocationColumnDataProfileName
|
|
3965
|
+
* A fully-qualified path representing project_location_column_data_profile resource.
|
|
3966
|
+
* @returns {string} A string representing the column_data_profile.
|
|
3967
|
+
*/
|
|
3968
|
+
matchColumnDataProfileFromProjectLocationColumnDataProfileName(projectLocationColumnDataProfileName: string): string | number;
|
|
3019
3969
|
/**
|
|
3020
3970
|
* Return a fully-qualified projectLocationDeidentifyTemplate resource name string.
|
|
3021
3971
|
*
|
|
@@ -3148,6 +4098,39 @@ export declare class DlpServiceClient {
|
|
|
3148
4098
|
* @returns {string} A string representing the job_trigger.
|
|
3149
4099
|
*/
|
|
3150
4100
|
matchJobTriggerFromProjectLocationJobTriggerName(projectLocationJobTriggerName: string): string | number;
|
|
4101
|
+
/**
|
|
4102
|
+
* Return a fully-qualified projectLocationProjectDataProfile resource name string.
|
|
4103
|
+
*
|
|
4104
|
+
* @param {string} project
|
|
4105
|
+
* @param {string} location
|
|
4106
|
+
* @param {string} project_data_profile
|
|
4107
|
+
* @returns {string} Resource name string.
|
|
4108
|
+
*/
|
|
4109
|
+
projectLocationProjectDataProfilePath(project: string, location: string, projectDataProfile: string): string;
|
|
4110
|
+
/**
|
|
4111
|
+
* Parse the project from ProjectLocationProjectDataProfile resource.
|
|
4112
|
+
*
|
|
4113
|
+
* @param {string} projectLocationProjectDataProfileName
|
|
4114
|
+
* A fully-qualified path representing project_location_project_data_profile resource.
|
|
4115
|
+
* @returns {string} A string representing the project.
|
|
4116
|
+
*/
|
|
4117
|
+
matchProjectFromProjectLocationProjectDataProfileName(projectLocationProjectDataProfileName: string): string | number;
|
|
4118
|
+
/**
|
|
4119
|
+
* Parse the location from ProjectLocationProjectDataProfile resource.
|
|
4120
|
+
*
|
|
4121
|
+
* @param {string} projectLocationProjectDataProfileName
|
|
4122
|
+
* A fully-qualified path representing project_location_project_data_profile resource.
|
|
4123
|
+
* @returns {string} A string representing the location.
|
|
4124
|
+
*/
|
|
4125
|
+
matchLocationFromProjectLocationProjectDataProfileName(projectLocationProjectDataProfileName: string): string | number;
|
|
4126
|
+
/**
|
|
4127
|
+
* Parse the project_data_profile from ProjectLocationProjectDataProfile resource.
|
|
4128
|
+
*
|
|
4129
|
+
* @param {string} projectLocationProjectDataProfileName
|
|
4130
|
+
* A fully-qualified path representing project_location_project_data_profile resource.
|
|
4131
|
+
* @returns {string} A string representing the project_data_profile.
|
|
4132
|
+
*/
|
|
4133
|
+
matchProjectDataProfileFromProjectLocationProjectDataProfileName(projectLocationProjectDataProfileName: string): string | number;
|
|
3151
4134
|
/**
|
|
3152
4135
|
* Return a fully-qualified projectLocationStoredInfoType resource name string.
|
|
3153
4136
|
*
|
|
@@ -3181,6 +4164,39 @@ export declare class DlpServiceClient {
|
|
|
3181
4164
|
* @returns {string} A string representing the stored_info_type.
|
|
3182
4165
|
*/
|
|
3183
4166
|
matchStoredInfoTypeFromProjectLocationStoredInfoTypeName(projectLocationStoredInfoTypeName: string): string | number;
|
|
4167
|
+
/**
|
|
4168
|
+
* Return a fully-qualified projectLocationTableDataProfile resource name string.
|
|
4169
|
+
*
|
|
4170
|
+
* @param {string} project
|
|
4171
|
+
* @param {string} location
|
|
4172
|
+
* @param {string} table_data_profile
|
|
4173
|
+
* @returns {string} Resource name string.
|
|
4174
|
+
*/
|
|
4175
|
+
projectLocationTableDataProfilePath(project: string, location: string, tableDataProfile: string): string;
|
|
4176
|
+
/**
|
|
4177
|
+
* Parse the project from ProjectLocationTableDataProfile resource.
|
|
4178
|
+
*
|
|
4179
|
+
* @param {string} projectLocationTableDataProfileName
|
|
4180
|
+
* A fully-qualified path representing project_location_table_data_profile resource.
|
|
4181
|
+
* @returns {string} A string representing the project.
|
|
4182
|
+
*/
|
|
4183
|
+
matchProjectFromProjectLocationTableDataProfileName(projectLocationTableDataProfileName: string): string | number;
|
|
4184
|
+
/**
|
|
4185
|
+
* Parse the location from ProjectLocationTableDataProfile resource.
|
|
4186
|
+
*
|
|
4187
|
+
* @param {string} projectLocationTableDataProfileName
|
|
4188
|
+
* A fully-qualified path representing project_location_table_data_profile resource.
|
|
4189
|
+
* @returns {string} A string representing the location.
|
|
4190
|
+
*/
|
|
4191
|
+
matchLocationFromProjectLocationTableDataProfileName(projectLocationTableDataProfileName: string): string | number;
|
|
4192
|
+
/**
|
|
4193
|
+
* Parse the table_data_profile from ProjectLocationTableDataProfile resource.
|
|
4194
|
+
*
|
|
4195
|
+
* @param {string} projectLocationTableDataProfileName
|
|
4196
|
+
* A fully-qualified path representing project_location_table_data_profile resource.
|
|
4197
|
+
* @returns {string} A string representing the table_data_profile.
|
|
4198
|
+
*/
|
|
4199
|
+
matchTableDataProfileFromProjectLocationTableDataProfileName(projectLocationTableDataProfileName: string): string | number;
|
|
3184
4200
|
/**
|
|
3185
4201
|
* Return a fully-qualified projectStoredInfoType resource name string.
|
|
3186
4202
|
*
|