@maxim_mazurok/gapi.client.networkmanagement-v1 0.0.20230802 → 0.0.20230906
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 +70 -2
- package/package.json +1 -1
- package/tests.ts +91 -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: 20230906
|
|
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;
|
|
@@ -300,6 +320,9 @@ declare namespace gapi.client {
|
|
|
300
320
|
/** IP protocol in string format, for example: "TCP", "UDP", "ICMP". */
|
|
301
321
|
protocol?:
|
|
302
322
|
string;
|
|
323
|
+
/** URI of the source telemetry agent this packet originates from. */
|
|
324
|
+
sourceAgentUri?:
|
|
325
|
+
string;
|
|
303
326
|
/** Source IP address. */
|
|
304
327
|
sourceIp?:
|
|
305
328
|
string;
|
|
@@ -435,6 +458,19 @@ declare namespace gapi.client {
|
|
|
435
458
|
uri?:
|
|
436
459
|
string;
|
|
437
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
|
+
}
|
|
438
474
|
interface ListConnectivityTestsResponse {
|
|
439
475
|
/** Page token to fetch the next set of Connectivity Tests. */
|
|
440
476
|
nextPageToken?:
|
|
@@ -606,6 +642,38 @@ declare namespace gapi.client {
|
|
|
606
642
|
version?:
|
|
607
643
|
number;
|
|
608
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
|
+
}
|
|
609
677
|
interface ReachabilityDetails {
|
|
610
678
|
/** The details of a failure or a cancellation of reachability analysis. */
|
|
611
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: 20230906
|
|
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: {
|
|
@@ -96,6 +136,7 @@ gapi.load('client', async () => {
|
|
|
96
136
|
destinationNetworkUri: "Test string",
|
|
97
137
|
destinationPort: 42,
|
|
98
138
|
protocol: "Test string",
|
|
139
|
+
sourceAgentUri: "Test string",
|
|
99
140
|
sourceIp: "Test string",
|
|
100
141
|
sourceNetworkUri: "Test string",
|
|
101
142
|
sourcePort: 42,
|
|
@@ -150,6 +191,7 @@ gapi.load('client', async () => {
|
|
|
150
191
|
destinationNetworkUri: "Test string",
|
|
151
192
|
destinationPort: 42,
|
|
152
193
|
protocol: "Test string",
|
|
194
|
+
sourceAgentUri: "Test string",
|
|
153
195
|
sourceIp: "Test string",
|
|
154
196
|
sourceNetworkUri: "Test string",
|
|
155
197
|
sourcePort: 42,
|
|
@@ -302,9 +344,12 @@ gapi.load('client', async () => {
|
|
|
302
344
|
},
|
|
303
345
|
cloudSqlInstance: "Test string",
|
|
304
346
|
forwardingRule: "Test string",
|
|
347
|
+
forwardingRuleTarget: "Test string",
|
|
305
348
|
gkeMasterCluster: "Test string",
|
|
306
349
|
instance: "Test string",
|
|
307
350
|
ipAddress: "Test string",
|
|
351
|
+
loadBalancerId: "Test string",
|
|
352
|
+
loadBalancerType: "Test string",
|
|
308
353
|
network: "Test string",
|
|
309
354
|
networkType: "Test string",
|
|
310
355
|
port: 42,
|
|
@@ -358,9 +403,12 @@ gapi.load('client', async () => {
|
|
|
358
403
|
},
|
|
359
404
|
cloudSqlInstance: "Test string",
|
|
360
405
|
forwardingRule: "Test string",
|
|
406
|
+
forwardingRuleTarget: "Test string",
|
|
361
407
|
gkeMasterCluster: "Test string",
|
|
362
408
|
instance: "Test string",
|
|
363
409
|
ipAddress: "Test string",
|
|
410
|
+
loadBalancerId: "Test string",
|
|
411
|
+
loadBalancerType: "Test string",
|
|
364
412
|
network: "Test string",
|
|
365
413
|
networkType: "Test string",
|
|
366
414
|
port: 42,
|
|
@@ -371,6 +419,43 @@ gapi.load('client', async () => {
|
|
|
371
419
|
A: "Test string"
|
|
372
420
|
},
|
|
373
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
|
+
},
|
|
374
459
|
protocol: "Test string",
|
|
375
460
|
reachabilityDetails: {
|
|
376
461
|
error: {
|
|
@@ -390,6 +475,7 @@ gapi.load('client', async () => {
|
|
|
390
475
|
destinationNetworkUri: "Test string",
|
|
391
476
|
destinationPort: 42,
|
|
392
477
|
protocol: "Test string",
|
|
478
|
+
sourceAgentUri: "Test string",
|
|
393
479
|
sourceIp: "Test string",
|
|
394
480
|
sourceNetworkUri: "Test string",
|
|
395
481
|
sourcePort: 42,
|
|
@@ -444,6 +530,7 @@ gapi.load('client', async () => {
|
|
|
444
530
|
destinationNetworkUri: "Test string",
|
|
445
531
|
destinationPort: 42,
|
|
446
532
|
protocol: "Test string",
|
|
533
|
+
sourceAgentUri: "Test string",
|
|
447
534
|
sourceIp: "Test string",
|
|
448
535
|
sourceNetworkUri: "Test string",
|
|
449
536
|
sourcePort: 42,
|
|
@@ -596,9 +683,12 @@ gapi.load('client', async () => {
|
|
|
596
683
|
},
|
|
597
684
|
cloudSqlInstance: "Test string",
|
|
598
685
|
forwardingRule: "Test string",
|
|
686
|
+
forwardingRuleTarget: "Test string",
|
|
599
687
|
gkeMasterCluster: "Test string",
|
|
600
688
|
instance: "Test string",
|
|
601
689
|
ipAddress: "Test string",
|
|
690
|
+
loadBalancerId: "Test string",
|
|
691
|
+
loadBalancerType: "Test string",
|
|
602
692
|
network: "Test string",
|
|
603
693
|
networkType: "Test string",
|
|
604
694
|
port: 42,
|