How to use where clause in Knex
Create refunds with Stripe
Load HTML with Cheerio
How to send POST request with Axios
Find intersection of array in Lodash
Powered by Official white Bloop logo with a period

Terms / Privacy / Search / Support

  • // Before running the sample:
    // - Enable the API at:
    // - Login into gcloud by running:
    //   `$ gcloud auth application-default login`
    // - Install the npm module by running:
    //   `$ npm install googleapis`
    const {google} = require('googleapis');
    const file = google.file('v1beta1');
    async function main() {
      const auth = new google.auth.GoogleAuth({
        // Scopes can be specified either as an array or as a single, space-delimited string.
        scopes: [''],
      // Acquire an auth client, and bind it to all future calls
      const authClient = await auth.getClient();
      google.options({auth: authClient});
      // Do the magic
      const res = await file.projects.locations.operations.delete({
        // The name of the operation resource to be deleted.
        name: 'projects/my-project/locations/my-location/operations/my-operation',
      // Example response
      // {}
    main().catch(e => {
      throw e;
  • Powered by Official black Bloop logo with a period
    download the IDE extension

    View other examples