Skip to content

Commit 1370b3b

Browse files
feat: Update Compute Engine API to revision 20230307 (#770)
Source-Link: googleapis/googleapis@c2016e5 Source-Link: googleapis/googleapis-gen@0885fd7 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWNvbXB1dGUvLk93bEJvdC55YW1sIiwiaCI6IjA4ODVmZDdhZThhODA1YTM3Nzk3NGVkZmJhNjBhYjdjOTMyN2Y3NWEifQ==
1 parent e7b8d25 commit 1370b3b

File tree

1,093 files changed

+359932
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,093 files changed

+359932
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
**/node_modules
2+
**/.coverage
3+
build/
4+
docs/
5+
protos/
6+
system-test/
7+
samples/generated/
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": "./node_modules/gts"
3+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
**/*.log
2+
**/node_modules
3+
/.coverage
4+
/coverage
5+
/.nyc_output
6+
/docs/
7+
/out/
8+
/build/
9+
system-test/secrets.js
10+
system-test/*key.json
11+
*.lock
12+
.DS_Store
13+
package-lock.json
14+
__pycache__
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
// Copyright 2023 Google LLC
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// https://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
//
15+
// ** This file is automatically generated by gapic-generator-typescript. **
16+
// ** https://github.com/googleapis/gapic-generator-typescript **
17+
// ** All changes to this file may be overwritten. **
18+
19+
'use strict';
20+
21+
module.exports = {
22+
opts: {
23+
readme: './README.md',
24+
package: './package.json',
25+
template: './node_modules/jsdoc-fresh',
26+
recurse: true,
27+
verbose: true,
28+
destination: './docs/'
29+
},
30+
plugins: [
31+
'plugins/markdown',
32+
'jsdoc-region-tag'
33+
],
34+
source: {
35+
excludePattern: '(^|\\/|\\\\)[._]',
36+
include: [
37+
'build/src',
38+
'protos'
39+
],
40+
includePattern: '\\.js$'
41+
},
42+
templates: {
43+
copyright: 'Copyright 2023 Google LLC',
44+
includeDate: false,
45+
sourceFiles: false,
46+
systemName: '@google-cloud/compute',
47+
theme: 'lumen',
48+
default: {
49+
outputSourceFiles: false
50+
}
51+
},
52+
markdown: {
53+
idInHeadings: true
54+
}
55+
};
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
// Copyright 2023 Google LLC
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// https://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
//
15+
// ** This file is automatically generated by gapic-generator-typescript. **
16+
// ** https://github.com/googleapis/gapic-generator-typescript **
17+
// ** All changes to this file may be overwritten. **
18+
19+
const config = {
20+
"enable-source-maps": true,
21+
"throw-deprecation": true,
22+
"timeout": 10000
23+
}
24+
if (process.env.MOCHA_THROW_DEPRECATION === 'false') {
25+
delete config['throw-deprecation'];
26+
}
27+
if (process.env.MOCHA_REPORTER) {
28+
config.reporter = process.env.MOCHA_REPORTER;
29+
}
30+
if (process.env.MOCHA_REPORTER_OUTPUT) {
31+
config['reporter-option'] = `output=${process.env.MOCHA_REPORTER_OUTPUT}`;
32+
}
33+
module.exports = config
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
// Copyright 2023 Google LLC
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// https://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
//
15+
// ** This file is automatically generated by gapic-generator-typescript. **
16+
// ** https://github.com/googleapis/gapic-generator-typescript **
17+
// ** All changes to this file may be overwritten. **
18+
19+
20+
module.exports = {
21+
...require('gts/.prettierrc.json')
22+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Compute: Nodejs Client
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"recurse": true,
3+
"skip": [
4+
"https://codecov.io/gh/googleapis/",
5+
"www.googleapis.com",
6+
"img.shields.io",
7+
"https://console.cloud.google.com/cloudshell",
8+
"https://support.google.com"
9+
],
10+
"silent": true,
11+
"concurrency": 5,
12+
"retry": true,
13+
"retryErrors": true,
14+
"retryErrorsCount": 5,
15+
"retryErrorsJitter": 3000
16+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,152 @@
1+
{
2+
"name": "@google-cloud/compute",
3+
"version": "0.1.0",
4+
"description": "Compute client for Node.js",
5+
"repository": "googleapis/nodejs-compute",
6+
"license": "Apache-2.0",
7+
"author": "Google LLC",
8+
"main": "build/src/index.js",
9+
"files": [
10+
"build/src",
11+
"build/protos"
12+
],
13+
"keywords": [
14+
"google apis client",
15+
"google api client",
16+
"google apis",
17+
"google api",
18+
"google",
19+
"google cloud platform",
20+
"google cloud",
21+
"cloud",
22+
"google compute",
23+
"compute",
24+
"accelerator types",
25+
"addresses",
26+
"autoscalers",
27+
"backend buckets",
28+
"backend services",
29+
"disks",
30+
"disk types",
31+
"external vpn gateways",
32+
"firewall policies",
33+
"firewalls",
34+
"forwarding rules",
35+
"global addresses",
36+
"global forwarding rules",
37+
"global network endpoint groups",
38+
"global operations",
39+
"global organization operations",
40+
"global public delegated prefixes",
41+
"health checks",
42+
"image family views",
43+
"images",
44+
"instance group managers",
45+
"instance groups",
46+
"instances",
47+
"instance templates",
48+
"interconnect attachments",
49+
"interconnect locations",
50+
"interconnects",
51+
"license codes",
52+
"licenses",
53+
"machine images",
54+
"machine types",
55+
"network attachments",
56+
"network edge security services",
57+
"network endpoint groups",
58+
"network firewall policies",
59+
"networks",
60+
"node groups",
61+
"node templates",
62+
"node types",
63+
"packet mirrorings",
64+
"projects",
65+
"public advertised prefixes",
66+
"public delegated prefixes",
67+
"region autoscalers",
68+
"region backend services",
69+
"region commitments",
70+
"region disks",
71+
"region disk types",
72+
"region health checks",
73+
"region health check services",
74+
"region instance group managers",
75+
"region instance groups",
76+
"region instances",
77+
"region instance templates",
78+
"region network endpoint groups",
79+
"region network firewall policies",
80+
"region notification endpoints",
81+
"region operations",
82+
"regions",
83+
"region security policies",
84+
"region ssl certificates",
85+
"region ssl policies",
86+
"region target http proxies",
87+
"region target https proxies",
88+
"region target tcp proxies",
89+
"region url maps",
90+
"reservations",
91+
"resource policies",
92+
"routers",
93+
"routes",
94+
"security policies",
95+
"service attachments",
96+
"snapshots",
97+
"ssl certificates",
98+
"ssl policies",
99+
"subnetworks",
100+
"target grpc proxies",
101+
"target http proxies",
102+
"target https proxies",
103+
"target instances",
104+
"target pools",
105+
"target ssl proxies",
106+
"target tcp proxies",
107+
"target vpn gateways",
108+
"url maps",
109+
"vpn gateways",
110+
"vpn tunnels",
111+
"zone operations",
112+
"zones"
113+
],
114+
"scripts": {
115+
"clean": "gts clean",
116+
"compile": "tsc -p . && cp -r protos build/ && minifyProtoJson",
117+
"compile-protos": "compileProtos src",
118+
"docs": "jsdoc -c .jsdoc.js",
119+
"predocs-test": "npm run docs",
120+
"docs-test": "linkinator docs",
121+
"fix": "gts fix",
122+
"lint": "gts check",
123+
"prepare": "npm run compile-protos && npm run compile",
124+
"system-test": "c8 mocha build/system-test",
125+
"test": "c8 mocha build/test"
126+
},
127+
"dependencies": {
128+
"google-gax": "^3.5.7"
129+
},
130+
"devDependencies": {
131+
"@types/mocha": "^10.0.1",
132+
"@types/node": "^18.11.18",
133+
"@types/sinon": "^10.0.13",
134+
"c8": "^7.12.0",
135+
"gts": "^3.1.1",
136+
"jsdoc": "^4.0.0",
137+
"jsdoc-fresh": "^2.0.1",
138+
"jsdoc-region-tag": "^2.0.1",
139+
"linkinator": "^4.1.2",
140+
"mocha": "^10.2.0",
141+
"null-loader": "^4.0.1",
142+
"pack-n-play": "^1.0.0-2",
143+
"sinon": "^15.0.1",
144+
"ts-loader": "^8.4.0",
145+
"typescript": "^4.8.4",
146+
"webpack": "^4.46.0",
147+
"webpack-cli": "^4.10.0"
148+
},
149+
"engines": {
150+
"node": ">=v12"
151+
}
152+
}

0 commit comments

Comments
 (0)