@cisco/google

0.4.5 • Public • Published

Google

Utilities to work easily with Google Cloud.

Installation

Install with npm.

npm i @gve/google

Usage

The auth module attempts to get Google application credentials from the environment variable GOOGLE_APPLICATION_CREDENTIALS. If that fails, it looks for GVE_GOOGLE_EMAIL and GVE_GOOGLE_KEY to get them.

const { auth: googleAuth } = require("@gve/google");
const dialogflow = require("@google-cloud/dialogflow");

const config = { credentials: googleAuth.credentials };
const sessionsClient = new dialogflow.SessionsClient(config);

License

Apache 2.0

Readme

Keywords

none

Package Sidebar

Install

npm i @cisco/google

Weekly Downloads

3

Version

0.4.5

License

Apache-2.0

Unpacked Size

12.8 kB

Total Files

12

Last publish

Collaborators

  • cisco-service
  • detiber
  • gveappsupport
  • mattnorris