New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@sharkcell/googleapis-nodejs-cloudbuild

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sharkcell/googleapis-nodejs-cloudbuild

Google Cloud Build Client Library for Node.js (unofficial)

0.1.1
latest
Source
npm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

Google Cloud Build Node.js Library

Table of contents:

  • Quickstart
  • Samples
  • Versioning
  • Contributing
  • License

Quickstart

Before you begin

Installing the client library

npm install --save googleapis-nodejs-cloudbuild

Using the client library


// Imports the Google Cloud client library
const { GCF } = require('googleapis-nodejs-cloudbuild');

// Your Google Cloud Platform project ID
const projectId = 'YOUR_PROJECT_ID';

// Creates a client
const gcf = new GCF({
  keyFilename: './credentials.json',
  projectId
});

// Get Triggers and metadata
gcf
  .getCloudBuildTriggers()
  .then(data => {
    const fns = data[0];
    //console.log('Cloud Build Triggers: ', fns);
    const fn = fns[0];
    console.log(fn.metadata);
  })
  .catch(err => {
    console.error('ERROR:', err);
  });

Samples

Versioning

Contributing

License

Apache Version 2.0

See LICENSE

Keywords

google apis client

FAQs

Package last updated on 21 Jun 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts