Updating NPM dependencies
This commit is contained in:
4
node_modules/googleapis/build/src/apis/dataproc/index.d.ts
generated
vendored
4
node_modules/googleapis/build/src/apis/dataproc/index.d.ts
generated
vendored
@@ -12,3 +12,7 @@ export declare function dataproc(version: 'v1beta2'): dataproc_v1beta2.Dataproc;
|
||||
export declare function dataproc(options: dataproc_v1beta2.Options): dataproc_v1beta2.Dataproc;
|
||||
declare const auth: AuthPlus;
|
||||
export { auth };
|
||||
export { dataproc_v1 };
|
||||
export { dataproc_v1beta2 };
|
||||
export { AuthPlus, GlobalOptions, APIRequestContext, GoogleConfigurable, StreamMethodOptions, GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common';
|
||||
//# sourceMappingURL=index.d.ts.map
|
||||
7
node_modules/googleapis/build/src/apis/dataproc/index.js
generated
vendored
7
node_modules/googleapis/build/src/apis/dataproc/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,10 +12,13 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.dataproc_v1beta2 = exports.dataproc_v1 = exports.auth = exports.dataproc = exports.VERSIONS = void 0;
|
||||
/*! THIS FILE IS AUTO-GENERATED */
|
||||
const googleapis_common_1 = require("googleapis-common");
|
||||
const v1_1 = require("./v1");
|
||||
Object.defineProperty(exports, "dataproc_v1", { enumerable: true, get: function () { return v1_1.dataproc_v1; } });
|
||||
const v1beta2_1 = require("./v1beta2");
|
||||
Object.defineProperty(exports, "dataproc_v1beta2", { enumerable: true, get: function () { return v1beta2_1.dataproc_v1beta2; } });
|
||||
exports.VERSIONS = {
|
||||
v1: v1_1.dataproc_v1.Dataproc,
|
||||
v1beta2: v1beta2_1.dataproc_v1beta2.Dataproc,
|
||||
@@ -26,4 +29,6 @@ function dataproc(versionOrOptions) {
|
||||
exports.dataproc = dataproc;
|
||||
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
|
||||
7159
node_modules/googleapis/build/src/apis/dataproc/v1.d.ts
generated
vendored
7159
node_modules/googleapis/build/src/apis/dataproc/v1.d.ts
generated
vendored
File diff suppressed because it is too large
Load Diff
79
node_modules/googleapis/build/src/apis/dataproc/v1.js
generated
vendored
79
node_modules/googleapis/build/src/apis/dataproc/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.dataproc_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 dataproc_v1;
|
||||
(function (dataproc_v1) {
|
||||
/**
|
||||
@@ -29,14 +28,10 @@ var dataproc_v1;
|
||||
* Manages Hadoop-based clusters and jobs on Google Cloud Platform.
|
||||
*
|
||||
* @example
|
||||
* ```js
|
||||
* const {google} = require('googleapis');
|
||||
* const dataproc = google.dataproc('v1');
|
||||
*
|
||||
* @namespace dataproc
|
||||
* @type {Function}
|
||||
* @version v1
|
||||
* @variation v1
|
||||
* @param {object=} options Options for Dataproc
|
||||
* ```
|
||||
*/
|
||||
class Dataproc {
|
||||
constructor(options, google) {
|
||||
@@ -1441,6 +1436,38 @@ var dataproc_v1;
|
||||
return googleapis_common_1.createAPIRequest(parameters);
|
||||
}
|
||||
}
|
||||
submitAsOperation(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://dataproc.googleapis.com/';
|
||||
const parameters = {
|
||||
options: Object.assign({
|
||||
url: (rootUrl +
|
||||
'/v1/projects/{projectId}/regions/{region}/jobs:submitAsOperation').replace(/([^:]\/)\/+/g, '$1'),
|
||||
method: 'POST',
|
||||
}, options),
|
||||
params,
|
||||
requiredParams: ['projectId', 'region'],
|
||||
pathParams: ['projectId', 'region'],
|
||||
context: this.context,
|
||||
};
|
||||
if (callback) {
|
||||
googleapis_common_1.createAPIRequest(parameters, callback);
|
||||
}
|
||||
else {
|
||||
return googleapis_common_1.createAPIRequest(parameters);
|
||||
}
|
||||
}
|
||||
testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {
|
||||
let params = (paramsOrCallback ||
|
||||
{});
|
||||
|
||||
5404
node_modules/googleapis/build/src/apis/dataproc/v1beta2.d.ts
generated
vendored
5404
node_modules/googleapis/build/src/apis/dataproc/v1beta2.d.ts
generated
vendored
File diff suppressed because it is too large
Load Diff
143
node_modules/googleapis/build/src/apis/dataproc/v1beta2.js
generated
vendored
143
node_modules/googleapis/build/src/apis/dataproc/v1beta2.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.dataproc_v1beta2 = 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 dataproc_v1beta2;
|
||||
(function (dataproc_v1beta2) {
|
||||
/**
|
||||
@@ -29,14 +28,10 @@ var dataproc_v1beta2;
|
||||
* Manages Hadoop-based clusters and jobs on Google Cloud Platform.
|
||||
*
|
||||
* @example
|
||||
* ```js
|
||||
* const {google} = require('googleapis');
|
||||
* const dataproc = google.dataproc('v1beta2');
|
||||
*
|
||||
* @namespace dataproc
|
||||
* @type {Function}
|
||||
* @version v1beta2
|
||||
* @variation v1beta2
|
||||
* @param {object=} options Options for Dataproc
|
||||
* ```
|
||||
*/
|
||||
class Dataproc {
|
||||
constructor(options, google) {
|
||||
@@ -1157,6 +1152,70 @@ var dataproc_v1beta2;
|
||||
return googleapis_common_1.createAPIRequest(parameters);
|
||||
}
|
||||
}
|
||||
start(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://dataproc.googleapis.com/';
|
||||
const parameters = {
|
||||
options: Object.assign({
|
||||
url: (rootUrl +
|
||||
'/v1beta2/projects/{projectId}/regions/{region}/clusters/{clusterName}:start').replace(/([^:]\/)\/+/g, '$1'),
|
||||
method: 'POST',
|
||||
}, options),
|
||||
params,
|
||||
requiredParams: ['projectId', 'region', 'clusterName'],
|
||||
pathParams: ['clusterName', 'projectId', 'region'],
|
||||
context: this.context,
|
||||
};
|
||||
if (callback) {
|
||||
googleapis_common_1.createAPIRequest(parameters, callback);
|
||||
}
|
||||
else {
|
||||
return googleapis_common_1.createAPIRequest(parameters);
|
||||
}
|
||||
}
|
||||
stop(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://dataproc.googleapis.com/';
|
||||
const parameters = {
|
||||
options: Object.assign({
|
||||
url: (rootUrl +
|
||||
'/v1beta2/projects/{projectId}/regions/{region}/clusters/{clusterName}:stop').replace(/([^:]\/)\/+/g, '$1'),
|
||||
method: 'POST',
|
||||
}, options),
|
||||
params,
|
||||
requiredParams: ['projectId', 'region', 'clusterName'],
|
||||
pathParams: ['clusterName', 'projectId', 'region'],
|
||||
context: this.context,
|
||||
};
|
||||
if (callback) {
|
||||
googleapis_common_1.createAPIRequest(parameters, callback);
|
||||
}
|
||||
else {
|
||||
return googleapis_common_1.createAPIRequest(parameters);
|
||||
}
|
||||
}
|
||||
testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {
|
||||
let params = (paramsOrCallback ||
|
||||
{});
|
||||
@@ -1447,6 +1506,38 @@ var dataproc_v1beta2;
|
||||
return googleapis_common_1.createAPIRequest(parameters);
|
||||
}
|
||||
}
|
||||
submitAsOperation(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://dataproc.googleapis.com/';
|
||||
const parameters = {
|
||||
options: Object.assign({
|
||||
url: (rootUrl +
|
||||
'/v1beta2/projects/{projectId}/regions/{region}/jobs:submitAsOperation').replace(/([^:]\/)\/+/g, '$1'),
|
||||
method: 'POST',
|
||||
}, options),
|
||||
params,
|
||||
requiredParams: ['projectId', 'region'],
|
||||
pathParams: ['projectId', 'region'],
|
||||
context: this.context,
|
||||
};
|
||||
if (callback) {
|
||||
googleapis_common_1.createAPIRequest(parameters, callback);
|
||||
}
|
||||
else {
|
||||
return googleapis_common_1.createAPIRequest(parameters);
|
||||
}
|
||||
}
|
||||
testIamPermissions(paramsOrCallback, optionsOrCallback, callback) {
|
||||
let params = (paramsOrCallback ||
|
||||
{});
|
||||
|
||||
Reference in New Issue
Block a user