functions/node_modules/googleapis/build/src/lib/discovery.js
/**
 * Generate and Endpoint from an endpoint schema object.
 *
 * @private
 * @param {object} schema The schema from which to generate the Endpoint.
 * @return Function The Endpoint.
 */
Generate and Endpoint from an endpoint schema object.
@private
@param {object} schema The schema from which to generate the Endpoint.
@return Function The Endpoint.
Generate and Endpoint from an endpoint schema object . @private @param { object } schema The schema from which to generate the Endpoint . @return Function The Endpoint .
function makeEndpoint(schema) {
    var Endpoint = function (options) {
        var self = this;
        self._options = options || {};
        applySchema(self, schema.data, schema.data, self);
    };
    return Endpoint;
}
function makeEndpoint ( schema ) { var Endpoint = function ( options ) { var self = this ; self . _options = options || { } ; applySchema ( self , schema . data , schema . data , self ) ; } ; return Endpoint ; }
Generate and Endpoint from an endpoint schema object.
Generate and Endpoint from an endpoint schema object .
// Creating an object, so Pascal case is appropriate. // tslint:disable-next-line