@maxim_mazurok/gapi.client.networkmanagement-v1 0.0.20230712 → 0.0.20230809
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 +19 -7
- package/package.json +2 -2
- package/tests.ts +11 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://networkmanagement.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230809
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -300,6 +300,9 @@ declare namespace gapi.client {
|
|
|
300
300
|
/** IP protocol in string format, for example: "TCP", "UDP", "ICMP". */
|
|
301
301
|
protocol?:
|
|
302
302
|
string;
|
|
303
|
+
/** URI of the source telemetry agent this packet originates from. */
|
|
304
|
+
sourceAgentUri?:
|
|
305
|
+
string;
|
|
303
306
|
/** Source IP address. */
|
|
304
307
|
sourceIp?:
|
|
305
308
|
string;
|
|
@@ -544,9 +547,9 @@ declare namespace gapi.client {
|
|
|
544
547
|
name?:
|
|
545
548
|
string;
|
|
546
549
|
/**
|
|
547
|
-
* The normal response of the operation
|
|
548
|
-
*
|
|
549
|
-
*
|
|
550
|
+
* The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original
|
|
551
|
+
* method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original
|
|
552
|
+
* method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
|
|
550
553
|
*/
|
|
551
554
|
response?:
|
|
552
555
|
{ [P in string]: any };
|
|
@@ -630,13 +633,19 @@ declare namespace gapi.client {
|
|
|
630
633
|
/** Destination port ranges of the route. Policy based routes only. */
|
|
631
634
|
destPortRanges?:
|
|
632
635
|
string[];
|
|
633
|
-
/** Name of a
|
|
636
|
+
/** Name of a route. */
|
|
634
637
|
displayName?:
|
|
635
638
|
string;
|
|
636
639
|
/** Instance tags of the route. */
|
|
637
640
|
instanceTags?:
|
|
638
641
|
string[];
|
|
639
|
-
/** URI of a
|
|
642
|
+
/** URI of a NCC Hub. NCC_HUB routes only. */
|
|
643
|
+
nccHubUri?:
|
|
644
|
+
string;
|
|
645
|
+
/** URI of a NCC Spoke. NCC_HUB routes only. */
|
|
646
|
+
nccSpokeUri?:
|
|
647
|
+
string;
|
|
648
|
+
/** URI of a Compute Engine network. NETWORK routes only. */
|
|
640
649
|
networkUri?:
|
|
641
650
|
string;
|
|
642
651
|
/** Next hop of the route. */
|
|
@@ -651,6 +660,9 @@ declare namespace gapi.client {
|
|
|
651
660
|
/** Protocols of the route. Policy based routes only. */
|
|
652
661
|
protocols?:
|
|
653
662
|
string[];
|
|
663
|
+
/** Indicates where route is applicable. */
|
|
664
|
+
routeScope?:
|
|
665
|
+
string;
|
|
654
666
|
/** Type of route. */
|
|
655
667
|
routeType?:
|
|
656
668
|
string;
|
|
@@ -660,7 +672,7 @@ declare namespace gapi.client {
|
|
|
660
672
|
/** Source port ranges of the route. Policy based routes only. */
|
|
661
673
|
srcPortRanges?:
|
|
662
674
|
string[];
|
|
663
|
-
/** URI of a
|
|
675
|
+
/** URI of a route. Dynamic, peering static and peering dynamic routes do not have an URI. Advertised route from Google Cloud VPC to on-premises network also does not have an URI. */
|
|
664
676
|
uri?:
|
|
665
677
|
string;
|
|
666
678
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maxim_mazurok/gapi.client.networkmanagement-v1",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.20230809",
|
|
4
4
|
"description": "TypeScript typings for Network Management API v1",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -15,6 +15,6 @@
|
|
|
15
15
|
"types": "index.d.ts",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@types/gapi.client": "*",
|
|
18
|
-
"@types/gapi.client.discovery": "*"
|
|
18
|
+
"@types/gapi.client.discovery-v1": "*"
|
|
19
19
|
}
|
|
20
20
|
}
|
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: 20230809
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -96,6 +96,7 @@ gapi.load('client', async () => {
|
|
|
96
96
|
destinationNetworkUri: "Test string",
|
|
97
97
|
destinationPort: 42,
|
|
98
98
|
protocol: "Test string",
|
|
99
|
+
sourceAgentUri: "Test string",
|
|
99
100
|
sourceIp: "Test string",
|
|
100
101
|
sourceNetworkUri: "Test string",
|
|
101
102
|
sourcePort: 42,
|
|
@@ -150,6 +151,7 @@ gapi.load('client', async () => {
|
|
|
150
151
|
destinationNetworkUri: "Test string",
|
|
151
152
|
destinationPort: 42,
|
|
152
153
|
protocol: "Test string",
|
|
154
|
+
sourceAgentUri: "Test string",
|
|
153
155
|
sourceIp: "Test string",
|
|
154
156
|
sourceNetworkUri: "Test string",
|
|
155
157
|
sourcePort: 42,
|
|
@@ -239,6 +241,8 @@ gapi.load('client', async () => {
|
|
|
239
241
|
instanceTags: [
|
|
240
242
|
"Test string"
|
|
241
243
|
],
|
|
244
|
+
nccHubUri: "Test string",
|
|
245
|
+
nccSpokeUri: "Test string",
|
|
242
246
|
networkUri: "Test string",
|
|
243
247
|
nextHop: "Test string",
|
|
244
248
|
nextHopType: "Test string",
|
|
@@ -246,6 +250,7 @@ gapi.load('client', async () => {
|
|
|
246
250
|
protocols: [
|
|
247
251
|
"Test string"
|
|
248
252
|
],
|
|
253
|
+
routeScope: "Test string",
|
|
249
254
|
routeType: "Test string",
|
|
250
255
|
srcIpRange: "Test string",
|
|
251
256
|
srcPortRanges: [
|
|
@@ -387,6 +392,7 @@ gapi.load('client', async () => {
|
|
|
387
392
|
destinationNetworkUri: "Test string",
|
|
388
393
|
destinationPort: 42,
|
|
389
394
|
protocol: "Test string",
|
|
395
|
+
sourceAgentUri: "Test string",
|
|
390
396
|
sourceIp: "Test string",
|
|
391
397
|
sourceNetworkUri: "Test string",
|
|
392
398
|
sourcePort: 42,
|
|
@@ -441,6 +447,7 @@ gapi.load('client', async () => {
|
|
|
441
447
|
destinationNetworkUri: "Test string",
|
|
442
448
|
destinationPort: 42,
|
|
443
449
|
protocol: "Test string",
|
|
450
|
+
sourceAgentUri: "Test string",
|
|
444
451
|
sourceIp: "Test string",
|
|
445
452
|
sourceNetworkUri: "Test string",
|
|
446
453
|
sourcePort: 42,
|
|
@@ -530,6 +537,8 @@ gapi.load('client', async () => {
|
|
|
530
537
|
instanceTags: [
|
|
531
538
|
"Test string"
|
|
532
539
|
],
|
|
540
|
+
nccHubUri: "Test string",
|
|
541
|
+
nccSpokeUri: "Test string",
|
|
533
542
|
networkUri: "Test string",
|
|
534
543
|
nextHop: "Test string",
|
|
535
544
|
nextHopType: "Test string",
|
|
@@ -537,6 +546,7 @@ gapi.load('client', async () => {
|
|
|
537
546
|
protocols: [
|
|
538
547
|
"Test string"
|
|
539
548
|
],
|
|
549
|
+
routeScope: "Test string",
|
|
540
550
|
routeType: "Test string",
|
|
541
551
|
srcIpRange: "Test string",
|
|
542
552
|
srcPortRanges: [
|