Skip to content

Manages the history and inventory of cloud resources.

License

Notifications You must be signed in to change notification settings

donghez-google/nodejs-asset

Repository files navigation

Google Cloud Platform logo

release level CircleCI AppVeyor codecov

The Cloud Asset API manages the history and inventory of cloud resources.

Using the client library

  1. Select or create a Cloud Platform project.

  2. Enable billing for your project.

  3. Enable the Google Cloud Asset API API.

  4. Set up authentication with a service account so you can access the API from your local workstation.

  5. Install the client library:

     npm install --save @google-cloud/asset
    
  6. Try an example:

// Imports the Google Cloud client library
const asset = require('@google-cloud/asset');

// eslint-disable-next-line
const client = new asset.AssetServiceClient({
  projectId: 'your-project-id',
  keyFilename: '/path/to/keyfile.json',
});

The Cloud Asset API Node.js Client API Reference documentation also contains samples.

Versioning

This library follows Semantic Versioning.

This library is considered to be in alpha. This means it is still a work-in-progress and under active development. Any release is subject to backwards-incompatible changes at any time.

More Information: Google Cloud Platform Launch Stages

Contributing

Contributions welcome! See the Contributing Guide.

License

Apache Version 2.0

See LICENSE

What's Next

Read more about the client libraries for Cloud APIs, including the older Google APIs Client Libraries, in Client Libraries Explained.

About

Manages the history and inventory of cloud resources.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 98.1%
  • JavaScript 1.5%
  • Python 0.4%