Updating NPM dependencies
This commit is contained in:
3
node_modules/googleapis/build/src/apis/sqladmin/index.d.ts
generated
vendored
3
node_modules/googleapis/build/src/apis/sqladmin/index.d.ts
generated
vendored
@@ -8,3 +8,6 @@ export declare function sqladmin(version: 'v1beta4'): sqladmin_v1beta4.Sqladmin;
|
||||
export declare function sqladmin(options: sqladmin_v1beta4.Options): sqladmin_v1beta4.Sqladmin;
|
||||
declare const auth: AuthPlus;
|
||||
export { auth };
|
||||
export { sqladmin_v1beta4 };
|
||||
export { AuthPlus, GlobalOptions, APIRequestContext, GoogleConfigurable, StreamMethodOptions, GaxiosPromise, MethodOptions, BodyResponseCallback, } from 'googleapis-common';
|
||||
//# sourceMappingURL=index.d.ts.map
|
||||
6
node_modules/googleapis/build/src/apis/sqladmin/index.js
generated
vendored
6
node_modules/googleapis/build/src/apis/sqladmin/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.sqladmin_v1beta4 = exports.auth = exports.sqladmin = exports.VERSIONS = void 0;
|
||||
/*! THIS FILE IS AUTO-GENERATED */
|
||||
const googleapis_common_1 = require("googleapis-common");
|
||||
const v1beta4_1 = require("./v1beta4");
|
||||
Object.defineProperty(exports, "sqladmin_v1beta4", { enumerable: true, get: function () { return v1beta4_1.sqladmin_v1beta4; } });
|
||||
exports.VERSIONS = {
|
||||
v1beta4: v1beta4_1.sqladmin_v1beta4.Sqladmin,
|
||||
};
|
||||
@@ -24,4 +26,6 @@ function sqladmin(versionOrOptions) {
|
||||
exports.sqladmin = sqladmin;
|
||||
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
|
||||
4698
node_modules/googleapis/build/src/apis/sqladmin/v1beta4.d.ts
generated
vendored
4698
node_modules/googleapis/build/src/apis/sqladmin/v1beta4.d.ts
generated
vendored
File diff suppressed because it is too large
Load Diff
253
node_modules/googleapis/build/src/apis/sqladmin/v1beta4.js
generated
vendored
253
node_modules/googleapis/build/src/apis/sqladmin/v1beta4.js
generated
vendored
@@ -1,42 +1,37 @@
|
||||
"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.sqladmin_v1beta4 = 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 sqladmin_v1beta4;
|
||||
(function (sqladmin_v1beta4) {
|
||||
/**
|
||||
* Cloud SQL Admin API
|
||||
*
|
||||
* Creates and manages Cloud SQL instances, which provide fully managed MySQL or PostgreSQL databases.
|
||||
* API for Cloud SQL database instance management
|
||||
*
|
||||
* @example
|
||||
* ```js
|
||||
* const {google} = require('googleapis');
|
||||
* const sqladmin = google.sqladmin('v1beta4');
|
||||
*
|
||||
* @namespace sqladmin
|
||||
* @type {Function}
|
||||
* @version v1beta4
|
||||
* @variation v1beta4
|
||||
* @param {object=} options Options for Sqladmin
|
||||
* ```
|
||||
*/
|
||||
class Sqladmin {
|
||||
constructor(options, google) {
|
||||
@@ -49,6 +44,7 @@ var sqladmin_v1beta4;
|
||||
this.flags = new Resource$Flags(this.context);
|
||||
this.instances = new Resource$Instances(this.context);
|
||||
this.operations = new Resource$Operations(this.context);
|
||||
this.projects = new Resource$Projects(this.context);
|
||||
this.sslCerts = new Resource$Sslcerts(this.context);
|
||||
this.tiers = new Resource$Tiers(this.context);
|
||||
this.users = new Resource$Users(this.context);
|
||||
@@ -72,7 +68,7 @@ var sqladmin_v1beta4;
|
||||
callback = optionsOrCallback;
|
||||
options = {};
|
||||
}
|
||||
const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
|
||||
const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';
|
||||
const parameters = {
|
||||
options: Object.assign({
|
||||
url: (rootUrl +
|
||||
@@ -103,7 +99,7 @@ var sqladmin_v1beta4;
|
||||
callback = optionsOrCallback;
|
||||
options = {};
|
||||
}
|
||||
const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
|
||||
const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';
|
||||
const parameters = {
|
||||
options: Object.assign({
|
||||
url: (rootUrl +
|
||||
@@ -135,7 +131,7 @@ var sqladmin_v1beta4;
|
||||
callback = optionsOrCallback;
|
||||
options = {};
|
||||
}
|
||||
const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
|
||||
const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';
|
||||
const parameters = {
|
||||
options: Object.assign({
|
||||
url: (rootUrl +
|
||||
@@ -166,7 +162,7 @@ var sqladmin_v1beta4;
|
||||
callback = optionsOrCallback;
|
||||
options = {};
|
||||
}
|
||||
const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
|
||||
const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';
|
||||
const parameters = {
|
||||
options: Object.assign({
|
||||
url: (rootUrl +
|
||||
@@ -203,7 +199,7 @@ var sqladmin_v1beta4;
|
||||
callback = optionsOrCallback;
|
||||
options = {};
|
||||
}
|
||||
const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
|
||||
const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';
|
||||
const parameters = {
|
||||
options: Object.assign({
|
||||
url: (rootUrl +
|
||||
@@ -234,7 +230,7 @@ var sqladmin_v1beta4;
|
||||
callback = optionsOrCallback;
|
||||
options = {};
|
||||
}
|
||||
const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
|
||||
const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';
|
||||
const parameters = {
|
||||
options: Object.assign({
|
||||
url: (rootUrl +
|
||||
@@ -265,7 +261,7 @@ var sqladmin_v1beta4;
|
||||
callback = optionsOrCallback;
|
||||
options = {};
|
||||
}
|
||||
const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
|
||||
const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';
|
||||
const parameters = {
|
||||
options: Object.assign({
|
||||
url: (rootUrl +
|
||||
@@ -296,7 +292,7 @@ var sqladmin_v1beta4;
|
||||
callback = optionsOrCallback;
|
||||
options = {};
|
||||
}
|
||||
const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
|
||||
const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';
|
||||
const parameters = {
|
||||
options: Object.assign({
|
||||
url: (rootUrl +
|
||||
@@ -327,7 +323,7 @@ var sqladmin_v1beta4;
|
||||
callback = optionsOrCallback;
|
||||
options = {};
|
||||
}
|
||||
const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
|
||||
const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';
|
||||
const parameters = {
|
||||
options: Object.assign({
|
||||
url: (rootUrl +
|
||||
@@ -358,7 +354,7 @@ var sqladmin_v1beta4;
|
||||
callback = optionsOrCallback;
|
||||
options = {};
|
||||
}
|
||||
const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
|
||||
const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';
|
||||
const parameters = {
|
||||
options: Object.assign({
|
||||
url: (rootUrl +
|
||||
@@ -395,7 +391,7 @@ var sqladmin_v1beta4;
|
||||
callback = optionsOrCallback;
|
||||
options = {};
|
||||
}
|
||||
const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
|
||||
const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';
|
||||
const parameters = {
|
||||
options: Object.assign({
|
||||
url: (rootUrl + '/sql/v1beta4/flags').replace(/([^:]\/)\/+/g, '$1'),
|
||||
@@ -432,7 +428,7 @@ var sqladmin_v1beta4;
|
||||
callback = optionsOrCallback;
|
||||
options = {};
|
||||
}
|
||||
const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
|
||||
const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';
|
||||
const parameters = {
|
||||
options: Object.assign({
|
||||
url: (rootUrl +
|
||||
@@ -463,7 +459,7 @@ var sqladmin_v1beta4;
|
||||
callback = optionsOrCallback;
|
||||
options = {};
|
||||
}
|
||||
const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
|
||||
const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';
|
||||
const parameters = {
|
||||
options: Object.assign({
|
||||
url: (rootUrl +
|
||||
@@ -494,7 +490,7 @@ var sqladmin_v1beta4;
|
||||
callback = optionsOrCallback;
|
||||
options = {};
|
||||
}
|
||||
const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
|
||||
const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';
|
||||
const parameters = {
|
||||
options: Object.assign({
|
||||
url: (rootUrl + '/sql/v1beta4/projects/{project}/instances/{instance}').replace(/([^:]\/)\/+/g, '$1'),
|
||||
@@ -525,7 +521,7 @@ var sqladmin_v1beta4;
|
||||
callback = optionsOrCallback;
|
||||
options = {};
|
||||
}
|
||||
const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
|
||||
const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';
|
||||
const parameters = {
|
||||
options: Object.assign({
|
||||
url: (rootUrl +
|
||||
@@ -556,7 +552,7 @@ var sqladmin_v1beta4;
|
||||
callback = optionsOrCallback;
|
||||
options = {};
|
||||
}
|
||||
const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
|
||||
const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';
|
||||
const parameters = {
|
||||
options: Object.assign({
|
||||
url: (rootUrl +
|
||||
@@ -588,7 +584,7 @@ var sqladmin_v1beta4;
|
||||
callback = optionsOrCallback;
|
||||
options = {};
|
||||
}
|
||||
const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
|
||||
const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';
|
||||
const parameters = {
|
||||
options: Object.assign({
|
||||
url: (rootUrl +
|
||||
@@ -619,7 +615,7 @@ var sqladmin_v1beta4;
|
||||
callback = optionsOrCallback;
|
||||
options = {};
|
||||
}
|
||||
const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
|
||||
const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';
|
||||
const parameters = {
|
||||
options: Object.assign({
|
||||
url: (rootUrl + '/sql/v1beta4/projects/{project}/instances/{instance}').replace(/([^:]\/)\/+/g, '$1'),
|
||||
@@ -649,7 +645,7 @@ var sqladmin_v1beta4;
|
||||
callback = optionsOrCallback;
|
||||
options = {};
|
||||
}
|
||||
const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
|
||||
const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';
|
||||
const parameters = {
|
||||
options: Object.assign({
|
||||
url: (rootUrl +
|
||||
@@ -680,7 +676,7 @@ var sqladmin_v1beta4;
|
||||
callback = optionsOrCallback;
|
||||
options = {};
|
||||
}
|
||||
const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
|
||||
const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';
|
||||
const parameters = {
|
||||
options: Object.assign({
|
||||
url: (rootUrl + '/sql/v1beta4/projects/{project}/instances').replace(/([^:]\/)\/+/g, '$1'),
|
||||
@@ -710,7 +706,7 @@ var sqladmin_v1beta4;
|
||||
callback = optionsOrCallback;
|
||||
options = {};
|
||||
}
|
||||
const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
|
||||
const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';
|
||||
const parameters = {
|
||||
options: Object.assign({
|
||||
url: (rootUrl + '/sql/v1beta4/projects/{project}/instances').replace(/([^:]\/)\/+/g, '$1'),
|
||||
@@ -741,7 +737,7 @@ var sqladmin_v1beta4;
|
||||
callback = optionsOrCallback;
|
||||
options = {};
|
||||
}
|
||||
const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
|
||||
const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';
|
||||
const parameters = {
|
||||
options: Object.assign({
|
||||
url: (rootUrl +
|
||||
@@ -772,7 +768,7 @@ var sqladmin_v1beta4;
|
||||
callback = optionsOrCallback;
|
||||
options = {};
|
||||
}
|
||||
const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
|
||||
const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';
|
||||
const parameters = {
|
||||
options: Object.assign({
|
||||
url: (rootUrl + '/sql/v1beta4/projects/{project}/instances/{instance}').replace(/([^:]\/)\/+/g, '$1'),
|
||||
@@ -803,7 +799,7 @@ var sqladmin_v1beta4;
|
||||
callback = optionsOrCallback;
|
||||
options = {};
|
||||
}
|
||||
const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
|
||||
const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';
|
||||
const parameters = {
|
||||
options: Object.assign({
|
||||
url: (rootUrl +
|
||||
@@ -835,7 +831,7 @@ var sqladmin_v1beta4;
|
||||
callback = optionsOrCallback;
|
||||
options = {};
|
||||
}
|
||||
const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
|
||||
const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';
|
||||
const parameters = {
|
||||
options: Object.assign({
|
||||
url: (rootUrl +
|
||||
@@ -867,7 +863,7 @@ var sqladmin_v1beta4;
|
||||
callback = optionsOrCallback;
|
||||
options = {};
|
||||
}
|
||||
const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
|
||||
const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';
|
||||
const parameters = {
|
||||
options: Object.assign({
|
||||
url: (rootUrl +
|
||||
@@ -899,7 +895,7 @@ var sqladmin_v1beta4;
|
||||
callback = optionsOrCallback;
|
||||
options = {};
|
||||
}
|
||||
const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
|
||||
const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';
|
||||
const parameters = {
|
||||
options: Object.assign({
|
||||
url: (rootUrl +
|
||||
@@ -931,7 +927,7 @@ var sqladmin_v1beta4;
|
||||
callback = optionsOrCallback;
|
||||
options = {};
|
||||
}
|
||||
const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
|
||||
const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';
|
||||
const parameters = {
|
||||
options: Object.assign({
|
||||
url: (rootUrl +
|
||||
@@ -963,7 +959,7 @@ var sqladmin_v1beta4;
|
||||
callback = optionsOrCallback;
|
||||
options = {};
|
||||
}
|
||||
const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
|
||||
const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';
|
||||
const parameters = {
|
||||
options: Object.assign({
|
||||
url: (rootUrl +
|
||||
@@ -995,7 +991,7 @@ var sqladmin_v1beta4;
|
||||
callback = optionsOrCallback;
|
||||
options = {};
|
||||
}
|
||||
const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
|
||||
const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';
|
||||
const parameters = {
|
||||
options: Object.assign({
|
||||
url: (rootUrl +
|
||||
@@ -1027,7 +1023,7 @@ var sqladmin_v1beta4;
|
||||
callback = optionsOrCallback;
|
||||
options = {};
|
||||
}
|
||||
const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
|
||||
const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';
|
||||
const parameters = {
|
||||
options: Object.assign({
|
||||
url: (rootUrl +
|
||||
@@ -1058,7 +1054,7 @@ var sqladmin_v1beta4;
|
||||
callback = optionsOrCallback;
|
||||
options = {};
|
||||
}
|
||||
const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
|
||||
const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';
|
||||
const parameters = {
|
||||
options: Object.assign({
|
||||
url: (rootUrl + '/sql/v1beta4/projects/{project}/instances/{instance}').replace(/([^:]\/)\/+/g, '$1'),
|
||||
@@ -1094,7 +1090,7 @@ var sqladmin_v1beta4;
|
||||
callback = optionsOrCallback;
|
||||
options = {};
|
||||
}
|
||||
const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
|
||||
const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';
|
||||
const parameters = {
|
||||
options: Object.assign({
|
||||
url: (rootUrl + '/sql/v1beta4/projects/{project}/operations/{operation}').replace(/([^:]\/)\/+/g, '$1'),
|
||||
@@ -1124,14 +1120,14 @@ var sqladmin_v1beta4;
|
||||
callback = optionsOrCallback;
|
||||
options = {};
|
||||
}
|
||||
const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
|
||||
const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';
|
||||
const parameters = {
|
||||
options: Object.assign({
|
||||
url: (rootUrl + '/sql/v1beta4/projects/{project}/operations').replace(/([^:]\/)\/+/g, '$1'),
|
||||
method: 'GET',
|
||||
}, options),
|
||||
params,
|
||||
requiredParams: ['project', 'instance'],
|
||||
requiredParams: ['project'],
|
||||
pathParams: ['project'],
|
||||
context: this.context,
|
||||
};
|
||||
@@ -1144,6 +1140,115 @@ var sqladmin_v1beta4;
|
||||
}
|
||||
}
|
||||
sqladmin_v1beta4.Resource$Operations = Resource$Operations;
|
||||
class Resource$Projects {
|
||||
constructor(context) {
|
||||
this.context = context;
|
||||
this.instances = new Resource$Projects$Instances(this.context);
|
||||
}
|
||||
}
|
||||
sqladmin_v1beta4.Resource$Projects = Resource$Projects;
|
||||
class Resource$Projects$Instances {
|
||||
constructor(context) {
|
||||
this.context = context;
|
||||
}
|
||||
rescheduleMaintenance(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://sqladmin.googleapis.com/';
|
||||
const parameters = {
|
||||
options: Object.assign({
|
||||
url: (rootUrl +
|
||||
'/sql/v1beta4/projects/{project}/instances/{instance}/rescheduleMaintenance').replace(/([^:]\/)\/+/g, '$1'),
|
||||
method: 'POST',
|
||||
}, options),
|
||||
params,
|
||||
requiredParams: ['project', 'instance'],
|
||||
pathParams: ['instance', 'project'],
|
||||
context: this.context,
|
||||
};
|
||||
if (callback) {
|
||||
googleapis_common_1.createAPIRequest(parameters, callback);
|
||||
}
|
||||
else {
|
||||
return googleapis_common_1.createAPIRequest(parameters);
|
||||
}
|
||||
}
|
||||
startExternalSync(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://sqladmin.googleapis.com/';
|
||||
const parameters = {
|
||||
options: Object.assign({
|
||||
url: (rootUrl +
|
||||
'/sql/v1beta4/projects/{project}/instances/{instance}/startExternalSync').replace(/([^:]\/)\/+/g, '$1'),
|
||||
method: 'POST',
|
||||
}, options),
|
||||
params,
|
||||
requiredParams: ['project', 'instance'],
|
||||
pathParams: ['instance', 'project'],
|
||||
context: this.context,
|
||||
};
|
||||
if (callback) {
|
||||
googleapis_common_1.createAPIRequest(parameters, callback);
|
||||
}
|
||||
else {
|
||||
return googleapis_common_1.createAPIRequest(parameters);
|
||||
}
|
||||
}
|
||||
verifyExternalSyncSettings(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://sqladmin.googleapis.com/';
|
||||
const parameters = {
|
||||
options: Object.assign({
|
||||
url: (rootUrl +
|
||||
'/sql/v1beta4/projects/{project}/instances/{instance}/verifyExternalSyncSettings').replace(/([^:]\/)\/+/g, '$1'),
|
||||
method: 'POST',
|
||||
}, options),
|
||||
params,
|
||||
requiredParams: ['project', 'instance'],
|
||||
pathParams: ['instance', 'project'],
|
||||
context: this.context,
|
||||
};
|
||||
if (callback) {
|
||||
googleapis_common_1.createAPIRequest(parameters, callback);
|
||||
}
|
||||
else {
|
||||
return googleapis_common_1.createAPIRequest(parameters);
|
||||
}
|
||||
}
|
||||
}
|
||||
sqladmin_v1beta4.Resource$Projects$Instances = Resource$Projects$Instances;
|
||||
class Resource$Sslcerts {
|
||||
constructor(context) {
|
||||
this.context = context;
|
||||
@@ -1161,7 +1266,7 @@ var sqladmin_v1beta4;
|
||||
callback = optionsOrCallback;
|
||||
options = {};
|
||||
}
|
||||
const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
|
||||
const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';
|
||||
const parameters = {
|
||||
options: Object.assign({
|
||||
url: (rootUrl +
|
||||
@@ -1192,7 +1297,7 @@ var sqladmin_v1beta4;
|
||||
callback = optionsOrCallback;
|
||||
options = {};
|
||||
}
|
||||
const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
|
||||
const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';
|
||||
const parameters = {
|
||||
options: Object.assign({
|
||||
url: (rootUrl +
|
||||
@@ -1223,7 +1328,7 @@ var sqladmin_v1beta4;
|
||||
callback = optionsOrCallback;
|
||||
options = {};
|
||||
}
|
||||
const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
|
||||
const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';
|
||||
const parameters = {
|
||||
options: Object.assign({
|
||||
url: (rootUrl +
|
||||
@@ -1254,7 +1359,7 @@ var sqladmin_v1beta4;
|
||||
callback = optionsOrCallback;
|
||||
options = {};
|
||||
}
|
||||
const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
|
||||
const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';
|
||||
const parameters = {
|
||||
options: Object.assign({
|
||||
url: (rootUrl +
|
||||
@@ -1285,7 +1390,7 @@ var sqladmin_v1beta4;
|
||||
callback = optionsOrCallback;
|
||||
options = {};
|
||||
}
|
||||
const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
|
||||
const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';
|
||||
const parameters = {
|
||||
options: Object.assign({
|
||||
url: (rootUrl +
|
||||
@@ -1322,7 +1427,7 @@ var sqladmin_v1beta4;
|
||||
callback = optionsOrCallback;
|
||||
options = {};
|
||||
}
|
||||
const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
|
||||
const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';
|
||||
const parameters = {
|
||||
options: Object.assign({
|
||||
url: (rootUrl + '/sql/v1beta4/projects/{project}/tiers').replace(/([^:]\/)\/+/g, '$1'),
|
||||
@@ -1358,7 +1463,7 @@ var sqladmin_v1beta4;
|
||||
callback = optionsOrCallback;
|
||||
options = {};
|
||||
}
|
||||
const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
|
||||
const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';
|
||||
const parameters = {
|
||||
options: Object.assign({
|
||||
url: (rootUrl +
|
||||
@@ -1366,7 +1471,7 @@ var sqladmin_v1beta4;
|
||||
method: 'DELETE',
|
||||
}, options),
|
||||
params,
|
||||
requiredParams: ['project', 'instance', 'host', 'name'],
|
||||
requiredParams: ['project', 'instance'],
|
||||
pathParams: ['instance', 'project'],
|
||||
context: this.context,
|
||||
};
|
||||
@@ -1389,7 +1494,7 @@ var sqladmin_v1beta4;
|
||||
callback = optionsOrCallback;
|
||||
options = {};
|
||||
}
|
||||
const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
|
||||
const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';
|
||||
const parameters = {
|
||||
options: Object.assign({
|
||||
url: (rootUrl +
|
||||
@@ -1420,7 +1525,7 @@ var sqladmin_v1beta4;
|
||||
callback = optionsOrCallback;
|
||||
options = {};
|
||||
}
|
||||
const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
|
||||
const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';
|
||||
const parameters = {
|
||||
options: Object.assign({
|
||||
url: (rootUrl +
|
||||
@@ -1451,7 +1556,7 @@ var sqladmin_v1beta4;
|
||||
callback = optionsOrCallback;
|
||||
options = {};
|
||||
}
|
||||
const rootUrl = options.rootUrl || 'https://www.googleapis.com/';
|
||||
const rootUrl = options.rootUrl || 'https://sqladmin.googleapis.com/';
|
||||
const parameters = {
|
||||
options: Object.assign({
|
||||
url: (rootUrl +
|
||||
@@ -1459,7 +1564,7 @@ var sqladmin_v1beta4;
|
||||
method: 'PUT',
|
||||
}, options),
|
||||
params,
|
||||
requiredParams: ['project', 'instance', 'name'],
|
||||
requiredParams: ['project', 'instance'],
|
||||
pathParams: ['instance', 'project'],
|
||||
context: this.context,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user