Skip to content

Commit d2ea3d8

Browse files
authored
docs: update jsdoc license/samples-README (#374)
1 parent 2e2a318 commit d2ea3d8

File tree

2 files changed

+30
-25
lines changed

2 files changed

+30
-25
lines changed

packages/google-privacy-dlp/.jsdoc.js

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
1-
/*!
2-
* Copyright 2018 Google LLC. All Rights Reserved.
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
15-
*/
1+
// Copyright 2019 Google LLC
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// https://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
//
1615

1716
'use strict';
1817

packages/google-privacy-dlp/samples/README.md

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ data in unstructured data streams.
2929
Before running the samples, make sure you've followed the steps outlined in
3030
[Using the client library](https://github.com/googleapis/nodejs-dlp#using-the-client-library).
3131

32+
`cd samples`
33+
34+
`npm install`
35+
36+
`cd ..`
37+
3238
## Samples
3339

3440

@@ -42,7 +48,7 @@ View the [source code](https://github.com/googleapis/nodejs-dlp/blob/master/samp
4248
__Usage:__
4349

4450

45-
`node deid.js`
51+
`node samples/deid.js`
4652

4753

4854
-----
@@ -59,7 +65,7 @@ View the [source code](https://github.com/googleapis/nodejs-dlp/blob/master/samp
5965
__Usage:__
6066

6167

62-
`node inspect.js`
68+
`node samples/inspect.js`
6369

6470

6571
-----
@@ -76,7 +82,7 @@ View the [source code](https://github.com/googleapis/nodejs-dlp/blob/master/samp
7682
__Usage:__
7783

7884

79-
`node jobs.js`
85+
`node samples/jobs.js`
8086

8187

8288
-----
@@ -93,7 +99,7 @@ View the [source code](https://github.com/googleapis/nodejs-dlp/blob/master/samp
9399
__Usage:__
94100

95101

96-
`node metadata.js`
102+
`node samples/metadata.js`
97103

98104

99105
-----
@@ -110,7 +116,7 @@ View the [source code](https://github.com/googleapis/nodejs-dlp/blob/master/samp
110116
__Usage:__
111117

112118

113-
`node quickstart.js`
119+
`node samples/quickstart.js`
114120

115121

116122
-----
@@ -127,7 +133,7 @@ View the [source code](https://github.com/googleapis/nodejs-dlp/blob/master/samp
127133
__Usage:__
128134

129135

130-
`node redact.js`
136+
`node samples/redact.js`
131137

132138

133139
-----
@@ -144,7 +150,7 @@ View the [source code](https://github.com/googleapis/nodejs-dlp/blob/master/samp
144150
__Usage:__
145151

146152

147-
`node risk.js`
153+
`node samples/risk.js`
148154

149155

150156
-----
@@ -161,7 +167,7 @@ View the [source code](https://github.com/googleapis/nodejs-dlp/blob/master/samp
161167
__Usage:__
162168

163169

164-
`node templates.js`
170+
`node samples/templates.js`
165171

166172

167173
-----
@@ -178,7 +184,7 @@ View the [source code](https://github.com/googleapis/nodejs-dlp/blob/master/samp
178184
__Usage:__
179185

180186

181-
`node triggers.js`
187+
`node samples/triggers.js`
182188

183189

184190

@@ -187,4 +193,4 @@ __Usage:__
187193

188194
[shell_img]: https://gstatic.com/cloudssh/images/open-btn.png
189195
[shell_link]: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dlp&page=editor&open_in_editor=samples/README.md
190-
[product-docs]: https://cloud.google.com/dlp/docs/
196+
[product-docs]: https://cloud.google.com/dlp/docs/

0 commit comments

Comments
 (0)