googleapis
Advanced tools
Comparing version 121.0.0 to 122.0.0
@@ -42,2 +42,3 @@ "use strict"; | ||
this.enterprises = new Resource$Enterprises(this.context); | ||
this.provisioningInfo = new Resource$Provisioninginfo(this.context); | ||
this.signupUrls = new Resource$Signupurls(this.context); | ||
@@ -999,2 +1000,39 @@ } | ||
androidmanagement_v1.Resource$Enterprises$Webtokens = Resource$Enterprises$Webtokens; | ||
class Resource$Provisioninginfo { | ||
constructor(context) { | ||
this.context = 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://androidmanagement.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); | ||
} | ||
} | ||
} | ||
androidmanagement_v1.Resource$Provisioninginfo = Resource$Provisioninginfo; | ||
class Resource$Signupurls { | ||
@@ -1001,0 +1039,0 @@ constructor(context) { |
@@ -42,2 +42,3 @@ "use strict"; | ||
this.apps = new Resource$Apps(this.context); | ||
this.projects = new Resource$Projects(this.context); | ||
} | ||
@@ -1309,2 +1310,201 @@ } | ||
appengine_v1.Resource$Apps$Services$Versions$Instances = Resource$Apps$Services$Versions$Instances; | ||
class Resource$Projects { | ||
constructor(context) { | ||
this.context = context; | ||
this.locations = new Resource$Projects$Locations(this.context); | ||
} | ||
} | ||
appengine_v1.Resource$Projects = Resource$Projects; | ||
class Resource$Projects$Locations { | ||
constructor(context) { | ||
this.context = context; | ||
this.applications = new Resource$Projects$Locations$Applications(this.context); | ||
} | ||
} | ||
appengine_v1.Resource$Projects$Locations = Resource$Projects$Locations; | ||
class Resource$Projects$Locations$Applications { | ||
constructor(context) { | ||
this.context = context; | ||
this.services = new Resource$Projects$Locations$Applications$Services(this.context); | ||
} | ||
create(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://appengine.googleapis.com/'; | ||
const parameters = { | ||
options: Object.assign({ | ||
url: (rootUrl + | ||
'/v1/projects/{projectsId}/locations/{locationsId}/applications').replace(/([^:]\/)\/+/g, '$1'), | ||
method: 'POST', | ||
}, options), | ||
params, | ||
requiredParams: ['projectsId', 'locationsId'], | ||
pathParams: ['locationsId', 'projectsId'], | ||
context: this.context, | ||
}; | ||
if (callback) { | ||
(0, googleapis_common_1.createAPIRequest)(parameters, callback); | ||
} | ||
else { | ||
return (0, googleapis_common_1.createAPIRequest)(parameters); | ||
} | ||
} | ||
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://appengine.googleapis.com/'; | ||
const parameters = { | ||
options: Object.assign({ | ||
url: (rootUrl + | ||
'/v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}').replace(/([^:]\/)\/+/g, '$1'), | ||
method: 'GET', | ||
}, options), | ||
params, | ||
requiredParams: ['projectsId', 'locationsId', 'applicationsId'], | ||
pathParams: ['applicationsId', 'locationsId', 'projectsId'], | ||
context: this.context, | ||
}; | ||
if (callback) { | ||
(0, googleapis_common_1.createAPIRequest)(parameters, callback); | ||
} | ||
else { | ||
return (0, googleapis_common_1.createAPIRequest)(parameters); | ||
} | ||
} | ||
repair(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://appengine.googleapis.com/'; | ||
const parameters = { | ||
options: Object.assign({ | ||
url: (rootUrl + | ||
'/v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}:repair').replace(/([^:]\/)\/+/g, '$1'), | ||
method: 'POST', | ||
}, options), | ||
params, | ||
requiredParams: ['projectsId', 'locationsId', 'applicationsId'], | ||
pathParams: ['applicationsId', 'locationsId', 'projectsId'], | ||
context: this.context, | ||
}; | ||
if (callback) { | ||
(0, googleapis_common_1.createAPIRequest)(parameters, callback); | ||
} | ||
else { | ||
return (0, googleapis_common_1.createAPIRequest)(parameters); | ||
} | ||
} | ||
} | ||
appengine_v1.Resource$Projects$Locations$Applications = Resource$Projects$Locations$Applications; | ||
class Resource$Projects$Locations$Applications$Services { | ||
constructor(context) { | ||
this.context = 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://appengine.googleapis.com/'; | ||
const parameters = { | ||
options: Object.assign({ | ||
url: (rootUrl + | ||
'/v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/services/{servicesId}').replace(/([^:]\/)\/+/g, '$1'), | ||
method: 'GET', | ||
}, options), | ||
params, | ||
requiredParams: [ | ||
'projectsId', | ||
'locationsId', | ||
'applicationsId', | ||
'servicesId', | ||
], | ||
pathParams: [ | ||
'applicationsId', | ||
'locationsId', | ||
'projectsId', | ||
'servicesId', | ||
], | ||
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://appengine.googleapis.com/'; | ||
const parameters = { | ||
options: Object.assign({ | ||
url: (rootUrl + | ||
'/v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/services').replace(/([^:]\/)\/+/g, '$1'), | ||
method: 'GET', | ||
}, options), | ||
params, | ||
requiredParams: ['projectsId', 'locationsId', 'applicationsId'], | ||
pathParams: ['applicationsId', 'locationsId', 'projectsId'], | ||
context: this.context, | ||
}; | ||
if (callback) { | ||
(0, googleapis_common_1.createAPIRequest)(parameters, callback); | ||
} | ||
else { | ||
return (0, googleapis_common_1.createAPIRequest)(parameters); | ||
} | ||
} | ||
} | ||
appengine_v1.Resource$Projects$Locations$Applications$Services = Resource$Projects$Locations$Applications$Services; | ||
})(appengine_v1 = exports.appengine_v1 || (exports.appengine_v1 = {})); |
@@ -734,3 +734,3 @@ /// <reference types="node" /> | ||
/** | ||
* The precincts that match this voter's address. Will only be returned for project IDs which have been allowlisted as "partner projects". | ||
* The precincts that match this voter's address. Will only be returned for project IDs which have been whitelisted as "partner projects". | ||
*/ | ||
@@ -839,6 +839,3 @@ precincts?: Schema$Precinct[]; | ||
* // Do the magic | ||
* const res = await civicinfo.elections.electionQuery({ | ||
* // Whether to include data that has not been allowlisted yet | ||
* productionDataOnly: 'placeholder-value', | ||
* }); | ||
* const res = await civicinfo.elections.electionQuery({}); | ||
* console.log(res.data); | ||
@@ -904,4 +901,2 @@ * | ||
* officialOnly: 'placeholder-value', | ||
* // Whether to include data that has not been vetted yet. Should only be made available to internal IPs or trusted partners. This is a non-discoverable parameter in the One Platform API config. | ||
* productionDataOnly: 'placeholder-value', | ||
* // If set to true, the query will return the success code and include any partial information when it is unable to determine a matching address or unable to determine the election for electionId=0 queries. | ||
@@ -949,6 +944,2 @@ * returnAllAvailableData: 'placeholder-value', | ||
export interface Params$Resource$Elections$Electionquery extends StandardParameters { | ||
/** | ||
* Whether to include data that has not been allowlisted yet | ||
*/ | ||
productionDataOnly?: boolean; | ||
} | ||
@@ -969,6 +960,2 @@ export interface Params$Resource$Elections$Voterinfoquery extends StandardParameters { | ||
/** | ||
* Whether to include data that has not been vetted yet. Should only be made available to internal IPs or trusted partners. This is a non-discoverable parameter in the One Platform API config. | ||
*/ | ||
productionDataOnly?: boolean; | ||
/** | ||
* If set to true, the query will return the success code and include any partial information when it is unable to determine a matching address or unable to determine the election for electionId=0 queries. | ||
@@ -975,0 +962,0 @@ */ |
@@ -729,2 +729,33 @@ "use strict"; | ||
} | ||
exportSBOM(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://containeranalysis.googleapis.com/'; | ||
const parameters = { | ||
options: Object.assign({ | ||
url: (rootUrl + '/v1beta1/{+name}:exportSBOM').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); | ||
} | ||
} | ||
generatePackagesSummary(paramsOrCallback, optionsOrCallback, callback) { | ||
@@ -731,0 +762,0 @@ let params = (paramsOrCallback || |
@@ -404,2 +404,4 @@ /// <reference types="node" /> | ||
* pageToken: 'placeholder-value', | ||
* // Optional. A list of resource types that this request searches for. If empty, it will search all the [trackable resource types](https://cloud.google.com/kms/docs/view-key-usage#tracked-resource-types). Regular expressions are also supported. For example: * `compute.googleapis.com.*` snapshots resources whose type starts with `compute.googleapis.com`. * `.*Image` snapshots resources whose type ends with `Image`. * `.*Image.*` snapshots resources whose type contains `Image`. See [RE2](https://github.com/google/re2/wiki/Syntax) for all supported regular expression syntax. If the regular expression does not match any supported resource type, an INVALID_ARGUMENT error will be returned. | ||
* resourceTypes: 'placeholder-value', | ||
* // Required. Resource name of the organization. Example: organizations/123 | ||
@@ -450,2 +452,6 @@ * scope: 'organizations/my-organization', | ||
/** | ||
* Optional. A list of resource types that this request searches for. If empty, it will search all the [trackable resource types](https://cloud.google.com/kms/docs/view-key-usage#tracked-resource-types). Regular expressions are also supported. For example: * `compute.googleapis.com.*` snapshots resources whose type starts with `compute.googleapis.com`. * `.*Image` snapshots resources whose type ends with `Image`. * `.*Image.*` snapshots resources whose type contains `Image`. See [RE2](https://github.com/google/re2/wiki/Syntax) for all supported regular expression syntax. If the regular expression does not match any supported resource type, an INVALID_ARGUMENT error will be returned. | ||
*/ | ||
resourceTypes?: string[]; | ||
/** | ||
* Required. Resource name of the organization. Example: organizations/123 | ||
@@ -452,0 +458,0 @@ */ |
{ | ||
"name": "googleapis", | ||
"version": "121.0.0", | ||
"version": "122.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
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
129651824
2253231