File tree 5 files changed +11
-2
lines changed
5 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 15
15
16
16
'use strict' ;
17
17
18
+ // sample-metadata:
19
+ // title: Job Management
18
20
async function listJobs ( callingProjectId , filter , jobType ) {
19
21
// [START dlp_list_jobs]
20
22
// Imports the Google Cloud Data Loss Prevention library
Original file line number Diff line number Diff line change 15
15
16
16
'use strict' ;
17
17
18
- // [START dlp_quickstart]
19
18
// Imports the Google Cloud Data Loss Prevention library
20
19
const DLP = require ( '@google-cloud/dlp' ) ;
21
20
22
21
async function quickStart ( ) {
22
+ // [START dlp_quickstart]
23
+
23
24
// Instantiates a client
24
25
const dlp = new DLP . DlpServiceClient ( ) ;
25
26
@@ -73,8 +74,8 @@ async function quickStart() {
73
74
} else {
74
75
console . log ( `No findings.` ) ;
75
76
}
77
+ // [END dlp_quickstart]
76
78
}
77
79
quickStart ( ) . catch ( err => {
78
80
console . error ( `Error in inspectString: ${ err . message || err } ` ) ;
79
81
} ) ;
80
- // [END dlp_quickstart]
Original file line number Diff line number Diff line change 15
15
16
16
'use strict' ;
17
17
18
+ // sample-metadata:
19
+ // title: Risk Analysis
18
20
async function numericalRiskAnalysis (
19
21
callingProjectId ,
20
22
tableProjectId ,
Original file line number Diff line number Diff line change 15
15
16
16
'use strict' ;
17
17
18
+ // sample-metadata:
19
+ // title: Inspect Templates
18
20
async function createInspectTemplate (
19
21
callingProjectId ,
20
22
templateId ,
Original file line number Diff line number Diff line change 15
15
16
16
'use strict' ;
17
17
18
+ // sample-metadata:
19
+ // title: Job Triggers
18
20
async function createTrigger (
19
21
callingProjectId ,
20
22
triggerId ,
You can’t perform that action at this time.
0 commit comments