googleapis
Advanced tools
Comparing version 115.0.0 to 116.0.0
@@ -58,3 +58,2 @@ "use strict"; | ||
this.operations = new Resource$Projects$Locations$Operations(this.context); | ||
this.rules = new Resource$Projects$Locations$Rules(this.context); | ||
} | ||
@@ -128,3 +127,2 @@ get(paramsOrCallback, optionsOrCallback, callback) { | ||
this.context = context; | ||
this.executions = new Resource$Projects$Locations$Evaluations$Executions(this.context); | ||
} | ||
@@ -226,184 +224,2 @@ create(paramsOrCallback, optionsOrCallback, callback) { | ||
workloadmanager_v1.Resource$Projects$Locations$Evaluations = Resource$Projects$Locations$Evaluations; | ||
class Resource$Projects$Locations$Evaluations$Executions { | ||
constructor(context) { | ||
this.context = context; | ||
this.results = | ||
new Resource$Projects$Locations$Evaluations$Executions$Results(this.context); | ||
this.scannedResources = | ||
new Resource$Projects$Locations$Evaluations$Executions$Scannedresources(this.context); | ||
} | ||
get(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://workloadmanager.googleapis.com/'; | ||
const parameters = { | ||
options: Object.assign({ | ||
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), | ||
method: 'GET', | ||
}, options), | ||
params, | ||
requiredParams: ['name'], | ||
pathParams: ['name'], | ||
context: this.context, | ||
}; | ||
if (callback) { | ||
(0, googleapis_common_1.createAPIRequest)(parameters, callback); | ||
} | ||
else { | ||
return (0, googleapis_common_1.createAPIRequest)(parameters); | ||
} | ||
} | ||
list(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://workloadmanager.googleapis.com/'; | ||
const parameters = { | ||
options: Object.assign({ | ||
url: (rootUrl + '/v1/{+parent}/executions').replace(/([^:]\/)\/+/g, '$1'), | ||
method: 'GET', | ||
}, options), | ||
params, | ||
requiredParams: ['parent'], | ||
pathParams: ['parent'], | ||
context: this.context, | ||
}; | ||
if (callback) { | ||
(0, googleapis_common_1.createAPIRequest)(parameters, callback); | ||
} | ||
else { | ||
return (0, googleapis_common_1.createAPIRequest)(parameters); | ||
} | ||
} | ||
run(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://workloadmanager.googleapis.com/'; | ||
const parameters = { | ||
options: Object.assign({ | ||
url: (rootUrl + '/v1/{+name}/executions:run').replace(/([^:]\/)\/+/g, '$1'), | ||
method: 'POST', | ||
}, options), | ||
params, | ||
requiredParams: ['name'], | ||
pathParams: ['name'], | ||
context: this.context, | ||
}; | ||
if (callback) { | ||
(0, googleapis_common_1.createAPIRequest)(parameters, callback); | ||
} | ||
else { | ||
return (0, googleapis_common_1.createAPIRequest)(parameters); | ||
} | ||
} | ||
} | ||
workloadmanager_v1.Resource$Projects$Locations$Evaluations$Executions = Resource$Projects$Locations$Evaluations$Executions; | ||
class Resource$Projects$Locations$Evaluations$Executions$Results { | ||
constructor(context) { | ||
this.context = context; | ||
} | ||
list(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://workloadmanager.googleapis.com/'; | ||
const parameters = { | ||
options: Object.assign({ | ||
url: (rootUrl + '/v1/{+parent}/results').replace(/([^:]\/)\/+/g, '$1'), | ||
method: 'GET', | ||
}, options), | ||
params, | ||
requiredParams: ['parent'], | ||
pathParams: ['parent'], | ||
context: this.context, | ||
}; | ||
if (callback) { | ||
(0, googleapis_common_1.createAPIRequest)(parameters, callback); | ||
} | ||
else { | ||
return (0, googleapis_common_1.createAPIRequest)(parameters); | ||
} | ||
} | ||
} | ||
workloadmanager_v1.Resource$Projects$Locations$Evaluations$Executions$Results = Resource$Projects$Locations$Evaluations$Executions$Results; | ||
class Resource$Projects$Locations$Evaluations$Executions$Scannedresources { | ||
constructor(context) { | ||
this.context = context; | ||
} | ||
list(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://workloadmanager.googleapis.com/'; | ||
const parameters = { | ||
options: Object.assign({ | ||
url: (rootUrl + '/v1/{+parent}/scannedResources').replace(/([^:]\/)\/+/g, '$1'), | ||
method: 'GET', | ||
}, options), | ||
params, | ||
requiredParams: ['parent'], | ||
pathParams: ['parent'], | ||
context: this.context, | ||
}; | ||
if (callback) { | ||
(0, googleapis_common_1.createAPIRequest)(parameters, callback); | ||
} | ||
else { | ||
return (0, googleapis_common_1.createAPIRequest)(parameters); | ||
} | ||
} | ||
} | ||
workloadmanager_v1.Resource$Projects$Locations$Evaluations$Executions$Scannedresources = Resource$Projects$Locations$Evaluations$Executions$Scannedresources; | ||
class Resource$Projects$Locations$Insights { | ||
@@ -576,39 +392,2 @@ constructor(context) { | ||
workloadmanager_v1.Resource$Projects$Locations$Operations = Resource$Projects$Locations$Operations; | ||
class Resource$Projects$Locations$Rules { | ||
constructor(context) { | ||
this.context = context; | ||
} | ||
list(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://workloadmanager.googleapis.com/'; | ||
const parameters = { | ||
options: Object.assign({ | ||
url: (rootUrl + '/v1/{+parent}/rules').replace(/([^:]\/)\/+/g, '$1'), | ||
method: 'GET', | ||
}, options), | ||
params, | ||
requiredParams: ['parent'], | ||
pathParams: ['parent'], | ||
context: this.context, | ||
}; | ||
if (callback) { | ||
(0, googleapis_common_1.createAPIRequest)(parameters, callback); | ||
} | ||
else { | ||
return (0, googleapis_common_1.createAPIRequest)(parameters); | ||
} | ||
} | ||
} | ||
workloadmanager_v1.Resource$Projects$Locations$Rules = Resource$Projects$Locations$Rules; | ||
})(workloadmanager_v1 = exports.workloadmanager_v1 || (exports.workloadmanager_v1 = {})); |
{ | ||
"name": "googleapis", | ||
"version": "115.0.0", | ||
"version": "116.0.0", | ||
"repository": "googleapis/google-api-nodejs-client", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
126994293
2216797