@google-cloud/containeranalysis

The @google-cloud/containeranalysis package has the following named exports:

Source:
Examples

Install the client library with npm:

npm install --save @google-cloud/containeranalysis

Import the client library:

const containeranalysis = require('@google-cloud/containeranalysis');

Create a client that uses Application Default Credentials (ADC):

const client = new containeranalysis.ContainerAnalysisClient();

Create a client with explicit credentials:

const client = new containeranalysis.ContainerAnalysisClient({
  projectId: 'your-project-id',
  keyFilename: '/path/to/keyfile.json',
});

Members

(static) v1 :object

Properties:
Name Type Description
ContainerAnalysisClient constructor

Reference to v1.ContainerAnalysisClient

Source: