@google-cloud/dlp 5.1.1 → 5.3.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 +2108 -17
- package/build/protos/protos.js +10644 -4862
- package/build/protos/protos.json +710 -17
- package/build/src/index.js +1 -1
- package/build/src/v2/dlp_service_client.d.ts +1156 -131
- package/build/src/v2/dlp_service_client.js +1079 -88
- package/build/src/v2/dlp_service_client_config.json +30 -0
- package/build/src/v2/index.js +1 -1
- 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
|
*/
|
|
@@ -24,6 +24,8 @@ export declare class DlpServiceClient {
|
|
|
24
24
|
private _gaxGrpc;
|
|
25
25
|
private _protos;
|
|
26
26
|
private _defaults;
|
|
27
|
+
private _universeDomain;
|
|
28
|
+
private _servicePath;
|
|
27
29
|
auth: gax.GoogleAuth;
|
|
28
30
|
descriptors: Descriptors;
|
|
29
31
|
warn: (code: string, message: string, warnType?: string) => void;
|
|
@@ -93,15 +95,22 @@ export declare class DlpServiceClient {
|
|
|
93
95
|
}>;
|
|
94
96
|
/**
|
|
95
97
|
* The DNS address for this API service.
|
|
98
|
+
* @deprecated Use the apiEndpoint method of the client instance.
|
|
96
99
|
* @returns {string} The DNS address for this service.
|
|
97
100
|
*/
|
|
98
101
|
static get servicePath(): string;
|
|
99
102
|
/**
|
|
100
|
-
* The DNS address for this API service - same as servicePath
|
|
101
|
-
*
|
|
103
|
+
* The DNS address for this API service - same as servicePath.
|
|
104
|
+
* @deprecated Use the apiEndpoint method of the client instance.
|
|
102
105
|
* @returns {string} The DNS address for this service.
|
|
103
106
|
*/
|
|
104
107
|
static get apiEndpoint(): string;
|
|
108
|
+
/**
|
|
109
|
+
* The DNS address for this API service.
|
|
110
|
+
* @returns {string} The DNS address for this service.
|
|
111
|
+
*/
|
|
112
|
+
get apiEndpoint(): string;
|
|
113
|
+
get universeDomain(): string;
|
|
105
114
|
/**
|
|
106
115
|
* The port for this API service.
|
|
107
116
|
* @returns {number} The default port for this service.
|
|
@@ -123,8 +132,10 @@ export declare class DlpServiceClient {
|
|
|
123
132
|
* system will automatically choose what detectors to run. By default this may
|
|
124
133
|
* be all types, but may change over time as detectors are updated.
|
|
125
134
|
*
|
|
126
|
-
* For how to guides, see
|
|
127
|
-
*
|
|
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,
|
|
128
139
|
*
|
|
129
140
|
* @param {Object} request
|
|
130
141
|
* The request object that will be sent.
|
|
@@ -133,7 +144,7 @@ export declare class DlpServiceClient {
|
|
|
133
144
|
*
|
|
134
145
|
* The format of this value varies depending on whether you have [specified a
|
|
135
146
|
* processing
|
|
136
|
-
* location](https://cloud.google.com/
|
|
147
|
+
* location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
|
|
137
148
|
*
|
|
138
149
|
* + Projects scope, location specified:<br/>
|
|
139
150
|
* `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
|
@@ -177,8 +188,9 @@ export declare class DlpServiceClient {
|
|
|
177
188
|
/**
|
|
178
189
|
* Redacts potentially sensitive info from an image.
|
|
179
190
|
* This method has limits on input size, processing time, and output size.
|
|
180
|
-
* See
|
|
181
|
-
*
|
|
191
|
+
* See
|
|
192
|
+
* https://cloud.google.com/sensitive-data-protection/docs/redacting-sensitive-data-images
|
|
193
|
+
* to learn more.
|
|
182
194
|
*
|
|
183
195
|
* When no InfoTypes or CustomInfoTypes are specified in this request, the
|
|
184
196
|
* system will automatically choose what detectors to run. By default this may
|
|
@@ -191,7 +203,7 @@ export declare class DlpServiceClient {
|
|
|
191
203
|
*
|
|
192
204
|
* The format of this value varies depending on whether you have [specified a
|
|
193
205
|
* processing
|
|
194
|
-
* location](https://cloud.google.com/
|
|
206
|
+
* location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
|
|
195
207
|
*
|
|
196
208
|
* + Projects scope, location specified:<br/>
|
|
197
209
|
* `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
|
@@ -233,8 +245,9 @@ export declare class DlpServiceClient {
|
|
|
233
245
|
/**
|
|
234
246
|
* De-identifies potentially sensitive info from a ContentItem.
|
|
235
247
|
* This method has limits on input size and output size.
|
|
236
|
-
* See
|
|
237
|
-
*
|
|
248
|
+
* See
|
|
249
|
+
* https://cloud.google.com/sensitive-data-protection/docs/deidentify-sensitive-data
|
|
250
|
+
* to learn more.
|
|
238
251
|
*
|
|
239
252
|
* When no InfoTypes or CustomInfoTypes are specified in this request, the
|
|
240
253
|
* system will automatically choose what detectors to run. By default this may
|
|
@@ -247,7 +260,7 @@ export declare class DlpServiceClient {
|
|
|
247
260
|
*
|
|
248
261
|
* The format of this value varies depending on whether you have [specified a
|
|
249
262
|
* processing
|
|
250
|
-
* location](https://cloud.google.com/
|
|
263
|
+
* location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
|
|
251
264
|
*
|
|
252
265
|
* + Projects scope, location specified:<br/>
|
|
253
266
|
* `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
|
@@ -309,7 +322,7 @@ export declare class DlpServiceClient {
|
|
|
309
322
|
/**
|
|
310
323
|
* Re-identifies content that has been de-identified.
|
|
311
324
|
* See
|
|
312
|
-
* https://cloud.google.com/
|
|
325
|
+
* https://cloud.google.com/sensitive-data-protection/docs/pseudonymization#re-identification_in_free_text_code_example
|
|
313
326
|
* to learn more.
|
|
314
327
|
*
|
|
315
328
|
* @param {Object} request
|
|
@@ -319,7 +332,7 @@ export declare class DlpServiceClient {
|
|
|
319
332
|
*
|
|
320
333
|
* The format of this value varies depending on whether you have [specified a
|
|
321
334
|
* processing
|
|
322
|
-
* location](https://cloud.google.com/
|
|
335
|
+
* location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
|
|
323
336
|
*
|
|
324
337
|
* + Projects scope, location specified:<br/>
|
|
325
338
|
* `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
|
@@ -380,8 +393,9 @@ export declare class DlpServiceClient {
|
|
|
380
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;
|
|
381
394
|
/**
|
|
382
395
|
* Returns a list of the sensitive information types that DLP API
|
|
383
|
-
* supports. See
|
|
384
|
-
*
|
|
396
|
+
* supports. See
|
|
397
|
+
* https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference
|
|
398
|
+
* to learn more.
|
|
385
399
|
*
|
|
386
400
|
* @param {Object} request
|
|
387
401
|
* The request object that will be sent.
|
|
@@ -419,7 +433,9 @@ export declare class DlpServiceClient {
|
|
|
419
433
|
/**
|
|
420
434
|
* Creates an InspectTemplate for reusing frequently used configuration
|
|
421
435
|
* for inspecting content, images, and storage.
|
|
422
|
-
* See
|
|
436
|
+
* See
|
|
437
|
+
* https://cloud.google.com/sensitive-data-protection/docs/creating-templates
|
|
438
|
+
* to learn more.
|
|
423
439
|
*
|
|
424
440
|
* @param {Object} request
|
|
425
441
|
* The request object that will be sent.
|
|
@@ -428,7 +444,7 @@ export declare class DlpServiceClient {
|
|
|
428
444
|
*
|
|
429
445
|
* The format of this value varies depending on the scope of the request
|
|
430
446
|
* (project or organization) and whether you have [specified a processing
|
|
431
|
-
* location](https://cloud.google.com/
|
|
447
|
+
* location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
|
|
432
448
|
*
|
|
433
449
|
* + Projects scope, location specified:<br/>
|
|
434
450
|
* `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
|
@@ -471,7 +487,9 @@ export declare class DlpServiceClient {
|
|
|
471
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;
|
|
472
488
|
/**
|
|
473
489
|
* Updates the InspectTemplate.
|
|
474
|
-
* See
|
|
490
|
+
* See
|
|
491
|
+
* https://cloud.google.com/sensitive-data-protection/docs/creating-templates
|
|
492
|
+
* to learn more.
|
|
475
493
|
*
|
|
476
494
|
* @param {Object} request
|
|
477
495
|
* The request object that will be sent.
|
|
@@ -501,7 +519,9 @@ export declare class DlpServiceClient {
|
|
|
501
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;
|
|
502
520
|
/**
|
|
503
521
|
* Gets an InspectTemplate.
|
|
504
|
-
* See
|
|
522
|
+
* See
|
|
523
|
+
* https://cloud.google.com/sensitive-data-protection/docs/creating-templates
|
|
524
|
+
* to learn more.
|
|
505
525
|
*
|
|
506
526
|
* @param {Object} request
|
|
507
527
|
* The request object that will be sent.
|
|
@@ -527,7 +547,9 @@ export declare class DlpServiceClient {
|
|
|
527
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;
|
|
528
548
|
/**
|
|
529
549
|
* Deletes an InspectTemplate.
|
|
530
|
-
* See
|
|
550
|
+
* See
|
|
551
|
+
* https://cloud.google.com/sensitive-data-protection/docs/creating-templates
|
|
552
|
+
* to learn more.
|
|
531
553
|
*
|
|
532
554
|
* @param {Object} request
|
|
533
555
|
* The request object that will be sent.
|
|
@@ -554,8 +576,9 @@ export declare class DlpServiceClient {
|
|
|
554
576
|
/**
|
|
555
577
|
* Creates a DeidentifyTemplate for reusing frequently used configuration
|
|
556
578
|
* for de-identifying content, images, and storage.
|
|
557
|
-
* See
|
|
558
|
-
*
|
|
579
|
+
* See
|
|
580
|
+
* https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid
|
|
581
|
+
* to learn more.
|
|
559
582
|
*
|
|
560
583
|
* @param {Object} request
|
|
561
584
|
* The request object that will be sent.
|
|
@@ -564,7 +587,7 @@ export declare class DlpServiceClient {
|
|
|
564
587
|
*
|
|
565
588
|
* The format of this value varies depending on the scope of the request
|
|
566
589
|
* (project or organization) and whether you have [specified a processing
|
|
567
|
-
* location](https://cloud.google.com/
|
|
590
|
+
* location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
|
|
568
591
|
*
|
|
569
592
|
* + Projects scope, location specified:<br/>
|
|
570
593
|
* `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
|
@@ -607,8 +630,9 @@ export declare class DlpServiceClient {
|
|
|
607
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;
|
|
608
631
|
/**
|
|
609
632
|
* Updates the DeidentifyTemplate.
|
|
610
|
-
* See
|
|
611
|
-
*
|
|
633
|
+
* See
|
|
634
|
+
* https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid
|
|
635
|
+
* to learn more.
|
|
612
636
|
*
|
|
613
637
|
* @param {Object} request
|
|
614
638
|
* The request object that will be sent.
|
|
@@ -639,8 +663,9 @@ export declare class DlpServiceClient {
|
|
|
639
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;
|
|
640
664
|
/**
|
|
641
665
|
* Gets a DeidentifyTemplate.
|
|
642
|
-
* See
|
|
643
|
-
*
|
|
666
|
+
* See
|
|
667
|
+
* https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid
|
|
668
|
+
* to learn more.
|
|
644
669
|
*
|
|
645
670
|
* @param {Object} request
|
|
646
671
|
* The request object that will be sent.
|
|
@@ -666,8 +691,9 @@ export declare class DlpServiceClient {
|
|
|
666
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;
|
|
667
692
|
/**
|
|
668
693
|
* Deletes a DeidentifyTemplate.
|
|
669
|
-
* See
|
|
670
|
-
*
|
|
694
|
+
* See
|
|
695
|
+
* https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid
|
|
696
|
+
* to learn more.
|
|
671
697
|
*
|
|
672
698
|
* @param {Object} request
|
|
673
699
|
* The request object that will be sent.
|
|
@@ -695,7 +721,9 @@ export declare class DlpServiceClient {
|
|
|
695
721
|
/**
|
|
696
722
|
* Creates a job trigger to run DLP actions such as scanning storage for
|
|
697
723
|
* sensitive information on a set schedule.
|
|
698
|
-
* See
|
|
724
|
+
* See
|
|
725
|
+
* https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers
|
|
726
|
+
* to learn more.
|
|
699
727
|
*
|
|
700
728
|
* @param {Object} request
|
|
701
729
|
* The request object that will be sent.
|
|
@@ -704,7 +732,7 @@ export declare class DlpServiceClient {
|
|
|
704
732
|
*
|
|
705
733
|
* The format of this value varies depending on whether you have [specified a
|
|
706
734
|
* processing
|
|
707
|
-
* location](https://cloud.google.com/
|
|
735
|
+
* location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
|
|
708
736
|
*
|
|
709
737
|
* + Projects scope, location specified:<br/>
|
|
710
738
|
* `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
|
@@ -743,7 +771,9 @@ export declare class DlpServiceClient {
|
|
|
743
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;
|
|
744
772
|
/**
|
|
745
773
|
* Updates a job trigger.
|
|
746
|
-
* See
|
|
774
|
+
* See
|
|
775
|
+
* https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers
|
|
776
|
+
* to learn more.
|
|
747
777
|
*
|
|
748
778
|
* @param {Object} request
|
|
749
779
|
* The request object that will be sent.
|
|
@@ -800,7 +830,9 @@ export declare class DlpServiceClient {
|
|
|
800
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;
|
|
801
831
|
/**
|
|
802
832
|
* Gets a job trigger.
|
|
803
|
-
* See
|
|
833
|
+
* See
|
|
834
|
+
* https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers
|
|
835
|
+
* to learn more.
|
|
804
836
|
*
|
|
805
837
|
* @param {Object} request
|
|
806
838
|
* The request object that will be sent.
|
|
@@ -825,7 +857,9 @@ export declare class DlpServiceClient {
|
|
|
825
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;
|
|
826
858
|
/**
|
|
827
859
|
* Deletes a job trigger.
|
|
828
|
-
* See
|
|
860
|
+
* See
|
|
861
|
+
* https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers
|
|
862
|
+
* to learn more.
|
|
829
863
|
*
|
|
830
864
|
* @param {Object} request
|
|
831
865
|
* The request object that will be sent.
|
|
@@ -990,8 +1024,11 @@ export declare class DlpServiceClient {
|
|
|
990
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;
|
|
991
1025
|
/**
|
|
992
1026
|
* Creates a new job to inspect storage or calculate risk metrics.
|
|
993
|
-
* See
|
|
994
|
-
* 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.
|
|
995
1032
|
*
|
|
996
1033
|
* When no InfoTypes or CustomInfoTypes are specified in inspect jobs, the
|
|
997
1034
|
* system will automatically choose what detectors to run. By default this may
|
|
@@ -1004,7 +1041,7 @@ export declare class DlpServiceClient {
|
|
|
1004
1041
|
*
|
|
1005
1042
|
* The format of this value varies depending on whether you have [specified a
|
|
1006
1043
|
* processing
|
|
1007
|
-
* location](https://cloud.google.com/
|
|
1044
|
+
* location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
|
|
1008
1045
|
*
|
|
1009
1046
|
* + Projects scope, location specified:<br/>
|
|
1010
1047
|
* `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
|
@@ -1046,8 +1083,11 @@ export declare class DlpServiceClient {
|
|
|
1046
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;
|
|
1047
1084
|
/**
|
|
1048
1085
|
* Gets the latest state of a long-running DlpJob.
|
|
1049
|
-
* See
|
|
1050
|
-
* 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.
|
|
1051
1091
|
*
|
|
1052
1092
|
* @param {Object} request
|
|
1053
1093
|
* The request object that will be sent.
|
|
@@ -1073,8 +1113,11 @@ export declare class DlpServiceClient {
|
|
|
1073
1113
|
* Deletes a long-running DlpJob. This method indicates that the client is
|
|
1074
1114
|
* no longer interested in the DlpJob result. The job will be canceled if
|
|
1075
1115
|
* possible.
|
|
1076
|
-
* See
|
|
1077
|
-
* 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.
|
|
1078
1121
|
*
|
|
1079
1122
|
* @param {Object} request
|
|
1080
1123
|
* The request object that will be sent.
|
|
@@ -1100,8 +1143,11 @@ export declare class DlpServiceClient {
|
|
|
1100
1143
|
* Starts asynchronous cancellation on a long-running DlpJob. The server
|
|
1101
1144
|
* makes a best effort to cancel the DlpJob, but success is not
|
|
1102
1145
|
* guaranteed.
|
|
1103
|
-
* See
|
|
1104
|
-
* 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.
|
|
1105
1151
|
*
|
|
1106
1152
|
* @param {Object} request
|
|
1107
1153
|
* The request object that will be sent.
|
|
@@ -1125,8 +1171,9 @@ export declare class DlpServiceClient {
|
|
|
1125
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;
|
|
1126
1172
|
/**
|
|
1127
1173
|
* Creates a pre-built stored infoType to be used for inspection.
|
|
1128
|
-
* See
|
|
1129
|
-
*
|
|
1174
|
+
* See
|
|
1175
|
+
* https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes
|
|
1176
|
+
* to learn more.
|
|
1130
1177
|
*
|
|
1131
1178
|
* @param {Object} request
|
|
1132
1179
|
* The request object that will be sent.
|
|
@@ -1135,7 +1182,7 @@ export declare class DlpServiceClient {
|
|
|
1135
1182
|
*
|
|
1136
1183
|
* The format of this value varies depending on the scope of the request
|
|
1137
1184
|
* (project or organization) and whether you have [specified a processing
|
|
1138
|
-
* location](https://cloud.google.com/
|
|
1185
|
+
* location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
|
|
1139
1186
|
*
|
|
1140
1187
|
* + Projects scope, location specified:<br/>
|
|
1141
1188
|
* `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
|
@@ -1179,8 +1226,9 @@ export declare class DlpServiceClient {
|
|
|
1179
1226
|
/**
|
|
1180
1227
|
* Updates the stored infoType by creating a new version. The existing version
|
|
1181
1228
|
* will continue to be used until the new version is ready.
|
|
1182
|
-
* See
|
|
1183
|
-
*
|
|
1229
|
+
* See
|
|
1230
|
+
* https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes
|
|
1231
|
+
* to learn more.
|
|
1184
1232
|
*
|
|
1185
1233
|
* @param {Object} request
|
|
1186
1234
|
* The request object that will be sent.
|
|
@@ -1212,8 +1260,9 @@ export declare class DlpServiceClient {
|
|
|
1212
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;
|
|
1213
1261
|
/**
|
|
1214
1262
|
* Gets a stored infoType.
|
|
1215
|
-
* See
|
|
1216
|
-
*
|
|
1263
|
+
* See
|
|
1264
|
+
* https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes
|
|
1265
|
+
* to learn more.
|
|
1217
1266
|
*
|
|
1218
1267
|
* @param {Object} request
|
|
1219
1268
|
* The request object that will be sent.
|
|
@@ -1239,8 +1288,9 @@ export declare class DlpServiceClient {
|
|
|
1239
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;
|
|
1240
1289
|
/**
|
|
1241
1290
|
* Deletes a stored infoType.
|
|
1242
|
-
* See
|
|
1243
|
-
*
|
|
1291
|
+
* See
|
|
1292
|
+
* https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes
|
|
1293
|
+
* to learn more.
|
|
1244
1294
|
*
|
|
1245
1295
|
* @param {Object} request
|
|
1246
1296
|
* The request object that will be sent.
|
|
@@ -1264,6 +1314,78 @@ export declare class DlpServiceClient {
|
|
|
1264
1314
|
]>;
|
|
1265
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;
|
|
1266
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;
|
|
1267
1389
|
/**
|
|
1268
1390
|
* Inspect hybrid content and store findings to a job.
|
|
1269
1391
|
* To review the findings, inspect the job. Inspection will occur
|
|
@@ -1299,7 +1421,7 @@ export declare class DlpServiceClient {
|
|
|
1299
1421
|
* @param {Object} request
|
|
1300
1422
|
* The request object that will be sent.
|
|
1301
1423
|
* @param {string} request.name
|
|
1302
|
-
* Required. The name of the DlpJob resource to be
|
|
1424
|
+
* Required. The name of the DlpJob resource to be finished.
|
|
1303
1425
|
* @param {object} [options]
|
|
1304
1426
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
1305
1427
|
* @returns {Promise} - The promise which resolves to an array.
|
|
@@ -1318,7 +1440,9 @@ export declare class DlpServiceClient {
|
|
|
1318
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;
|
|
1319
1441
|
/**
|
|
1320
1442
|
* Lists InspectTemplates.
|
|
1321
|
-
* See
|
|
1443
|
+
* See
|
|
1444
|
+
* https://cloud.google.com/sensitive-data-protection/docs/creating-templates
|
|
1445
|
+
* to learn more.
|
|
1322
1446
|
*
|
|
1323
1447
|
* @param {Object} request
|
|
1324
1448
|
* The request object that will be sent.
|
|
@@ -1327,7 +1451,7 @@ export declare class DlpServiceClient {
|
|
|
1327
1451
|
*
|
|
1328
1452
|
* The format of this value varies depending on the scope of the request
|
|
1329
1453
|
* (project or organization) and whether you have [specified a processing
|
|
1330
|
-
* location](https://cloud.google.com/
|
|
1454
|
+
* location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
|
|
1331
1455
|
*
|
|
1332
1456
|
* + Projects scope, location specified:<br/>
|
|
1333
1457
|
* `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
|
@@ -1393,7 +1517,7 @@ export declare class DlpServiceClient {
|
|
|
1393
1517
|
*
|
|
1394
1518
|
* The format of this value varies depending on the scope of the request
|
|
1395
1519
|
* (project or organization) and whether you have [specified a processing
|
|
1396
|
-
* location](https://cloud.google.com/
|
|
1520
|
+
* location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
|
|
1397
1521
|
*
|
|
1398
1522
|
* + Projects scope, location specified:<br/>
|
|
1399
1523
|
* `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
|
@@ -1454,7 +1578,7 @@ export declare class DlpServiceClient {
|
|
|
1454
1578
|
*
|
|
1455
1579
|
* The format of this value varies depending on the scope of the request
|
|
1456
1580
|
* (project or organization) and whether you have [specified a processing
|
|
1457
|
-
* location](https://cloud.google.com/
|
|
1581
|
+
* location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
|
|
1458
1582
|
*
|
|
1459
1583
|
* + Projects scope, location specified:<br/>
|
|
1460
1584
|
* `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
|
@@ -1507,8 +1631,9 @@ export declare class DlpServiceClient {
|
|
|
1507
1631
|
listInspectTemplatesAsync(request?: protos.google.privacy.dlp.v2.IListInspectTemplatesRequest, options?: CallOptions): AsyncIterable<protos.google.privacy.dlp.v2.IInspectTemplate>;
|
|
1508
1632
|
/**
|
|
1509
1633
|
* Lists DeidentifyTemplates.
|
|
1510
|
-
* See
|
|
1511
|
-
*
|
|
1634
|
+
* See
|
|
1635
|
+
* https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid
|
|
1636
|
+
* to learn more.
|
|
1512
1637
|
*
|
|
1513
1638
|
* @param {Object} request
|
|
1514
1639
|
* The request object that will be sent.
|
|
@@ -1517,7 +1642,7 @@ export declare class DlpServiceClient {
|
|
|
1517
1642
|
*
|
|
1518
1643
|
* The format of this value varies depending on the scope of the request
|
|
1519
1644
|
* (project or organization) and whether you have [specified a processing
|
|
1520
|
-
* location](https://cloud.google.com/
|
|
1645
|
+
* location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
|
|
1521
1646
|
*
|
|
1522
1647
|
* + Projects scope, location specified:<br/>
|
|
1523
1648
|
* `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
|
@@ -1583,7 +1708,7 @@ export declare class DlpServiceClient {
|
|
|
1583
1708
|
*
|
|
1584
1709
|
* The format of this value varies depending on the scope of the request
|
|
1585
1710
|
* (project or organization) and whether you have [specified a processing
|
|
1586
|
-
* location](https://cloud.google.com/
|
|
1711
|
+
* location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
|
|
1587
1712
|
*
|
|
1588
1713
|
* + Projects scope, location specified:<br/>
|
|
1589
1714
|
* `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
|
@@ -1644,7 +1769,7 @@ export declare class DlpServiceClient {
|
|
|
1644
1769
|
*
|
|
1645
1770
|
* The format of this value varies depending on the scope of the request
|
|
1646
1771
|
* (project or organization) and whether you have [specified a processing
|
|
1647
|
-
* location](https://cloud.google.com/
|
|
1772
|
+
* location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
|
|
1648
1773
|
*
|
|
1649
1774
|
* + Projects scope, location specified:<br/>
|
|
1650
1775
|
* `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
|
@@ -1697,7 +1822,9 @@ export declare class DlpServiceClient {
|
|
|
1697
1822
|
listDeidentifyTemplatesAsync(request?: protos.google.privacy.dlp.v2.IListDeidentifyTemplatesRequest, options?: CallOptions): AsyncIterable<protos.google.privacy.dlp.v2.IDeidentifyTemplate>;
|
|
1698
1823
|
/**
|
|
1699
1824
|
* Lists job triggers.
|
|
1700
|
-
* See
|
|
1825
|
+
* See
|
|
1826
|
+
* https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers
|
|
1827
|
+
* to learn more.
|
|
1701
1828
|
*
|
|
1702
1829
|
* @param {Object} request
|
|
1703
1830
|
* The request object that will be sent.
|
|
@@ -1706,7 +1833,7 @@ export declare class DlpServiceClient {
|
|
|
1706
1833
|
*
|
|
1707
1834
|
* The format of this value varies depending on whether you have [specified a
|
|
1708
1835
|
* processing
|
|
1709
|
-
* location](https://cloud.google.com/
|
|
1836
|
+
* location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
|
|
1710
1837
|
*
|
|
1711
1838
|
* + Projects scope, location specified:<br/>
|
|
1712
1839
|
* `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
|
@@ -1797,7 +1924,7 @@ export declare class DlpServiceClient {
|
|
|
1797
1924
|
*
|
|
1798
1925
|
* The format of this value varies depending on whether you have [specified a
|
|
1799
1926
|
* processing
|
|
1800
|
-
* location](https://cloud.google.com/
|
|
1927
|
+
* location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
|
|
1801
1928
|
*
|
|
1802
1929
|
* + Projects scope, location specified:<br/>
|
|
1803
1930
|
* `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
|
@@ -1883,7 +2010,7 @@ export declare class DlpServiceClient {
|
|
|
1883
2010
|
*
|
|
1884
2011
|
* The format of this value varies depending on whether you have [specified a
|
|
1885
2012
|
* processing
|
|
1886
|
-
* location](https://cloud.google.com/
|
|
2013
|
+
* location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
|
|
1887
2014
|
*
|
|
1888
2015
|
* + Projects scope, location specified:<br/>
|
|
1889
2016
|
* `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
|
@@ -2110,8 +2237,11 @@ export declare class DlpServiceClient {
|
|
|
2110
2237
|
listDiscoveryConfigsAsync(request?: protos.google.privacy.dlp.v2.IListDiscoveryConfigsRequest, options?: CallOptions): AsyncIterable<protos.google.privacy.dlp.v2.IDiscoveryConfig>;
|
|
2111
2238
|
/**
|
|
2112
2239
|
* Lists DlpJobs that match the specified filter in the request.
|
|
2113
|
-
* See
|
|
2114
|
-
* 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.
|
|
2115
2245
|
*
|
|
2116
2246
|
* @param {Object} request
|
|
2117
2247
|
* The request object that will be sent.
|
|
@@ -2120,7 +2250,7 @@ export declare class DlpServiceClient {
|
|
|
2120
2250
|
*
|
|
2121
2251
|
* The format of this value varies depending on whether you have [specified a
|
|
2122
2252
|
* processing
|
|
2123
|
-
* location](https://cloud.google.com/
|
|
2253
|
+
* location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
|
|
2124
2254
|
*
|
|
2125
2255
|
* + Projects scope, location specified:<br/>
|
|
2126
2256
|
* `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
|
@@ -2211,7 +2341,7 @@ export declare class DlpServiceClient {
|
|
|
2211
2341
|
*
|
|
2212
2342
|
* The format of this value varies depending on whether you have [specified a
|
|
2213
2343
|
* processing
|
|
2214
|
-
* location](https://cloud.google.com/
|
|
2344
|
+
* location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
|
|
2215
2345
|
*
|
|
2216
2346
|
* + Projects scope, location specified:<br/>
|
|
2217
2347
|
* `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
|
@@ -2297,7 +2427,7 @@ export declare class DlpServiceClient {
|
|
|
2297
2427
|
*
|
|
2298
2428
|
* The format of this value varies depending on whether you have [specified a
|
|
2299
2429
|
* processing
|
|
2300
|
-
* location](https://cloud.google.com/
|
|
2430
|
+
* location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
|
|
2301
2431
|
*
|
|
2302
2432
|
* + Projects scope, location specified:<br/>
|
|
2303
2433
|
* `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
|
@@ -2375,8 +2505,9 @@ export declare class DlpServiceClient {
|
|
|
2375
2505
|
listDlpJobsAsync(request?: protos.google.privacy.dlp.v2.IListDlpJobsRequest, options?: CallOptions): AsyncIterable<protos.google.privacy.dlp.v2.IDlpJob>;
|
|
2376
2506
|
/**
|
|
2377
2507
|
* Lists stored infoTypes.
|
|
2378
|
-
* See
|
|
2379
|
-
*
|
|
2508
|
+
* See
|
|
2509
|
+
* https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes
|
|
2510
|
+
* to learn more.
|
|
2380
2511
|
*
|
|
2381
2512
|
* @param {Object} request
|
|
2382
2513
|
* The request object that will be sent.
|
|
@@ -2385,7 +2516,7 @@ export declare class DlpServiceClient {
|
|
|
2385
2516
|
*
|
|
2386
2517
|
* The format of this value varies depending on the scope of the request
|
|
2387
2518
|
* (project or organization) and whether you have [specified a processing
|
|
2388
|
-
* location](https://cloud.google.com/
|
|
2519
|
+
* location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
|
|
2389
2520
|
*
|
|
2390
2521
|
* + Projects scope, location specified:<br/>
|
|
2391
2522
|
* `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
|
@@ -2448,7 +2579,7 @@ export declare class DlpServiceClient {
|
|
|
2448
2579
|
*
|
|
2449
2580
|
* The format of this value varies depending on the scope of the request
|
|
2450
2581
|
* (project or organization) and whether you have [specified a processing
|
|
2451
|
-
* location](https://cloud.google.com/
|
|
2582
|
+
* location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
|
|
2452
2583
|
*
|
|
2453
2584
|
* + Projects scope, location specified:<br/>
|
|
2454
2585
|
* `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
|
@@ -2506,7 +2637,7 @@ export declare class DlpServiceClient {
|
|
|
2506
2637
|
*
|
|
2507
2638
|
* The format of this value varies depending on the scope of the request
|
|
2508
2639
|
* (project or organization) and whether you have [specified a processing
|
|
2509
|
-
* location](https://cloud.google.com/
|
|
2640
|
+
* location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location):
|
|
2510
2641
|
*
|
|
2511
2642
|
* + Projects scope, location specified:<br/>
|
|
2512
2643
|
* `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
|
@@ -2555,87 +2686,759 @@ export declare class DlpServiceClient {
|
|
|
2555
2686
|
*/
|
|
2556
2687
|
listStoredInfoTypesAsync(request?: protos.google.privacy.dlp.v2.IListStoredInfoTypesRequest, options?: CallOptions): AsyncIterable<protos.google.privacy.dlp.v2.IStoredInfoType>;
|
|
2557
2688
|
/**
|
|
2558
|
-
*
|
|
2689
|
+
* Lists data profiles for an organization.
|
|
2559
2690
|
*
|
|
2560
2691
|
* @param {Object} request
|
|
2561
2692
|
* The request object that will be sent.
|
|
2562
|
-
* @param {string} request.
|
|
2563
|
-
*
|
|
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.
|
|
2564
2739
|
* @param {object} [options]
|
|
2565
|
-
* 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.
|
|
2566
2741
|
* @returns {Promise} - The promise which resolves to an array.
|
|
2567
|
-
* The first element of the array is
|
|
2568
|
-
*
|
|
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 }
|
|
2569
2749
|
* for more details and examples.
|
|
2570
|
-
* @example
|
|
2571
|
-
* ```
|
|
2572
|
-
* const [response] = await client.getLocation(request);
|
|
2573
|
-
* ```
|
|
2574
2750
|
*/
|
|
2575
|
-
|
|
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;
|
|
2576
2758
|
/**
|
|
2577
|
-
*
|
|
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.
|
|
2578
2822
|
*
|
|
2579
2823
|
* `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
|
|
2580
2824
|
* @param {Object} request
|
|
2581
2825
|
* The request object that will be sent.
|
|
2582
|
-
* @param {string} request.
|
|
2583
|
-
*
|
|
2584
|
-
* @param {string} request.filter
|
|
2585
|
-
* The standard list filter.
|
|
2586
|
-
* @param {number} request.pageSize
|
|
2587
|
-
* The standard list page size.
|
|
2826
|
+
* @param {string} request.parent
|
|
2827
|
+
* Required. organizations/{org_id}/locations/{loc_id}
|
|
2588
2828
|
* @param {string} request.pageToken
|
|
2589
|
-
*
|
|
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.
|
|
2590
2872
|
* @param {object} [options]
|
|
2591
2873
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
2592
2874
|
* @returns {Object}
|
|
2593
2875
|
* An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
|
|
2594
2876
|
* When you iterate the returned iterable, each element will be an object representing
|
|
2595
|
-
* {@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,
|
|
2596
2878
|
* so you can stop the iteration when you don't need more results.
|
|
2597
2879
|
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
|
|
2598
2880
|
* for more details and examples.
|
|
2599
|
-
* @example
|
|
2600
|
-
*
|
|
2601
|
-
* const iterable = client.listLocationsAsync(request);
|
|
2602
|
-
* for await (const response of iterable) {
|
|
2603
|
-
* // process response
|
|
2604
|
-
* }
|
|
2605
|
-
* ```
|
|
2881
|
+
* @example <caption>include:samples/generated/v2/dlp_service.list_project_data_profiles.js</caption>
|
|
2882
|
+
* region_tag:dlp_v2_generated_DlpService_ListProjectDataProfiles_async
|
|
2606
2883
|
*/
|
|
2607
|
-
|
|
2884
|
+
listProjectDataProfilesAsync(request?: protos.google.privacy.dlp.v2.IListProjectDataProfilesRequest, options?: CallOptions): AsyncIterable<protos.google.privacy.dlp.v2.IProjectDataProfile>;
|
|
2608
2885
|
/**
|
|
2609
|
-
*
|
|
2886
|
+
* Lists data profiles for an organization.
|
|
2610
2887
|
*
|
|
2611
|
-
* @param {
|
|
2612
|
-
*
|
|
2613
|
-
* @param {string}
|
|
2614
|
-
*
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
*
|
|
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.
|
|
2619
2904
|
*
|
|
2620
|
-
*
|
|
2621
|
-
*
|
|
2622
|
-
*
|
|
2623
|
-
|
|
2624
|
-
matchProjectFromDiscoveryConfigName(discoveryConfigName: string): string | number;
|
|
2625
|
-
/**
|
|
2626
|
-
* Parse the location from DiscoveryConfig resource.
|
|
2905
|
+
* Examples:
|
|
2906
|
+
* * `project_id asc`
|
|
2907
|
+
* * `table_id`
|
|
2908
|
+
* * `sensitivity_level desc`
|
|
2627
2909
|
*
|
|
2628
|
-
*
|
|
2629
|
-
* A fully-qualified path representing DiscoveryConfig resource.
|
|
2630
|
-
* @returns {string} A string representing the location.
|
|
2631
|
-
*/
|
|
2632
|
-
matchLocationFromDiscoveryConfigName(discoveryConfigName: string): string | number;
|
|
2633
|
-
/**
|
|
2634
|
-
* Parse the discovery_config from DiscoveryConfig resource.
|
|
2910
|
+
* Supported fields are:
|
|
2635
2911
|
*
|
|
2636
|
-
*
|
|
2637
|
-
*
|
|
2638
|
-
*
|
|
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.
|
|
2639
3442
|
*/
|
|
2640
3443
|
matchDiscoveryConfigFromDiscoveryConfigName(discoveryConfigName: string): string | number;
|
|
2641
3444
|
/**
|
|
@@ -2758,6 +3561,63 @@ export declare class DlpServiceClient {
|
|
|
2758
3561
|
* @returns {string} A string representing the inspect_template.
|
|
2759
3562
|
*/
|
|
2760
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;
|
|
2761
3621
|
/**
|
|
2762
3622
|
* Return a fully-qualified organizationLocationDeidentifyTemplate resource name string.
|
|
2763
3623
|
*
|
|
@@ -2824,6 +3684,39 @@ export declare class DlpServiceClient {
|
|
|
2824
3684
|
* @returns {string} A string representing the inspect_template.
|
|
2825
3685
|
*/
|
|
2826
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;
|
|
2827
3720
|
/**
|
|
2828
3721
|
* Return a fully-qualified organizationLocationStoredInfoType resource name string.
|
|
2829
3722
|
*
|
|
@@ -2857,6 +3750,39 @@ export declare class DlpServiceClient {
|
|
|
2857
3750
|
* @returns {string} A string representing the stored_info_type.
|
|
2858
3751
|
*/
|
|
2859
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;
|
|
2860
3786
|
/**
|
|
2861
3787
|
* Return a fully-qualified organizationStoredInfoType resource name string.
|
|
2862
3788
|
*
|
|
@@ -3007,6 +3933,39 @@ export declare class DlpServiceClient {
|
|
|
3007
3933
|
* @returns {string} A string representing the job_trigger.
|
|
3008
3934
|
*/
|
|
3009
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;
|
|
3010
3969
|
/**
|
|
3011
3970
|
* Return a fully-qualified projectLocationDeidentifyTemplate resource name string.
|
|
3012
3971
|
*
|
|
@@ -3139,6 +4098,39 @@ export declare class DlpServiceClient {
|
|
|
3139
4098
|
* @returns {string} A string representing the job_trigger.
|
|
3140
4099
|
*/
|
|
3141
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;
|
|
3142
4134
|
/**
|
|
3143
4135
|
* Return a fully-qualified projectLocationStoredInfoType resource name string.
|
|
3144
4136
|
*
|
|
@@ -3172,6 +4164,39 @@ export declare class DlpServiceClient {
|
|
|
3172
4164
|
* @returns {string} A string representing the stored_info_type.
|
|
3173
4165
|
*/
|
|
3174
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;
|
|
3175
4200
|
/**
|
|
3176
4201
|
* Return a fully-qualified projectStoredInfoType resource name string.
|
|
3177
4202
|
*
|