@maxim_mazurok/gapi.client.networkmanagement-v1 0.0.20230712 → 0.0.20230802

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.
Files changed (3) hide show
  1. package/index.d.ts +16 -7
  2. package/package.json +2 -2
  3. package/tests.ts +7 -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: 20230712
12
+ // Revision: 20230802
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -544,9 +544,9 @@ declare namespace gapi.client {
544
544
  name?:
545
545
  string;
546
546
  /**
547
- * The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the
548
- * original 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
549
- * original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
547
+ * 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
548
+ * 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
549
+ * method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
550
550
  */
551
551
  response?:
552
552
  { [P in string]: any };
@@ -630,13 +630,19 @@ declare namespace gapi.client {
630
630
  /** Destination port ranges of the route. Policy based routes only. */
631
631
  destPortRanges?:
632
632
  string[];
633
- /** Name of a Compute Engine route. */
633
+ /** Name of a route. */
634
634
  displayName?:
635
635
  string;
636
636
  /** Instance tags of the route. */
637
637
  instanceTags?:
638
638
  string[];
639
- /** URI of a Compute Engine network. */
639
+ /** URI of a NCC Hub. NCC_HUB routes only. */
640
+ nccHubUri?:
641
+ string;
642
+ /** URI of a NCC Spoke. NCC_HUB routes only. */
643
+ nccSpokeUri?:
644
+ string;
645
+ /** URI of a Compute Engine network. NETWORK routes only. */
640
646
  networkUri?:
641
647
  string;
642
648
  /** Next hop of the route. */
@@ -651,6 +657,9 @@ declare namespace gapi.client {
651
657
  /** Protocols of the route. Policy based routes only. */
652
658
  protocols?:
653
659
  string[];
660
+ /** Indicates where route is applicable. */
661
+ routeScope?:
662
+ string;
654
663
  /** Type of route. */
655
664
  routeType?:
656
665
  string;
@@ -660,7 +669,7 @@ declare namespace gapi.client {
660
669
  /** Source port ranges of the route. Policy based routes only. */
661
670
  srcPortRanges?:
662
671
  string[];
663
- /** 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. */
672
+ /** 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
673
  uri?:
665
674
  string;
666
675
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.networkmanagement-v1",
3
- "version": "0.0.20230712",
3
+ "version": "0.0.20230802",
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: 20230712
6
+ // Revision: 20230802
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -239,6 +239,8 @@ gapi.load('client', async () => {
239
239
  instanceTags: [
240
240
  "Test string"
241
241
  ],
242
+ nccHubUri: "Test string",
243
+ nccSpokeUri: "Test string",
242
244
  networkUri: "Test string",
243
245
  nextHop: "Test string",
244
246
  nextHopType: "Test string",
@@ -246,6 +248,7 @@ gapi.load('client', async () => {
246
248
  protocols: [
247
249
  "Test string"
248
250
  ],
251
+ routeScope: "Test string",
249
252
  routeType: "Test string",
250
253
  srcIpRange: "Test string",
251
254
  srcPortRanges: [
@@ -530,6 +533,8 @@ gapi.load('client', async () => {
530
533
  instanceTags: [
531
534
  "Test string"
532
535
  ],
536
+ nccHubUri: "Test string",
537
+ nccSpokeUri: "Test string",
533
538
  networkUri: "Test string",
534
539
  nextHop: "Test string",
535
540
  nextHopType: "Test string",
@@ -537,6 +542,7 @@ gapi.load('client', async () => {
537
542
  protocols: [
538
543
  "Test string"
539
544
  ],
545
+ routeScope: "Test string",
540
546
  routeType: "Test string",
541
547
  srcIpRange: "Test string",
542
548
  srcPortRanges: [