@google-cloud/dlp
module
The @google-cloud/dlp
package has the following named exports:
DlpServiceClient
- Reference to v2beta1.DlpServiceClientv2beta1
- This is used for selecting or pinning a particular backend service version. It exports:DlpServiceClient
- Reference to v2beta1.DlpServiceClient
Examples
Install the client library with npm:
npm install --save @google-cloud/dlp
Import the client library:
const dlp = require('@google-cloud/dlp');
Create a client that uses Application Default Credentials (ADC):
const client = new dlp.DlpServiceClient();
Create a client with explicit credentials:
const client = new dlp.DlpServiceClient({
projectId: 'your-project-id',
keyFilename: '/path/to/keyfile.json',
});
Exports
require("@google-cloud/dlp")
unknown
Property
Parameter |
|
---|---|
DlpServiceClient |
Reference to v2beta1.DlpServiceClient |
Property
v2beta1
static
object
Property
Parameter |
|
---|---|
DlpServiceClient |
constructor Reference to v2beta1.DlpServiceClient |