@maxim_mazurok/gapi.client.networkmanagement-v1 0.0.20220908 → 0.0.20220922
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +9 -2
- package/package.json +1 -1
- package/tests.ts +21 -1
package/index.d.ts
CHANGED
|
@@ -4,13 +4,12 @@
|
|
|
4
4
|
// Nick Amoscato <https://github.com/namoscato>
|
|
5
5
|
// Declan Vong <https://github.com/declanvong>
|
|
6
6
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
7
|
-
// TypeScript Version: 2.8
|
|
8
7
|
|
|
9
8
|
// IMPORTANT
|
|
10
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
11
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
12
11
|
// Generated from: https://networkmanagement.googleapis.com/$discovery/rest?version=v1
|
|
13
|
-
// Revision:
|
|
12
|
+
// Revision: 20220922
|
|
14
13
|
|
|
15
14
|
/// <reference types="gapi.client" />
|
|
16
15
|
|
|
@@ -433,6 +432,8 @@ declare namespace gapi.client {
|
|
|
433
432
|
interface RouteInfo {
|
|
434
433
|
/** Destination IP range of the route. */
|
|
435
434
|
destIpRange?: string;
|
|
435
|
+
/** Destination port ranges of the route. Policy based routes only. */
|
|
436
|
+
destPortRanges?: string[];
|
|
436
437
|
/** Name of a Compute Engine route. */
|
|
437
438
|
displayName?: string;
|
|
438
439
|
/** Instance tags of the route. */
|
|
@@ -445,8 +446,14 @@ declare namespace gapi.client {
|
|
|
445
446
|
nextHopType?: string;
|
|
446
447
|
/** Priority of the route. */
|
|
447
448
|
priority?: number;
|
|
449
|
+
/** Protocols of the route. Policy based routes only. */
|
|
450
|
+
protocols?: string[];
|
|
448
451
|
/** Type of route. */
|
|
449
452
|
routeType?: string;
|
|
453
|
+
/** Source IP address range of the route. Policy based routes only. */
|
|
454
|
+
srcIpRange?: string;
|
|
455
|
+
/** Source port ranges of the route. Policy based routes only. */
|
|
456
|
+
srcPortRanges?: string[];
|
|
450
457
|
/** URI of a Compute Engine route. Dynamic route from cloud router does not have a URI. Advertised route from Google Cloud VPC to on-premises network also does not have a URI. */
|
|
451
458
|
uri?: string;
|
|
452
459
|
}
|
package/package.json
CHANGED
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20220922
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -209,6 +209,9 @@ gapi.load('client', async () => {
|
|
|
209
209
|
projectId: "Test string",
|
|
210
210
|
route: {
|
|
211
211
|
destIpRange: "Test string",
|
|
212
|
+
destPortRanges: [
|
|
213
|
+
"Test string"
|
|
214
|
+
],
|
|
212
215
|
displayName: "Test string",
|
|
213
216
|
instanceTags: [
|
|
214
217
|
"Test string"
|
|
@@ -217,7 +220,14 @@ gapi.load('client', async () => {
|
|
|
217
220
|
nextHop: "Test string",
|
|
218
221
|
nextHopType: "Test string",
|
|
219
222
|
priority: 42,
|
|
223
|
+
protocols: [
|
|
224
|
+
"Test string"
|
|
225
|
+
],
|
|
220
226
|
routeType: "Test string",
|
|
227
|
+
srcIpRange: "Test string",
|
|
228
|
+
srcPortRanges: [
|
|
229
|
+
"Test string"
|
|
230
|
+
],
|
|
221
231
|
uri: "Test string",
|
|
222
232
|
},
|
|
223
233
|
state: "Test string",
|
|
@@ -460,6 +470,9 @@ gapi.load('client', async () => {
|
|
|
460
470
|
projectId: "Test string",
|
|
461
471
|
route: {
|
|
462
472
|
destIpRange: "Test string",
|
|
473
|
+
destPortRanges: [
|
|
474
|
+
"Test string"
|
|
475
|
+
],
|
|
463
476
|
displayName: "Test string",
|
|
464
477
|
instanceTags: [
|
|
465
478
|
"Test string"
|
|
@@ -468,7 +481,14 @@ gapi.load('client', async () => {
|
|
|
468
481
|
nextHop: "Test string",
|
|
469
482
|
nextHopType: "Test string",
|
|
470
483
|
priority: 42,
|
|
484
|
+
protocols: [
|
|
485
|
+
"Test string"
|
|
486
|
+
],
|
|
471
487
|
routeType: "Test string",
|
|
488
|
+
srcIpRange: "Test string",
|
|
489
|
+
srcPortRanges: [
|
|
490
|
+
"Test string"
|
|
491
|
+
],
|
|
472
492
|
uri: "Test string",
|
|
473
493
|
},
|
|
474
494
|
state: "Test string",
|