Updating NPM dependencies
This commit is contained in:
3
node_modules/googleapis/build/src/apis/storagetransfer/index.d.ts
generated
vendored
3
node_modules/googleapis/build/src/apis/storagetransfer/index.d.ts
generated
vendored
@@ -8,3 +8,6 @@ export declare function storagetransfer(version: 'v1'): storagetransfer_v1.Stora
|
||||
export declare function storagetransfer(options: storagetransfer_v1.Options): storagetransfer_v1.Storagetransfer;
|
||||
declare const auth: AuthPlus;
|
||||
export { auth };
|
||||
export { storagetransfer_v1 };
|
||||
export { AuthPlus, GlobalOptions, APIRequestContext, GoogleConfigurable, StreamMethodOptions, GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common';
|
||||
//# sourceMappingURL=index.d.ts.map
|
||||
6
node_modules/googleapis/build/src/apis/storagetransfer/index.js
generated
vendored
6
node_modules/googleapis/build/src/apis/storagetransfer/index.js
generated
vendored
@@ -1,5 +1,5 @@
|
||||
"use strict";
|
||||
// Copyright 2019 Google LLC
|
||||
// Copyright 2020 Google LLC
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
@@ -12,9 +12,11 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.storagetransfer_v1 = exports.auth = exports.storagetransfer = exports.VERSIONS = void 0;
|
||||
/*! THIS FILE IS AUTO-GENERATED */
|
||||
const googleapis_common_1 = require("googleapis-common");
|
||||
const v1_1 = require("./v1");
|
||||
Object.defineProperty(exports, "storagetransfer_v1", { enumerable: true, get: function () { return v1_1.storagetransfer_v1; } });
|
||||
exports.VERSIONS = {
|
||||
v1: v1_1.storagetransfer_v1.Storagetransfer,
|
||||
};
|
||||
@@ -24,4 +26,6 @@ function storagetransfer(versionOrOptions) {
|
||||
exports.storagetransfer = storagetransfer;
|
||||
const auth = new googleapis_common_1.AuthPlus();
|
||||
exports.auth = auth;
|
||||
var googleapis_common_2 = require("googleapis-common");
|
||||
Object.defineProperty(exports, "AuthPlus", { enumerable: true, get: function () { return googleapis_common_2.AuthPlus; } });
|
||||
//# sourceMappingURL=index.js.map
|
||||
1298
node_modules/googleapis/build/src/apis/storagetransfer/v1.d.ts
generated
vendored
1298
node_modules/googleapis/build/src/apis/storagetransfer/v1.d.ts
generated
vendored
File diff suppressed because it is too large
Load Diff
84
node_modules/googleapis/build/src/apis/storagetransfer/v1.js
generated
vendored
84
node_modules/googleapis/build/src/apis/storagetransfer/v1.js
generated
vendored
@@ -1,26 +1,25 @@
|
||||
"use strict";
|
||||
/**
|
||||
* Copyright 2019 Google LLC
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
// Copyright 2020 Google LLC
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.storagetransfer_v1 = void 0;
|
||||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||
/* eslint-disable @typescript-eslint/class-name-casing */
|
||||
/* eslint-disable @typescript-eslint/no-unused-vars */
|
||||
/* eslint-disable @typescript-eslint/no-empty-interface */
|
||||
/* eslint-disable @typescript-eslint/no-namespace */
|
||||
/* eslint-disable no-irregular-whitespace */
|
||||
const googleapis_common_1 = require("googleapis-common");
|
||||
// tslint:disable: no-any
|
||||
// tslint:disable: class-name
|
||||
// tslint:disable: variable-name
|
||||
// tslint:disable: jsdoc-format
|
||||
// tslint:disable: no-namespace
|
||||
var storagetransfer_v1;
|
||||
(function (storagetransfer_v1) {
|
||||
/**
|
||||
@@ -29,14 +28,10 @@ var storagetransfer_v1;
|
||||
* Transfers data from external data sources to a Google Cloud Storage bucket or between Google Cloud Storage buckets.
|
||||
*
|
||||
* @example
|
||||
* ```js
|
||||
* const {google} = require('googleapis');
|
||||
* const storagetransfer = google.storagetransfer('v1');
|
||||
*
|
||||
* @namespace storagetransfer
|
||||
* @type {Function}
|
||||
* @version v1
|
||||
* @variation v1
|
||||
* @param {object=} options Options for Storagetransfer
|
||||
* ```
|
||||
*/
|
||||
class Storagetransfer {
|
||||
constructor(options, google) {
|
||||
@@ -141,7 +136,7 @@ var storagetransfer_v1;
|
||||
method: 'GET',
|
||||
}, options),
|
||||
params,
|
||||
requiredParams: ['jobName'],
|
||||
requiredParams: ['jobName', 'projectId'],
|
||||
pathParams: ['jobName'],
|
||||
context: this.context,
|
||||
};
|
||||
@@ -172,7 +167,7 @@ var storagetransfer_v1;
|
||||
method: 'GET',
|
||||
}, options),
|
||||
params,
|
||||
requiredParams: [],
|
||||
requiredParams: ['filter'],
|
||||
pathParams: [],
|
||||
context: this.context,
|
||||
};
|
||||
@@ -251,37 +246,6 @@ var storagetransfer_v1;
|
||||
return googleapis_common_1.createAPIRequest(parameters);
|
||||
}
|
||||
}
|
||||
delete(paramsOrCallback, optionsOrCallback, callback) {
|
||||
let params = (paramsOrCallback ||
|
||||
{});
|
||||
let options = (optionsOrCallback || {});
|
||||
if (typeof paramsOrCallback === 'function') {
|
||||
callback = paramsOrCallback;
|
||||
params = {};
|
||||
options = {};
|
||||
}
|
||||
if (typeof optionsOrCallback === 'function') {
|
||||
callback = optionsOrCallback;
|
||||
options = {};
|
||||
}
|
||||
const rootUrl = options.rootUrl || 'https://storagetransfer.googleapis.com/';
|
||||
const parameters = {
|
||||
options: Object.assign({
|
||||
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
||||
method: 'DELETE',
|
||||
}, options),
|
||||
params,
|
||||
requiredParams: ['name'],
|
||||
pathParams: ['name'],
|
||||
context: this.context,
|
||||
};
|
||||
if (callback) {
|
||||
googleapis_common_1.createAPIRequest(parameters, callback);
|
||||
}
|
||||
else {
|
||||
return googleapis_common_1.createAPIRequest(parameters);
|
||||
}
|
||||
}
|
||||
get(paramsOrCallback, optionsOrCallback, callback) {
|
||||
let params = (paramsOrCallback ||
|
||||
{});
|
||||
@@ -333,7 +297,7 @@ var storagetransfer_v1;
|
||||
method: 'GET',
|
||||
}, options),
|
||||
params,
|
||||
requiredParams: ['name'],
|
||||
requiredParams: ['name', 'filter'],
|
||||
pathParams: ['name'],
|
||||
context: this.context,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user