Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
* @type {module:common/service-object}
* @private
*/
var ServiceObject = common.ServiceObject;
/**
* @type {module:compute/subnetwork}
* @private
*/
var Subnetwork = require('./subnetwork.js');
/**
* @type {module:common/stream-router}
* @private
*/
var streamRouter = common.streamRouter;
/*! Developer Documentation
*
* @param {module:compute} compute - Compute object this region belongs to.
* @param {string} name - Name of the region.
*/
/**
* A Region object allows you to interact with a Google Compute Engine region.
*
* @resource [Regions & Zones Overview]{@link https://cloud.google.com/compute/docs/zones}
* @resource [Region Resource]{@link https://cloud.google.com/compute/docs/reference/v1/regions}
*
* @constructor
* @alias module:compute/region
*
* @example
var common = require('@google-cloud/common');
var extend = require('extend');
var is = require('is');
var nodeutil = require('util');
/**
* @type {module:common/service-object}
* @private
*/
var ServiceObject = common.ServiceObject;
/**
* @type {module:common/stream-router}
* @private
*/
var streamRouter = common.streamRouter;
/**
* @type {module:common/util}
* @private
*/
var util = common.util;
/*! Developer Documentation
*
* @param {module:compute/zone} zone - Zone object this instance group belongs
* to.
* @param {string} name - Name of the instance group.
*/
/**
* You can create and manage groups of virtual machine instances so that you
* don't have to individually control each instance in your project.
* @type {module:compute/operation}
* @private
*/
var Operation = require('./operation.js');
/**
* @type {module:common/service-object}
* @private
*/
var ServiceObject = common.ServiceObject;
/**
* @type {module:common/stream-router}
* @private
*/
var streamRouter = common.streamRouter;
/**
* @type {module:compute/vm}
* @private
*/
var VM = require('./vm.js');
/*! Developer Documentation
*
* @param {module:compute} compute - Compute object this zone belongs to.
* @param {string} name - Name of the zone.
*/
/**
* A Zone object allows you to interact with a Google Compute Engine zone.
*
* @resource [Regions & Zones Overview]{@link https://cloud.google.com/compute/docs/zones}
var extend = require('extend');
var is = require('is');
var nodeutil = require('util');
var PKG = require('../package.json');
/**
* @type {module:common/service}
* @private
*/
var Service = common.Service;
/**
* @type {module:common/stream-router}
* @private
*/
var streamRouter = common.streamRouter;
/**
* @type {module:common/util}
* @private
*/
var util = common.util;
/**
* @type {module:dns/zone}
* @private
*/
var Zone = require('./zone.js');
/**
* [Google Cloud DNS](https://cloud.google.com/dns/what-is-cloud-dns) is a high-
* performance, resilient, global DNS service that provides a cost-effective way
* @type {module:logging/log}
* @private
*/
var Log = require('./log.js');
/**
* @type {module:logging/sink}
* @private
*/
var Sink = require('./sink.js');
/**
* @type {module:common/stream-router}
* @private
*/
var streamRouter = common.streamRouter;
/**
* @type {module:pubsub/topic}
* @private
*/
var Topic = require('@google-cloud/pubsub').Topic;
/**
* @type {module:common/util}
* @private
*/
var util = common.util;
/**
* [Google Cloud Logging](https://cloud.google.com/logging/docs) collects and
* stores logs from applications and services on the Google Cloud Platform:
* @type {module:dns/record}
* @private
*/
var Record = require('./record.js');
/**
* @type {module:common/service-object}
* @private
*/
var ServiceObject = common.ServiceObject;
/**
* @type {module:common/stream-router}
* @private
*/
var streamRouter = common.streamRouter;
/**
* A Zone object is used to interact with your project's managed zone. It will
* help you add or delete records, delete your zone, and many other convenience
* methods.
*
* @constructor
* @alias module:dns/zone
*
* @example
* var gcloud = require('google-cloud');
*
* var dns = gcloud.dns({
* keyFilename: '/path/to/keyfile.json',
* projectId: 'grape-spaceship-123'
* });