..
This commit is contained in:
182
backend/node_modules/googleapis/apis/serviceuser/v1.js
generated
vendored
Normal file
182
backend/node_modules/googleapis/apis/serviceuser/v1.js
generated
vendored
Normal file
@@ -0,0 +1,182 @@
|
||||
"use strict";
|
||||
/**
|
||||
* Copyright 2015 Google Inc. All Rights Reserved.
|
||||
*
|
||||
* 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.
|
||||
*/
|
||||
/* jshint maxlen: false */
|
||||
const apirequest_1 = require("../../lib/apirequest");
|
||||
/**
|
||||
* Google Service User API
|
||||
*
|
||||
* Enables services that service consumers want to use on Google Cloud Platform, lists the available or enabled services, or disables services that service consumers no longer use.
|
||||
*
|
||||
* @example
|
||||
* const google = require('googleapis');
|
||||
* const serviceuser = google.serviceuser('v1');
|
||||
*
|
||||
* @namespace serviceuser
|
||||
* @type {Function}
|
||||
* @version v1
|
||||
* @variation v1
|
||||
* @param {object=} options Options for Serviceuser
|
||||
*/
|
||||
function Serviceuser(options) {
|
||||
const self = this;
|
||||
self._options = options || {};
|
||||
self.projects = {
|
||||
services: {
|
||||
/**
|
||||
* serviceuser.projects.services.disable
|
||||
*
|
||||
* @desc Disable a service so it can no longer be used with a project. This prevents unintended usage that may cause unexpected billing charges or security leaks. Operation<response: google.protobuf.Empty>
|
||||
*
|
||||
* @alias serviceuser.projects.services.disable
|
||||
* @memberOf! serviceuser(v1)
|
||||
*
|
||||
* @param {object} params Parameters for request
|
||||
* @param {string} params.name Name of the consumer and the service to disable for that consumer. The Service User implementation accepts the following forms for consumer: - "project:<project_id>" A valid path would be: - /v1/projects/my-project/services/servicemanagement.googleapis.com:disable
|
||||
* @param {serviceuser(v1).DisableServiceRequest} params.resource Request body data
|
||||
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
|
||||
* @param {callback} callback The callback that handles the response.
|
||||
* @return {object} Request object
|
||||
*/
|
||||
disable: function (params, options, callback) {
|
||||
if (typeof options === 'function') {
|
||||
callback = options;
|
||||
options = {};
|
||||
}
|
||||
options || (options = {});
|
||||
const rootUrl = options.rootUrl || 'https://serviceuser.googleapis.com/';
|
||||
const parameters = {
|
||||
options: Object.assign({
|
||||
url: (rootUrl + '/v1/{name}:disable').replace(/([^:]\/)\/+/g, '$1'),
|
||||
method: 'POST'
|
||||
}, options),
|
||||
params: params,
|
||||
requiredParams: ['name'],
|
||||
pathParams: ['name'],
|
||||
context: self
|
||||
};
|
||||
return apirequest_1.default(parameters, callback);
|
||||
},
|
||||
/**
|
||||
* serviceuser.projects.services.enable
|
||||
*
|
||||
* @desc Enable a service so it can be used with a project. See [Cloud Auth Guide](https://cloud.google.com/docs/authentication) for more information. Operation<response: google.protobuf.Empty>
|
||||
*
|
||||
* @alias serviceuser.projects.services.enable
|
||||
* @memberOf! serviceuser(v1)
|
||||
*
|
||||
* @param {object} params Parameters for request
|
||||
* @param {string} params.name Name of the consumer and the service to enable for that consumer. A valid path would be: - /v1/projects/my-project/services/servicemanagement.googleapis.com:enable
|
||||
* @param {serviceuser(v1).EnableServiceRequest} params.resource Request body data
|
||||
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
|
||||
* @param {callback} callback The callback that handles the response.
|
||||
* @return {object} Request object
|
||||
*/
|
||||
enable: function (params, options, callback) {
|
||||
if (typeof options === 'function') {
|
||||
callback = options;
|
||||
options = {};
|
||||
}
|
||||
options || (options = {});
|
||||
const rootUrl = options.rootUrl || 'https://serviceuser.googleapis.com/';
|
||||
const parameters = {
|
||||
options: Object.assign({
|
||||
url: (rootUrl + '/v1/{name}:enable').replace(/([^:]\/)\/+/g, '$1'),
|
||||
method: 'POST'
|
||||
}, options),
|
||||
params: params,
|
||||
requiredParams: ['name'],
|
||||
pathParams: ['name'],
|
||||
context: self
|
||||
};
|
||||
return apirequest_1.default(parameters, callback);
|
||||
},
|
||||
/**
|
||||
* serviceuser.projects.services.list
|
||||
*
|
||||
* @desc List enabled services for the specified consumer.
|
||||
*
|
||||
* @alias serviceuser.projects.services.list
|
||||
* @memberOf! serviceuser(v1)
|
||||
*
|
||||
* @param {object} params Parameters for request
|
||||
* @param {integer=} params.pageSize Requested size of the next page of data.
|
||||
* @param {string=} params.pageToken Token identifying which result to start with; returned by a previous list call.
|
||||
* @param {string} params.parent List enabled services for the specified parent. An example valid parent would be: - projects/my-project
|
||||
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
|
||||
* @param {callback} callback The callback that handles the response.
|
||||
* @return {object} Request object
|
||||
*/
|
||||
list: function (params, options, callback) {
|
||||
if (typeof options === 'function') {
|
||||
callback = options;
|
||||
options = {};
|
||||
}
|
||||
options || (options = {});
|
||||
const rootUrl = options.rootUrl || 'https://serviceuser.googleapis.com/';
|
||||
const parameters = {
|
||||
options: Object.assign({
|
||||
url: (rootUrl + '/v1/{parent}/services').replace(/([^:]\/)\/+/g, '$1'),
|
||||
method: 'GET'
|
||||
}, options),
|
||||
params: params,
|
||||
requiredParams: ['parent'],
|
||||
pathParams: ['parent'],
|
||||
context: self
|
||||
};
|
||||
return apirequest_1.default(parameters, callback);
|
||||
}
|
||||
}
|
||||
};
|
||||
self.services = {
|
||||
/**
|
||||
* serviceuser.services.search
|
||||
*
|
||||
* @desc Search available services. When no filter is specified, returns all accessible services. For authenticated users, also returns all services the calling user has "servicemanagement.services.bind" permission for.
|
||||
*
|
||||
* @alias serviceuser.services.search
|
||||
* @memberOf! serviceuser(v1)
|
||||
*
|
||||
* @param {object} params Parameters for request
|
||||
* @param {integer=} params.pageSize Requested size of the next page of data.
|
||||
* @param {string=} params.pageToken Token identifying which result to start with; returned by a previous list call.
|
||||
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
|
||||
* @param {callback} callback The callback that handles the response.
|
||||
* @return {object} Request object
|
||||
*/
|
||||
search: function (params, options, callback) {
|
||||
if (typeof options === 'function') {
|
||||
callback = options;
|
||||
options = {};
|
||||
}
|
||||
options || (options = {});
|
||||
const rootUrl = options.rootUrl || 'https://serviceuser.googleapis.com/';
|
||||
const parameters = {
|
||||
options: Object.assign({
|
||||
url: (rootUrl + '/v1/services:search').replace(/([^:]\/)\/+/g, '$1'),
|
||||
method: 'GET'
|
||||
}, options),
|
||||
params: params,
|
||||
requiredParams: [],
|
||||
pathParams: [],
|
||||
context: self
|
||||
};
|
||||
return apirequest_1.default(parameters, callback);
|
||||
}
|
||||
};
|
||||
}
|
||||
module.exports = Serviceuser;
|
||||
//# sourceMappingURL=v1.js.map
|
||||
1
backend/node_modules/googleapis/apis/serviceuser/v1.js.map
generated
vendored
Normal file
1
backend/node_modules/googleapis/apis/serviceuser/v1.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"v1.js","sourceRoot":"","sources":["v1.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,0BAA0B;AAE1B,qDAAoD;AAEpD;;;;;;;;;;;;;;GAcG;AACH,qBAAqB,OAAO;IAC1B,MAAM,IAAI,GAAG,IAAI,CAAC;IAClB,IAAI,CAAC,QAAQ,GAAG,OAAO,IAAI,EAAE,CAAC;IAE9B,IAAI,CAAC,QAAQ,GAAG;QACd,QAAQ,EAAE;YAER;;;;;;;;;;;;;;eAcG;YACH,OAAO,EAAE,UAAU,MAAM,EAAE,OAAO,EAAE,QAAQ;gBAC1C,EAAE,CAAC,CAAC,OAAO,OAAO,KAAK,UAAU,CAAC,CAAC,CAAC;oBAClC,QAAQ,GAAG,OAAO,CAAC;oBACnB,OAAO,GAAG,EAAE,CAAC;gBACf,CAAC;gBACD,OAAO,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC,CAAC;g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,CAAC,MAAM,CAAC;oBACrB,GAAG,EAAE,CAAC,OAAO,GAAG,qBAAqB,CAAC,CAAC,OAAO,CAAC,cAAc,EAAE,IAAI,CAAC;oBACpE,MAAM,EAAE,KAAK;iBACd,EAAE,OAAO,CAAC;gBACX,MAAM,EAAE,MAAM;gBACd,cAAc,EAAE,EAAE;gBAClB,UAAU,EAAE,EAAE;gBACd,OAAO,EAAE,IAAI;aACd,CAAC;YAEF,MAAM,CAAC,oBAAgB,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;QAChD,CAAC;KAEF,CAAC;AACJ,CAAC;AA4pCD,iBAAS,WAAW,CAAC"}
|
||||
1381
backend/node_modules/googleapis/apis/serviceuser/v1.ts
generated
vendored
Normal file
1381
backend/node_modules/googleapis/apis/serviceuser/v1.ts
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user