Skip to content

Commit 6f465e6

Browse files
yoshi-automationsofisl
authored andcommitted
fix(securityposture): update the API
1 parent 39f00e4 commit 6f465e6

File tree

7 files changed

+5765
-0
lines changed

7 files changed

+5765
-0
lines changed

‎discovery/securityposture-v1.json

Lines changed: 2136 additions & 0 deletions
Large diffs are not rendered by default.

‎src/apis/securityposture/README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<img src="https://avatars0.githubusercontent.com/u/1342004?v=3&s=96" alt="Google Inc. logo" title="Google" align="right" height="96" width="96"/>
2+
3+
# securityposture
4+
5+
> Defines, assesses, and monitors the overall status of your security in Google Cloud. You can use security postures to evaluate your current cloud security against defined benchmarks and help maintain the level of security that your organization requires.
6+
7+
## Installation
8+
9+
```sh
10+
$ npm install @googleapis/securityposture
11+
```
12+
13+
## Usage
14+
All documentation and usage information can be found on [GitHub](https://github.com/googleapis/google-api-nodejs-client).
15+
Information on classes can be found in [Googleapis Documentation](https://googleapis.dev/nodejs/googleapis/latest/securityposture/classes/Securityposture.html).
16+
17+
## License
18+
This library is licensed under Apache 2.0. Full license text is available in [LICENSE](https://github.com/googleapis/google-api-nodejs-client/blob/main/LICENSE).
19+
20+
## Contributing
21+
We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/main/.github/CONTRIBUTING.md).
22+
23+
## Questions/problems?
24+
* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client).
25+
* If you've found an bug/issue, please [file it on GitHub](https://github.com/googleapis/google-api-nodejs-client/issues).
26+
27+
28+
*Crafted with ❤️ by the Google Node.js team*

‎src/apis/securityposture/index.ts

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
// Copyright 2020 Google LLC
2+
// Licensed under the Apache License, Version 2.0 (the "License");
3+
// you may not use this file except in compliance with the License.
4+
// You may obtain a copy of the License at
5+
//
6+
// http://www.apache.org/licenses/LICENSE-2.0
7+
//
8+
// Unless required by applicable law or agreed to in writing, software
9+
// distributed under the License is distributed on an "AS IS" BASIS,
10+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
// See the License for the specific language governing permissions and
12+
// limitations under the License.
13+
14+
/*! THIS FILE IS AUTO-GENERATED */
15+
16+
import {AuthPlus, getAPI, GoogleConfigurable} from 'googleapis-common';
17+
import {securityposture_v1} from './v1';
18+
19+
export const VERSIONS = {
20+
v1: securityposture_v1.Securityposture,
21+
};
22+
23+
export function securityposture(
24+
version: 'v1'
25+
): securityposture_v1.Securityposture;
26+
export function securityposture(
27+
options: securityposture_v1.Options
28+
): securityposture_v1.Securityposture;
29+
export function securityposture<T = securityposture_v1.Securityposture>(
30+
this: GoogleConfigurable,
31+
versionOrOptions: 'v1' | securityposture_v1.Options
32+
) {
33+
return getAPI<T>('securityposture', versionOrOptions, VERSIONS, this);
34+
}
35+
36+
const auth = new AuthPlus();
37+
export {auth};
38+
export {securityposture_v1};
39+
export {
40+
AuthPlus,
41+
GlobalOptions,
42+
APIRequestContext,
43+
GoogleConfigurable,
44+
StreamMethodOptions,
45+
GaxiosPromise,
46+
MethodOptions,
47+
BodyResponseCallback,
48+
} from 'googleapis-common';

‎src/apis/securityposture/package.json

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"name": "@googleapis/securityposture",
3+
"version": "0.1.0",
4+
"description": "securityposture",
5+
"main": "build/index.js",
6+
"types": "build/index.d.ts",
7+
"keywords": [
8+
"google"
9+
],
10+
"author": "Google LLC",
11+
"license": "Apache-2.0",
12+
"homepage": "https://github.com/googleapis/google-api-nodejs-client",
13+
"bugs": {
14+
"url": "https://github.com/googleapis/google-api-nodejs-client/issues"
15+
},
16+
"repository": {
17+
"type": "git",
18+
"url": "https://github.com/googleapis/google-api-nodejs-client.git"
19+
},
20+
"engines": {
21+
"node": ">=12.0.0"
22+
},
23+
"scripts": {
24+
"fix": "gts fix",
25+
"lint": "gts check",
26+
"compile": "tsc -p .",
27+
"prepare": "npm run compile",
28+
"webpack": "webpack"
29+
},
30+
"dependencies": {
31+
"googleapis-common": "^7.0.0"
32+
},
33+
"devDependencies": {
34+
"@microsoft/api-documenter": "^7.8.10",
35+
"@microsoft/api-extractor": "^7.8.10",
36+
"gts": "^5.0.0",
37+
"null-loader": "^4.0.0",
38+
"ts-loader": "^9.0.0",
39+
"typescript": "~4.8.4",
40+
"webpack": "^5.0.0",
41+
"webpack-cli": "^5.0.0"
42+
}
43+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"extends": "./node_modules/gts/tsconfig-google.json",
3+
"compilerOptions": {
4+
"rootDir": ".",
5+
"outDir": "build"
6+
},
7+
"include": [
8+
"*.ts",
9+
]
10+
}

0 commit comments

Comments
 (0)