@maxim_mazurok/gapi.client.networkmanagement-v1 0.0.20230809 → 0.0.20230920
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 +67 -2
- package/package.json +1 -1
- package/tests.ts +87 -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: 20230920
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -193,6 +193,12 @@ declare namespace gapi.client {
|
|
|
193
193
|
/** Required. Unique name of the resource using the form: `projects/{project_id}/locations/global/connectivityTests/{test_id}` */
|
|
194
194
|
name?:
|
|
195
195
|
string;
|
|
196
|
+
/**
|
|
197
|
+
* Output only. The probing details of this test from the latest run, present for applicable tests only. The details are updated when creating a new test, updating an existing test, or
|
|
198
|
+
* triggering a one-time rerun of an existing test.
|
|
199
|
+
*/
|
|
200
|
+
probingDetails?:
|
|
201
|
+
ProbingDetails;
|
|
196
202
|
/** IP Protocol of the test. When not provided, "TCP" is assumed. */
|
|
197
203
|
protocol?:
|
|
198
204
|
string;
|
|
@@ -235,6 +241,11 @@ declare namespace gapi.client {
|
|
|
235
241
|
resourceUri?:
|
|
236
242
|
string;
|
|
237
243
|
}
|
|
244
|
+
interface EdgeLocation {
|
|
245
|
+
/** Name of the metropolitan area. */
|
|
246
|
+
metropolitanArea?:
|
|
247
|
+
string;
|
|
248
|
+
}
|
|
238
249
|
// tslint:disable-next-line:no-empty-interface
|
|
239
250
|
interface Empty {
|
|
240
251
|
}
|
|
@@ -258,6 +269,9 @@ declare namespace gapi.client {
|
|
|
258
269
|
*/
|
|
259
270
|
forwardingRule?:
|
|
260
271
|
string;
|
|
272
|
+
/** Output only. Specifies the type of the target of the forwarding rule. */
|
|
273
|
+
forwardingRuleTarget?:
|
|
274
|
+
string;
|
|
261
275
|
/** A cluster URI for [Google Kubernetes Engine master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture). */
|
|
262
276
|
gkeMasterCluster?:
|
|
263
277
|
string;
|
|
@@ -266,10 +280,16 @@ declare namespace gapi.client {
|
|
|
266
280
|
string;
|
|
267
281
|
/**
|
|
268
282
|
* The IP address of the endpoint, which can be an external or internal IP. An IPv6 address is only allowed when the test's destination is a [global load balancer
|
|
269
|
-
* VIP](/load-balancing/docs/load-balancing-overview).
|
|
283
|
+
* VIP](https://cloud.google.com/load-balancing/docs/load-balancing-overview).
|
|
270
284
|
*/
|
|
271
285
|
ipAddress?:
|
|
272
286
|
string;
|
|
287
|
+
/** Output only. ID of the load balancer the forwarding rule points to. Empty for forwarding rules not related to load balancers. */
|
|
288
|
+
loadBalancerId?:
|
|
289
|
+
string;
|
|
290
|
+
/** Output only. Type of the load balancer the forwarding rule points to. */
|
|
291
|
+
loadBalancerType?:
|
|
292
|
+
string;
|
|
273
293
|
/** A Compute Engine network URI. */
|
|
274
294
|
network?:
|
|
275
295
|
string;
|
|
@@ -438,6 +458,19 @@ declare namespace gapi.client {
|
|
|
438
458
|
uri?:
|
|
439
459
|
string;
|
|
440
460
|
}
|
|
461
|
+
interface LatencyDistribution {
|
|
462
|
+
/** Representative latency percentiles. */
|
|
463
|
+
latencyPercentiles?:
|
|
464
|
+
LatencyPercentile[];
|
|
465
|
+
}
|
|
466
|
+
interface LatencyPercentile {
|
|
467
|
+
/** percent-th percentile of latency observed, in microseconds. Fraction of percent/100 of samples have latency lower or equal to the value of this field. */
|
|
468
|
+
latencyMicros?:
|
|
469
|
+
string;
|
|
470
|
+
/** Percentage of samples this data point applies to. */
|
|
471
|
+
percent?:
|
|
472
|
+
number;
|
|
473
|
+
}
|
|
441
474
|
interface ListConnectivityTestsResponse {
|
|
442
475
|
/** Page token to fetch the next set of Connectivity Tests. */
|
|
443
476
|
nextPageToken?:
|
|
@@ -609,6 +642,38 @@ declare namespace gapi.client {
|
|
|
609
642
|
version?:
|
|
610
643
|
number;
|
|
611
644
|
}
|
|
645
|
+
interface ProbingDetails {
|
|
646
|
+
/** The reason probing was aborted. */
|
|
647
|
+
abortCause?:
|
|
648
|
+
string;
|
|
649
|
+
/**
|
|
650
|
+
* The EdgeLocation from which a packet destined for/originating from the internet will egress/ingress the Google network. This will only be populated for a connectivity test which has
|
|
651
|
+
* an internet destination/source address. The absence of this field *must not* be used as an indication that the destination/source is part of the Google network.
|
|
652
|
+
*/
|
|
653
|
+
destinationEgressLocation?:
|
|
654
|
+
EdgeLocation;
|
|
655
|
+
/** The source and destination endpoints derived from the test input and used for active probing. */
|
|
656
|
+
endpointInfo?:
|
|
657
|
+
EndpointInfo;
|
|
658
|
+
/** Details about an internal failure or the cancellation of active probing. */
|
|
659
|
+
error?:
|
|
660
|
+
Status;
|
|
661
|
+
/** Latency as measured by active probing in one direction: from the source to the destination endpoint. */
|
|
662
|
+
probingLatency?:
|
|
663
|
+
LatencyDistribution;
|
|
664
|
+
/** The overall result of active probing. */
|
|
665
|
+
result?:
|
|
666
|
+
string;
|
|
667
|
+
/** Number of probes sent. */
|
|
668
|
+
sentProbeCount?:
|
|
669
|
+
number;
|
|
670
|
+
/** Number of probes that reached the destination. */
|
|
671
|
+
successfulProbeCount?:
|
|
672
|
+
number;
|
|
673
|
+
/** The time that reachability was assessed through active probing. */
|
|
674
|
+
verifyTime?:
|
|
675
|
+
string;
|
|
676
|
+
}
|
|
612
677
|
interface ReachabilityDetails {
|
|
613
678
|
/** The details of a failure or a cancellation of reachability analysis. */
|
|
614
679
|
error?:
|
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: 20230920
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -64,9 +64,12 @@ gapi.load('client', async () => {
|
|
|
64
64
|
},
|
|
65
65
|
cloudSqlInstance: "Test string",
|
|
66
66
|
forwardingRule: "Test string",
|
|
67
|
+
forwardingRuleTarget: "Test string",
|
|
67
68
|
gkeMasterCluster: "Test string",
|
|
68
69
|
instance: "Test string",
|
|
69
70
|
ipAddress: "Test string",
|
|
71
|
+
loadBalancerId: "Test string",
|
|
72
|
+
loadBalancerType: "Test string",
|
|
70
73
|
network: "Test string",
|
|
71
74
|
networkType: "Test string",
|
|
72
75
|
port: 42,
|
|
@@ -77,6 +80,43 @@ gapi.load('client', async () => {
|
|
|
77
80
|
A: "Test string"
|
|
78
81
|
},
|
|
79
82
|
name: "Test string",
|
|
83
|
+
probingDetails: {
|
|
84
|
+
abortCause: "Test string",
|
|
85
|
+
destinationEgressLocation: {
|
|
86
|
+
metropolitanArea: "Test string",
|
|
87
|
+
},
|
|
88
|
+
endpointInfo: {
|
|
89
|
+
destinationIp: "Test string",
|
|
90
|
+
destinationNetworkUri: "Test string",
|
|
91
|
+
destinationPort: 42,
|
|
92
|
+
protocol: "Test string",
|
|
93
|
+
sourceAgentUri: "Test string",
|
|
94
|
+
sourceIp: "Test string",
|
|
95
|
+
sourceNetworkUri: "Test string",
|
|
96
|
+
sourcePort: 42,
|
|
97
|
+
},
|
|
98
|
+
error: {
|
|
99
|
+
code: 42,
|
|
100
|
+
details: [
|
|
101
|
+
{
|
|
102
|
+
A: 42
|
|
103
|
+
}
|
|
104
|
+
],
|
|
105
|
+
message: "Test string",
|
|
106
|
+
},
|
|
107
|
+
probingLatency: {
|
|
108
|
+
latencyPercentiles: [
|
|
109
|
+
{
|
|
110
|
+
latencyMicros: "Test string",
|
|
111
|
+
percent: 42,
|
|
112
|
+
}
|
|
113
|
+
],
|
|
114
|
+
},
|
|
115
|
+
result: "Test string",
|
|
116
|
+
sentProbeCount: 42,
|
|
117
|
+
successfulProbeCount: 42,
|
|
118
|
+
verifyTime: "Test string",
|
|
119
|
+
},
|
|
80
120
|
protocol: "Test string",
|
|
81
121
|
reachabilityDetails: {
|
|
82
122
|
error: {
|
|
@@ -304,9 +344,12 @@ gapi.load('client', async () => {
|
|
|
304
344
|
},
|
|
305
345
|
cloudSqlInstance: "Test string",
|
|
306
346
|
forwardingRule: "Test string",
|
|
347
|
+
forwardingRuleTarget: "Test string",
|
|
307
348
|
gkeMasterCluster: "Test string",
|
|
308
349
|
instance: "Test string",
|
|
309
350
|
ipAddress: "Test string",
|
|
351
|
+
loadBalancerId: "Test string",
|
|
352
|
+
loadBalancerType: "Test string",
|
|
310
353
|
network: "Test string",
|
|
311
354
|
networkType: "Test string",
|
|
312
355
|
port: 42,
|
|
@@ -360,9 +403,12 @@ gapi.load('client', async () => {
|
|
|
360
403
|
},
|
|
361
404
|
cloudSqlInstance: "Test string",
|
|
362
405
|
forwardingRule: "Test string",
|
|
406
|
+
forwardingRuleTarget: "Test string",
|
|
363
407
|
gkeMasterCluster: "Test string",
|
|
364
408
|
instance: "Test string",
|
|
365
409
|
ipAddress: "Test string",
|
|
410
|
+
loadBalancerId: "Test string",
|
|
411
|
+
loadBalancerType: "Test string",
|
|
366
412
|
network: "Test string",
|
|
367
413
|
networkType: "Test string",
|
|
368
414
|
port: 42,
|
|
@@ -373,6 +419,43 @@ gapi.load('client', async () => {
|
|
|
373
419
|
A: "Test string"
|
|
374
420
|
},
|
|
375
421
|
name: "Test string",
|
|
422
|
+
probingDetails: {
|
|
423
|
+
abortCause: "Test string",
|
|
424
|
+
destinationEgressLocation: {
|
|
425
|
+
metropolitanArea: "Test string",
|
|
426
|
+
},
|
|
427
|
+
endpointInfo: {
|
|
428
|
+
destinationIp: "Test string",
|
|
429
|
+
destinationNetworkUri: "Test string",
|
|
430
|
+
destinationPort: 42,
|
|
431
|
+
protocol: "Test string",
|
|
432
|
+
sourceAgentUri: "Test string",
|
|
433
|
+
sourceIp: "Test string",
|
|
434
|
+
sourceNetworkUri: "Test string",
|
|
435
|
+
sourcePort: 42,
|
|
436
|
+
},
|
|
437
|
+
error: {
|
|
438
|
+
code: 42,
|
|
439
|
+
details: [
|
|
440
|
+
{
|
|
441
|
+
A: 42
|
|
442
|
+
}
|
|
443
|
+
],
|
|
444
|
+
message: "Test string",
|
|
445
|
+
},
|
|
446
|
+
probingLatency: {
|
|
447
|
+
latencyPercentiles: [
|
|
448
|
+
{
|
|
449
|
+
latencyMicros: "Test string",
|
|
450
|
+
percent: 42,
|
|
451
|
+
}
|
|
452
|
+
],
|
|
453
|
+
},
|
|
454
|
+
result: "Test string",
|
|
455
|
+
sentProbeCount: 42,
|
|
456
|
+
successfulProbeCount: 42,
|
|
457
|
+
verifyTime: "Test string",
|
|
458
|
+
},
|
|
376
459
|
protocol: "Test string",
|
|
377
460
|
reachabilityDetails: {
|
|
378
461
|
error: {
|
|
@@ -600,9 +683,12 @@ gapi.load('client', async () => {
|
|
|
600
683
|
},
|
|
601
684
|
cloudSqlInstance: "Test string",
|
|
602
685
|
forwardingRule: "Test string",
|
|
686
|
+
forwardingRuleTarget: "Test string",
|
|
603
687
|
gkeMasterCluster: "Test string",
|
|
604
688
|
instance: "Test string",
|
|
605
689
|
ipAddress: "Test string",
|
|
690
|
+
loadBalancerId: "Test string",
|
|
691
|
+
loadBalancerType: "Test string",
|
|
606
692
|
network: "Test string",
|
|
607
693
|
networkType: "Test string",
|
|
608
694
|
port: 42,
|