How to use the @google-cloud/storage.Bucket function in @google-cloud/storage

To help you get started, we’ve selected a few @google-cloud/storage examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github googleapis / google-cloud-node / packages / logging / src / index.js View on Github external
'use strict';

var arrify = require('arrify');
var common = require('@google-cloud/common');
var extend = require('extend');
var format = require('string-format-obj');
var googleProtoFiles = require('google-proto-files');
var is = require('is');
var nodeutil = require('util');
var PKG = require('../package.json');

/**
 * @type {module:storage/bucket}
 * @private
 */
var Bucket = require('@google-cloud/storage').Bucket;

/**
 * @type {module:bigquery/dataset}
 * @private
 */
var Dataset = require('@google-cloud/bigquery').Dataset;

/**
 * @type {module:logging/entry}
 * @private
 */
var Entry = require('./entry.js');

/**
 * @type {module:common/grpc-service}
 * @private

@google-cloud/storage

Cloud Storage Client Library for Node.js

Apache-2.0
Latest version published 7 days ago

Package Health Score

91 / 100
Full package analysis