@maxim_mazurok/gapi.client.networkmanagement-v1 0.0.20231108 → 0.0.20231129
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 +1238 -1795
- package/package.json +6 -6
- package/readme.md +17 -12
- package/tests.ts +0 -786
- package/tsconfig.json +0 -18
- package/tslint.json +0 -6
package/index.d.ts
CHANGED
|
@@ -9,1805 +9,1248 @@
|
|
|
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: 20231129
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
16
16
|
declare namespace gapi.client {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
17
|
+
/** Load Network Management API v1 */
|
|
18
|
+
function load(
|
|
19
|
+
urlOrObject: 'https://networkmanagement.googleapis.com/$discovery/rest?version=v1'
|
|
20
|
+
): Promise<void>;
|
|
21
|
+
/** @deprecated Please load APIs with discovery documents. */
|
|
22
|
+
function load(name: 'networkmanagement', version: 'v1'): Promise<void>;
|
|
23
|
+
/** @deprecated Please load APIs with discovery documents. */
|
|
24
|
+
function load(
|
|
25
|
+
name: 'networkmanagement',
|
|
26
|
+
version: 'v1',
|
|
27
|
+
callback: () => any
|
|
28
|
+
): void;
|
|
23
29
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
/** Source IP address. */
|
|
327
|
-
sourceIp?:
|
|
328
|
-
string;
|
|
329
|
-
/** URI of the network where this packet originates from. */
|
|
330
|
-
sourceNetworkUri?:
|
|
331
|
-
string;
|
|
332
|
-
/** Source port. Only valid when protocol is TCP or UDP. */
|
|
333
|
-
sourcePort?:
|
|
334
|
-
number;
|
|
335
|
-
}
|
|
336
|
-
interface Expr {
|
|
337
|
-
/** Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. */
|
|
338
|
-
description?:
|
|
339
|
-
string;
|
|
340
|
-
/** Textual representation of an expression in Common Expression Language syntax. */
|
|
341
|
-
expression?:
|
|
342
|
-
string;
|
|
343
|
-
/** Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file. */
|
|
344
|
-
location?:
|
|
345
|
-
string;
|
|
346
|
-
/** Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression. */
|
|
347
|
-
title?:
|
|
348
|
-
string;
|
|
349
|
-
}
|
|
350
|
-
interface FirewallInfo {
|
|
351
|
-
/** Possible values: ALLOW, DENY */
|
|
352
|
-
action?:
|
|
353
|
-
string;
|
|
354
|
-
/** Possible values: INGRESS, EGRESS */
|
|
355
|
-
direction?:
|
|
356
|
-
string;
|
|
357
|
-
/** The display name of the VPC firewall rule. This field is not applicable to hierarchical firewall policy rules. */
|
|
358
|
-
displayName?:
|
|
359
|
-
string;
|
|
360
|
-
/** The firewall rule's type. */
|
|
361
|
-
firewallRuleType?:
|
|
362
|
-
string;
|
|
363
|
-
/** The URI of the VPC network that the firewall rule is associated with. This field is not applicable to hierarchical firewall policy rules. */
|
|
364
|
-
networkUri?:
|
|
365
|
-
string;
|
|
366
|
-
/** The hierarchical firewall policy that this rule is associated with. This field is not applicable to VPC firewall rules. */
|
|
367
|
-
policy?:
|
|
368
|
-
string;
|
|
369
|
-
/** The priority of the firewall rule. */
|
|
370
|
-
priority?:
|
|
371
|
-
number;
|
|
372
|
-
/** The target service accounts specified by the firewall rule. */
|
|
373
|
-
targetServiceAccounts?:
|
|
374
|
-
string[];
|
|
375
|
-
/** The target tags defined by the VPC firewall rule. This field is not applicable to hierarchical firewall policy rules. */
|
|
376
|
-
targetTags?:
|
|
377
|
-
string[];
|
|
378
|
-
/** The URI of the VPC firewall rule. This field is not applicable to implied firewall rules or hierarchical firewall policy rules. */
|
|
379
|
-
uri?:
|
|
380
|
-
string;
|
|
381
|
-
}
|
|
382
|
-
interface ForwardInfo {
|
|
383
|
-
/** URI of the resource that the packet is forwarded to. */
|
|
384
|
-
resourceUri?:
|
|
385
|
-
string;
|
|
386
|
-
/** Target type where this packet is forwarded to. */
|
|
387
|
-
target?:
|
|
388
|
-
string;
|
|
389
|
-
}
|
|
390
|
-
interface ForwardingRuleInfo {
|
|
391
|
-
/** Name of a Compute Engine forwarding rule. */
|
|
392
|
-
displayName?:
|
|
393
|
-
string;
|
|
394
|
-
/** Port range defined in the forwarding rule that matches the test. */
|
|
395
|
-
matchedPortRange?:
|
|
396
|
-
string;
|
|
397
|
-
/** Protocol defined in the forwarding rule that matches the test. */
|
|
398
|
-
matchedProtocol?:
|
|
399
|
-
string;
|
|
400
|
-
/** Network URI. Only valid for Internal Load Balancer. */
|
|
401
|
-
networkUri?:
|
|
402
|
-
string;
|
|
403
|
-
/** Target type of the forwarding rule. */
|
|
404
|
-
target?:
|
|
405
|
-
string;
|
|
406
|
-
/** URI of a Compute Engine forwarding rule. */
|
|
407
|
-
uri?:
|
|
408
|
-
string;
|
|
409
|
-
/** VIP of the forwarding rule. */
|
|
410
|
-
vip?:
|
|
411
|
-
string;
|
|
412
|
-
}
|
|
413
|
-
interface GKEMasterInfo {
|
|
414
|
-
/** URI of a GKE cluster network. */
|
|
415
|
-
clusterNetworkUri?:
|
|
416
|
-
string;
|
|
417
|
-
/** URI of a GKE cluster. */
|
|
418
|
-
clusterUri?:
|
|
419
|
-
string;
|
|
420
|
-
/** External IP address of a GKE cluster master. */
|
|
421
|
-
externalIp?:
|
|
422
|
-
string;
|
|
423
|
-
/** Internal IP address of a GKE cluster master. */
|
|
424
|
-
internalIp?:
|
|
425
|
-
string;
|
|
426
|
-
}
|
|
427
|
-
interface GoogleServiceInfo {
|
|
428
|
-
/** Recognized type of a Google Service. */
|
|
429
|
-
googleServiceType?:
|
|
430
|
-
string;
|
|
431
|
-
/** Source IP address. */
|
|
432
|
-
sourceIp?:
|
|
433
|
-
string;
|
|
434
|
-
}
|
|
435
|
-
interface InstanceInfo {
|
|
436
|
-
/** Name of a Compute Engine instance. */
|
|
437
|
-
displayName?:
|
|
438
|
-
string;
|
|
439
|
-
/** External IP address of the network interface. */
|
|
440
|
-
externalIp?:
|
|
441
|
-
string;
|
|
442
|
-
/** Name of the network interface of a Compute Engine instance. */
|
|
443
|
-
interface?:
|
|
444
|
-
string;
|
|
445
|
-
/** Internal IP address of the network interface. */
|
|
446
|
-
internalIp?:
|
|
447
|
-
string;
|
|
448
|
-
/** Network tags configured on the instance. */
|
|
449
|
-
networkTags?:
|
|
450
|
-
string[];
|
|
451
|
-
/** URI of a Compute Engine network. */
|
|
452
|
-
networkUri?:
|
|
453
|
-
string;
|
|
454
|
-
/** Service account authorized for the instance. */
|
|
455
|
-
serviceAccount?:
|
|
456
|
-
string;
|
|
457
|
-
/** URI of a Compute Engine instance. */
|
|
458
|
-
uri?:
|
|
459
|
-
string;
|
|
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
|
-
}
|
|
474
|
-
interface ListConnectivityTestsResponse {
|
|
475
|
-
/** Page token to fetch the next set of Connectivity Tests. */
|
|
476
|
-
nextPageToken?:
|
|
477
|
-
string;
|
|
478
|
-
/** List of Connectivity Tests. */
|
|
479
|
-
resources?:
|
|
480
|
-
ConnectivityTest[];
|
|
481
|
-
/** Locations that could not be reached (when querying all locations with `-`). */
|
|
482
|
-
unreachable?:
|
|
483
|
-
string[];
|
|
484
|
-
}
|
|
485
|
-
interface ListLocationsResponse {
|
|
486
|
-
/** A list of locations that matches the specified filter in the request. */
|
|
487
|
-
locations?:
|
|
488
|
-
Location[];
|
|
489
|
-
/** The standard List next-page token. */
|
|
490
|
-
nextPageToken?:
|
|
491
|
-
string;
|
|
492
|
-
}
|
|
493
|
-
interface ListOperationsResponse {
|
|
494
|
-
/** The standard List next-page token. */
|
|
495
|
-
nextPageToken?:
|
|
496
|
-
string;
|
|
497
|
-
/** A list of operations that matches the specified filter in the request. */
|
|
498
|
-
operations?:
|
|
499
|
-
Operation[];
|
|
500
|
-
}
|
|
501
|
-
interface LoadBalancerBackend {
|
|
502
|
-
/** Name of a Compute Engine instance or network endpoint. */
|
|
503
|
-
displayName?:
|
|
504
|
-
string;
|
|
505
|
-
/** A list of firewall rule URIs allowing probes from health check IP ranges. */
|
|
506
|
-
healthCheckAllowingFirewallRules?:
|
|
507
|
-
string[];
|
|
508
|
-
/** A list of firewall rule URIs blocking probes from health check IP ranges. */
|
|
509
|
-
healthCheckBlockingFirewallRules?:
|
|
510
|
-
string[];
|
|
511
|
-
/** State of the health check firewall configuration. */
|
|
512
|
-
healthCheckFirewallState?:
|
|
513
|
-
string;
|
|
514
|
-
/** URI of a Compute Engine instance or network endpoint. */
|
|
515
|
-
uri?:
|
|
516
|
-
string;
|
|
517
|
-
}
|
|
518
|
-
interface LoadBalancerInfo {
|
|
519
|
-
/** Information for the loadbalancer backends. */
|
|
520
|
-
backends?:
|
|
521
|
-
LoadBalancerBackend[];
|
|
522
|
-
/** Type of load balancer's backend configuration. */
|
|
523
|
-
backendType?:
|
|
524
|
-
string;
|
|
525
|
-
/** Backend configuration URI. */
|
|
526
|
-
backendUri?:
|
|
527
|
-
string;
|
|
528
|
-
/** URI of the health check for the load balancer. Deprecated and no longer populated as different load balancer backends might have different health checks. */
|
|
529
|
-
healthCheckUri?:
|
|
530
|
-
string;
|
|
531
|
-
/** Type of the load balancer. */
|
|
532
|
-
loadBalancerType?:
|
|
533
|
-
string;
|
|
534
|
-
}
|
|
535
|
-
interface Location {
|
|
536
|
-
/** The friendly name for this location, typically a nearby city name. For example, "Tokyo". */
|
|
537
|
-
displayName?:
|
|
538
|
-
string;
|
|
539
|
-
/** Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"} */
|
|
540
|
-
labels?:
|
|
541
|
-
{ [P in string]: string };
|
|
542
|
-
/** The canonical id for this location. For example: `"us-east1"`. */
|
|
543
|
-
locationId?:
|
|
544
|
-
string;
|
|
545
|
-
/** Service-specific metadata. For example the available capacity at the given location. */
|
|
546
|
-
metadata?:
|
|
547
|
-
{ [P in string]: any };
|
|
548
|
-
/** Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"` */
|
|
549
|
-
name?:
|
|
550
|
-
string;
|
|
551
|
-
}
|
|
552
|
-
interface NetworkInfo {
|
|
553
|
-
/** Name of a Compute Engine network. */
|
|
554
|
-
displayName?:
|
|
555
|
-
string;
|
|
556
|
-
/** The IP range that matches the test. */
|
|
557
|
-
matchedIpRange?:
|
|
558
|
-
string;
|
|
559
|
-
/** URI of a Compute Engine network. */
|
|
560
|
-
uri?:
|
|
561
|
-
string;
|
|
562
|
-
}
|
|
563
|
-
interface Operation {
|
|
564
|
-
/** If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. */
|
|
565
|
-
done?:
|
|
566
|
-
boolean;
|
|
567
|
-
/** The error result of the operation in case of failure or cancellation. */
|
|
568
|
-
error?:
|
|
569
|
-
Status;
|
|
570
|
-
/**
|
|
571
|
-
* Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such
|
|
572
|
-
* metadata. Any method that returns a long-running operation should document the metadata type, if any.
|
|
573
|
-
*/
|
|
574
|
-
metadata?:
|
|
575
|
-
{ [P in string]: any };
|
|
576
|
-
/**
|
|
577
|
-
* The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending
|
|
578
|
-
* with `operations/{unique_id}`.
|
|
579
|
-
*/
|
|
580
|
-
name?:
|
|
581
|
-
string;
|
|
582
|
-
/**
|
|
583
|
-
* 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
|
|
584
|
-
* 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
|
|
585
|
-
* method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
|
|
586
|
-
*/
|
|
587
|
-
response?:
|
|
588
|
-
{ [P in string]: any };
|
|
589
|
-
}
|
|
590
|
-
interface OperationMetadata {
|
|
591
|
-
/** API version. */
|
|
592
|
-
apiVersion?:
|
|
593
|
-
string;
|
|
594
|
-
/** Specifies if cancellation was requested for the operation. */
|
|
595
|
-
cancelRequested?:
|
|
596
|
-
boolean;
|
|
597
|
-
/** The time the operation was created. */
|
|
598
|
-
createTime?:
|
|
599
|
-
string;
|
|
600
|
-
/** The time the operation finished running. */
|
|
601
|
-
endTime?:
|
|
602
|
-
string;
|
|
603
|
-
/** Human-readable status of the operation, if any. */
|
|
604
|
-
statusDetail?:
|
|
605
|
-
string;
|
|
606
|
-
/** Target of the operation - for example projects/project-1/locations/global/connectivityTests/test-1 */
|
|
607
|
-
target?:
|
|
608
|
-
string;
|
|
609
|
-
/** Name of the verb executed by the operation. */
|
|
610
|
-
verb?:
|
|
611
|
-
string;
|
|
612
|
-
}
|
|
613
|
-
interface Policy {
|
|
614
|
-
/** Specifies cloud audit logging configuration for this policy. */
|
|
615
|
-
auditConfigs?:
|
|
616
|
-
AuditConfig[];
|
|
617
|
-
/**
|
|
618
|
-
* Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings`
|
|
619
|
-
* must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a
|
|
620
|
-
* principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another
|
|
621
|
-
* 1,450 principals to the `bindings` in the `Policy`.
|
|
622
|
-
*/
|
|
623
|
-
bindings?:
|
|
624
|
-
Binding[];
|
|
625
|
-
/**
|
|
626
|
-
* `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make
|
|
627
|
-
* use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems
|
|
628
|
-
* are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM
|
|
629
|
-
* Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1`
|
|
630
|
-
* policy, and all of the conditions in the version `3` policy are lost.
|
|
631
|
-
*/
|
|
632
|
-
etag?:
|
|
633
|
-
string;
|
|
634
|
-
/**
|
|
635
|
-
* Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings
|
|
636
|
-
* must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a
|
|
637
|
-
* policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use
|
|
638
|
-
* IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1`
|
|
639
|
-
* policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave
|
|
640
|
-
* the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
641
|
-
*/
|
|
642
|
-
version?:
|
|
643
|
-
number;
|
|
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
|
-
}
|
|
677
|
-
interface ReachabilityDetails {
|
|
678
|
-
/** The details of a failure or a cancellation of reachability analysis. */
|
|
679
|
-
error?:
|
|
680
|
-
Status;
|
|
681
|
-
/** The overall result of the test's configuration analysis. */
|
|
682
|
-
result?:
|
|
683
|
-
string;
|
|
684
|
-
/** Result may contain a list of traces if a test has multiple possible paths in the network, such as when destination endpoint is a load balancer with multiple backends. */
|
|
685
|
-
traces?:
|
|
686
|
-
Trace[];
|
|
687
|
-
/** The time of the configuration analysis. */
|
|
688
|
-
verifyTime?:
|
|
689
|
-
string;
|
|
690
|
-
}
|
|
691
|
-
// tslint:disable-next-line:no-empty-interface
|
|
692
|
-
interface RerunConnectivityTestRequest {
|
|
693
|
-
}
|
|
694
|
-
interface RouteInfo {
|
|
695
|
-
/** Destination IP range of the route. */
|
|
696
|
-
destIpRange?:
|
|
697
|
-
string;
|
|
698
|
-
/** Destination port ranges of the route. Policy based routes only. */
|
|
699
|
-
destPortRanges?:
|
|
700
|
-
string[];
|
|
701
|
-
/** Name of a route. */
|
|
702
|
-
displayName?:
|
|
703
|
-
string;
|
|
704
|
-
/** Instance tags of the route. */
|
|
705
|
-
instanceTags?:
|
|
706
|
-
string[];
|
|
707
|
-
/** URI of a NCC Hub. NCC_HUB routes only. */
|
|
708
|
-
nccHubUri?:
|
|
709
|
-
string;
|
|
710
|
-
/** URI of a NCC Spoke. NCC_HUB routes only. */
|
|
711
|
-
nccSpokeUri?:
|
|
712
|
-
string;
|
|
713
|
-
/** URI of a Compute Engine network. NETWORK routes only. */
|
|
714
|
-
networkUri?:
|
|
715
|
-
string;
|
|
716
|
-
/** Next hop of the route. */
|
|
717
|
-
nextHop?:
|
|
718
|
-
string;
|
|
719
|
-
/** Type of next hop. */
|
|
720
|
-
nextHopType?:
|
|
721
|
-
string;
|
|
722
|
-
/** Priority of the route. */
|
|
723
|
-
priority?:
|
|
724
|
-
number;
|
|
725
|
-
/** Protocols of the route. Policy based routes only. */
|
|
726
|
-
protocols?:
|
|
727
|
-
string[];
|
|
728
|
-
/** Indicates where route is applicable. */
|
|
729
|
-
routeScope?:
|
|
730
|
-
string;
|
|
731
|
-
/** Type of route. */
|
|
732
|
-
routeType?:
|
|
733
|
-
string;
|
|
734
|
-
/** Source IP address range of the route. Policy based routes only. */
|
|
735
|
-
srcIpRange?:
|
|
736
|
-
string;
|
|
737
|
-
/** Source port ranges of the route. Policy based routes only. */
|
|
738
|
-
srcPortRanges?:
|
|
739
|
-
string[];
|
|
740
|
-
/** 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. */
|
|
741
|
-
uri?:
|
|
742
|
-
string;
|
|
743
|
-
}
|
|
744
|
-
interface SetIamPolicyRequest {
|
|
745
|
-
/**
|
|
746
|
-
* REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud
|
|
747
|
-
* services (such as Projects) might reject them.
|
|
748
|
-
*/
|
|
749
|
-
policy?:
|
|
750
|
-
Policy;
|
|
751
|
-
/**
|
|
752
|
-
* OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used:
|
|
753
|
-
* `paths: "bindings, etag"`
|
|
754
|
-
*/
|
|
755
|
-
updateMask?:
|
|
756
|
-
string;
|
|
757
|
-
}
|
|
758
|
-
interface Status {
|
|
759
|
-
/** The status code, which should be an enum value of google.rpc.Code. */
|
|
760
|
-
code?:
|
|
761
|
-
number;
|
|
762
|
-
/** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
|
|
763
|
-
details?:
|
|
764
|
-
Array<{ [P in string]: any }>;
|
|
765
|
-
/**
|
|
766
|
-
* A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the
|
|
767
|
-
* client.
|
|
768
|
-
*/
|
|
769
|
-
message?:
|
|
770
|
-
string;
|
|
771
|
-
}
|
|
772
|
-
interface Step {
|
|
773
|
-
/** Display information of the final state "abort" and reason. */
|
|
774
|
-
abort?:
|
|
775
|
-
AbortInfo;
|
|
776
|
-
/** Display information of an App Engine service version. */
|
|
777
|
-
appEngineVersion?:
|
|
778
|
-
AppEngineVersionInfo;
|
|
779
|
-
/** This is a step that leads to the final state Drop. */
|
|
780
|
-
causesDrop?:
|
|
781
|
-
boolean;
|
|
782
|
-
/** Display information of a Cloud Function. */
|
|
783
|
-
cloudFunction?:
|
|
784
|
-
CloudFunctionInfo;
|
|
785
|
-
/** Display information of a Cloud Run revision. */
|
|
786
|
-
cloudRunRevision?:
|
|
787
|
-
CloudRunRevisionInfo;
|
|
788
|
-
/** Display information of a Cloud SQL instance. */
|
|
789
|
-
cloudSqlInstance?:
|
|
790
|
-
CloudSQLInstanceInfo;
|
|
791
|
-
/** Display information of the final state "deliver" and reason. */
|
|
792
|
-
deliver?:
|
|
793
|
-
DeliverInfo;
|
|
794
|
-
/** A description of the step. Usually this is a summary of the state. */
|
|
795
|
-
description?:
|
|
796
|
-
string;
|
|
797
|
-
/** Display information of the final state "drop" and reason. */
|
|
798
|
-
drop?:
|
|
799
|
-
DropInfo;
|
|
800
|
-
/**
|
|
801
|
-
* Display information of the source and destination under analysis. The endpoint information in an intermediate state may differ with the initial input, as it might be modified by
|
|
802
|
-
* state like NAT, or Connection Proxy.
|
|
803
|
-
*/
|
|
804
|
-
endpoint?:
|
|
805
|
-
EndpointInfo;
|
|
806
|
-
/** Display information of a Compute Engine firewall rule. */
|
|
807
|
-
firewall?:
|
|
808
|
-
FirewallInfo;
|
|
809
|
-
/** Display information of the final state "forward" and reason. */
|
|
810
|
-
forward?:
|
|
811
|
-
ForwardInfo;
|
|
812
|
-
/** Display information of a Compute Engine forwarding rule. */
|
|
813
|
-
forwardingRule?:
|
|
814
|
-
ForwardingRuleInfo;
|
|
815
|
-
/** Display information of a Google Kubernetes Engine cluster master. */
|
|
816
|
-
gkeMaster?:
|
|
817
|
-
GKEMasterInfo;
|
|
818
|
-
/** Display information of a Google service */
|
|
819
|
-
googleService?:
|
|
820
|
-
GoogleServiceInfo;
|
|
821
|
-
/** Display information of a Compute Engine instance. */
|
|
822
|
-
instance?:
|
|
823
|
-
InstanceInfo;
|
|
824
|
-
/** Display information of the load balancers. */
|
|
825
|
-
loadBalancer?:
|
|
826
|
-
LoadBalancerInfo;
|
|
827
|
-
/** Display information of a Google Cloud network. */
|
|
828
|
-
network?:
|
|
829
|
-
NetworkInfo;
|
|
830
|
-
/** Project ID that contains the configuration this step is validating. */
|
|
831
|
-
projectId?:
|
|
832
|
-
string;
|
|
833
|
-
/** Display information of a Compute Engine route. */
|
|
834
|
-
route?:
|
|
835
|
-
RouteInfo;
|
|
836
|
-
/** Each step is in one of the pre-defined states. */
|
|
837
|
-
state?:
|
|
838
|
-
string;
|
|
839
|
-
/** Display information of a VPC connector. */
|
|
840
|
-
vpcConnector?:
|
|
841
|
-
VpcConnectorInfo;
|
|
842
|
-
/** Display information of a Compute Engine VPN gateway. */
|
|
843
|
-
vpnGateway?:
|
|
844
|
-
VpnGatewayInfo;
|
|
845
|
-
/** Display information of a Compute Engine VPN tunnel. */
|
|
846
|
-
vpnTunnel?:
|
|
847
|
-
VpnTunnelInfo;
|
|
848
|
-
}
|
|
849
|
-
interface TestIamPermissionsRequest {
|
|
850
|
-
/**
|
|
851
|
-
* The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM
|
|
852
|
-
* Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
|
853
|
-
*/
|
|
854
|
-
permissions?:
|
|
855
|
-
string[];
|
|
856
|
-
}
|
|
857
|
-
interface TestIamPermissionsResponse {
|
|
858
|
-
/** A subset of `TestPermissionsRequest.permissions` that the caller is allowed. */
|
|
859
|
-
permissions?:
|
|
860
|
-
string[];
|
|
861
|
-
}
|
|
862
|
-
interface Trace {
|
|
863
|
-
/**
|
|
864
|
-
* Derived from the source and destination endpoints definition specified by user request, and validated by the data plane model. If there are multiple traces starting from different
|
|
865
|
-
* source locations, then the endpoint_info may be different between traces.
|
|
866
|
-
*/
|
|
867
|
-
endpointInfo?:
|
|
868
|
-
EndpointInfo;
|
|
869
|
-
/**
|
|
870
|
-
* A trace of a test contains multiple steps from the initial state to the final state (delivered, dropped, forwarded, or aborted). The steps are ordered by the processing sequence
|
|
871
|
-
* within the simulated network state machine. It is critical to preserve the order of the steps and avoid reordering or sorting them.
|
|
872
|
-
*/
|
|
873
|
-
steps?:
|
|
874
|
-
Step[];
|
|
875
|
-
}
|
|
876
|
-
interface VpcConnectorInfo {
|
|
877
|
-
/** Name of a VPC connector. */
|
|
878
|
-
displayName?:
|
|
879
|
-
string;
|
|
880
|
-
/** Location in which the VPC connector is deployed. */
|
|
881
|
-
location?:
|
|
882
|
-
string;
|
|
883
|
-
/** URI of a VPC connector. */
|
|
884
|
-
uri?:
|
|
885
|
-
string;
|
|
886
|
-
}
|
|
887
|
-
interface VpnGatewayInfo {
|
|
888
|
-
/** Name of a VPN gateway. */
|
|
889
|
-
displayName?:
|
|
890
|
-
string;
|
|
891
|
-
/** IP address of the VPN gateway. */
|
|
892
|
-
ipAddress?:
|
|
893
|
-
string;
|
|
894
|
-
/** URI of a Compute Engine network where the VPN gateway is configured. */
|
|
895
|
-
networkUri?:
|
|
896
|
-
string;
|
|
897
|
-
/** Name of a Google Cloud region where this VPN gateway is configured. */
|
|
898
|
-
region?:
|
|
899
|
-
string;
|
|
900
|
-
/** URI of a VPN gateway. */
|
|
901
|
-
uri?:
|
|
902
|
-
string;
|
|
903
|
-
/** A VPN tunnel that is associated with this VPN gateway. There may be multiple VPN tunnels configured on a VPN gateway, and only the one relevant to the test is displayed. */
|
|
904
|
-
vpnTunnelUri?:
|
|
905
|
-
string;
|
|
906
|
-
}
|
|
907
|
-
interface VpnTunnelInfo {
|
|
908
|
-
/** Name of a VPN tunnel. */
|
|
909
|
-
displayName?:
|
|
910
|
-
string;
|
|
911
|
-
/** URI of a Compute Engine network where the VPN tunnel is configured. */
|
|
912
|
-
networkUri?:
|
|
913
|
-
string;
|
|
914
|
-
/** Name of a Google Cloud region where this VPN tunnel is configured. */
|
|
915
|
-
region?:
|
|
916
|
-
string;
|
|
917
|
-
/** URI of a VPN gateway at remote end of the tunnel. */
|
|
918
|
-
remoteGateway?:
|
|
919
|
-
string;
|
|
920
|
-
/** Remote VPN gateway's IP address. */
|
|
921
|
-
remoteGatewayIp?:
|
|
922
|
-
string;
|
|
923
|
-
/** Type of the routing policy. */
|
|
924
|
-
routingType?:
|
|
925
|
-
string;
|
|
926
|
-
/** URI of the VPN gateway at local end of the tunnel. */
|
|
927
|
-
sourceGateway?:
|
|
928
|
-
string;
|
|
929
|
-
/** Local VPN gateway's IP address. */
|
|
930
|
-
sourceGatewayIp?:
|
|
931
|
-
string;
|
|
932
|
-
/** URI of a VPN tunnel. */
|
|
933
|
-
uri?:
|
|
934
|
-
string;
|
|
935
|
-
}
|
|
936
|
-
interface ConnectivityTestsResource {
|
|
937
|
-
/**
|
|
938
|
-
* Creates a new Connectivity Test. After you create a test, the reachability analysis is performed as part of the long running operation, which completes when the analysis completes.
|
|
939
|
-
* If the endpoint specifications in `ConnectivityTest` are invalid (for example, containing non-existent resources in the network, or you don't have read permissions to the network
|
|
940
|
-
* configurations of listed projects), then the reachability result returns a value of `UNKNOWN`. If the endpoint specifications in `ConnectivityTest` are incomplete, the reachability
|
|
941
|
-
* result returns a value of AMBIGUOUS. For more information, see the Connectivity Test documentation.
|
|
942
|
-
*/
|
|
943
|
-
create(request: {
|
|
944
|
-
/** V1 error format. */
|
|
945
|
-
"$.xgafv"?:
|
|
946
|
-
string;
|
|
947
|
-
/** OAuth access token. */
|
|
948
|
-
access_token?:
|
|
949
|
-
string;
|
|
950
|
-
/** Data format for response. */
|
|
951
|
-
alt?:
|
|
952
|
-
string;
|
|
953
|
-
/** JSONP */
|
|
954
|
-
callback?:
|
|
955
|
-
string;
|
|
956
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
957
|
-
fields?:
|
|
958
|
-
string;
|
|
959
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
960
|
-
key?:
|
|
961
|
-
string;
|
|
962
|
-
/** OAuth 2.0 token for the current user. */
|
|
963
|
-
oauth_token?:
|
|
964
|
-
string;
|
|
965
|
-
/** Required. The parent resource of the Connectivity Test to create: `projects/{project_id}/locations/global` */
|
|
966
|
-
parent:
|
|
967
|
-
string;
|
|
968
|
-
/** Returns response with indentations and line breaks. */
|
|
969
|
-
prettyPrint?:
|
|
970
|
-
boolean;
|
|
971
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
972
|
-
quotaUser?:
|
|
973
|
-
string;
|
|
974
|
-
/**
|
|
975
|
-
* Required. The logical name of the Connectivity Test in your project with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start
|
|
976
|
-
* with a letter. * Must be between 1-40 characters. * Must end with a number or a letter. * Must be unique within the customer project
|
|
977
|
-
*/
|
|
978
|
-
testId?:
|
|
979
|
-
string;
|
|
980
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
981
|
-
upload_protocol?:
|
|
982
|
-
string;
|
|
983
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
984
|
-
uploadType?:
|
|
985
|
-
string;
|
|
986
|
-
/** Request body */
|
|
987
|
-
resource:
|
|
988
|
-
ConnectivityTest;
|
|
989
|
-
}): Request<Operation>;
|
|
990
|
-
create(request: {
|
|
991
|
-
/** V1 error format. */
|
|
992
|
-
"$.xgafv"?:
|
|
993
|
-
string;
|
|
994
|
-
/** OAuth access token. */
|
|
995
|
-
access_token?:
|
|
996
|
-
string;
|
|
997
|
-
/** Data format for response. */
|
|
998
|
-
alt?:
|
|
999
|
-
string;
|
|
1000
|
-
/** JSONP */
|
|
1001
|
-
callback?:
|
|
1002
|
-
string;
|
|
1003
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1004
|
-
fields?:
|
|
1005
|
-
string;
|
|
1006
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1007
|
-
key?:
|
|
1008
|
-
string;
|
|
1009
|
-
/** OAuth 2.0 token for the current user. */
|
|
1010
|
-
oauth_token?:
|
|
1011
|
-
string;
|
|
1012
|
-
/** Required. The parent resource of the Connectivity Test to create: `projects/{project_id}/locations/global` */
|
|
1013
|
-
parent:
|
|
1014
|
-
string;
|
|
1015
|
-
/** Returns response with indentations and line breaks. */
|
|
1016
|
-
prettyPrint?:
|
|
1017
|
-
boolean;
|
|
1018
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1019
|
-
quotaUser?:
|
|
1020
|
-
string;
|
|
1021
|
-
/**
|
|
1022
|
-
* Required. The logical name of the Connectivity Test in your project with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start
|
|
1023
|
-
* with a letter. * Must be between 1-40 characters. * Must end with a number or a letter. * Must be unique within the customer project
|
|
1024
|
-
*/
|
|
1025
|
-
testId?:
|
|
1026
|
-
string;
|
|
1027
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1028
|
-
upload_protocol?:
|
|
1029
|
-
string;
|
|
1030
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1031
|
-
uploadType?:
|
|
1032
|
-
string;
|
|
1033
|
-
},
|
|
1034
|
-
body: ConnectivityTest): Request<Operation>;
|
|
1035
|
-
/** Deletes a specific `ConnectivityTest`. */
|
|
1036
|
-
delete(request?: {
|
|
1037
|
-
/** V1 error format. */
|
|
1038
|
-
"$.xgafv"?:
|
|
1039
|
-
string;
|
|
1040
|
-
/** OAuth access token. */
|
|
1041
|
-
access_token?:
|
|
1042
|
-
string;
|
|
1043
|
-
/** Data format for response. */
|
|
1044
|
-
alt?:
|
|
1045
|
-
string;
|
|
1046
|
-
/** JSONP */
|
|
1047
|
-
callback?:
|
|
1048
|
-
string;
|
|
1049
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1050
|
-
fields?:
|
|
1051
|
-
string;
|
|
1052
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1053
|
-
key?:
|
|
1054
|
-
string;
|
|
1055
|
-
/** Required. Connectivity Test resource name using the form: `projects/{project_id}/locations/global/connectivityTests/{test_id}` */
|
|
1056
|
-
name:
|
|
1057
|
-
string;
|
|
1058
|
-
/** OAuth 2.0 token for the current user. */
|
|
1059
|
-
oauth_token?:
|
|
1060
|
-
string;
|
|
1061
|
-
/** Returns response with indentations and line breaks. */
|
|
1062
|
-
prettyPrint?:
|
|
1063
|
-
boolean;
|
|
1064
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1065
|
-
quotaUser?:
|
|
1066
|
-
string;
|
|
1067
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1068
|
-
upload_protocol?:
|
|
1069
|
-
string;
|
|
1070
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1071
|
-
uploadType?:
|
|
1072
|
-
string;
|
|
1073
|
-
}): Request<Operation>;
|
|
1074
|
-
/** Gets the details of a specific Connectivity Test. */
|
|
1075
|
-
get(request?: {
|
|
1076
|
-
/** V1 error format. */
|
|
1077
|
-
"$.xgafv"?:
|
|
1078
|
-
string;
|
|
1079
|
-
/** OAuth access token. */
|
|
1080
|
-
access_token?:
|
|
1081
|
-
string;
|
|
1082
|
-
/** Data format for response. */
|
|
1083
|
-
alt?:
|
|
1084
|
-
string;
|
|
1085
|
-
/** JSONP */
|
|
1086
|
-
callback?:
|
|
1087
|
-
string;
|
|
1088
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1089
|
-
fields?:
|
|
1090
|
-
string;
|
|
1091
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1092
|
-
key?:
|
|
1093
|
-
string;
|
|
1094
|
-
/** Required. `ConnectivityTest` resource name using the form: `projects/{project_id}/locations/global/connectivityTests/{test_id}` */
|
|
1095
|
-
name:
|
|
1096
|
-
string;
|
|
1097
|
-
/** OAuth 2.0 token for the current user. */
|
|
1098
|
-
oauth_token?:
|
|
1099
|
-
string;
|
|
1100
|
-
/** Returns response with indentations and line breaks. */
|
|
1101
|
-
prettyPrint?:
|
|
1102
|
-
boolean;
|
|
1103
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1104
|
-
quotaUser?:
|
|
1105
|
-
string;
|
|
1106
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1107
|
-
upload_protocol?:
|
|
1108
|
-
string;
|
|
1109
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1110
|
-
uploadType?:
|
|
1111
|
-
string;
|
|
1112
|
-
}): Request<ConnectivityTest>;
|
|
1113
|
-
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
1114
|
-
getIamPolicy(request?: {
|
|
1115
|
-
/** V1 error format. */
|
|
1116
|
-
"$.xgafv"?:
|
|
1117
|
-
string;
|
|
1118
|
-
/** OAuth access token. */
|
|
1119
|
-
access_token?:
|
|
1120
|
-
string;
|
|
1121
|
-
/** Data format for response. */
|
|
1122
|
-
alt?:
|
|
1123
|
-
string;
|
|
1124
|
-
/** JSONP */
|
|
1125
|
-
callback?:
|
|
1126
|
-
string;
|
|
1127
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1128
|
-
fields?:
|
|
1129
|
-
string;
|
|
1130
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1131
|
-
key?:
|
|
1132
|
-
string;
|
|
1133
|
-
/** OAuth 2.0 token for the current user. */
|
|
1134
|
-
oauth_token?:
|
|
1135
|
-
string;
|
|
1136
|
-
/**
|
|
1137
|
-
* Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for
|
|
1138
|
-
* policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy
|
|
1139
|
-
* in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional
|
|
1140
|
-
* role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM
|
|
1141
|
-
* documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
1142
|
-
*/
|
|
1143
|
-
"options.requestedPolicyVersion"?:
|
|
1144
|
-
number;
|
|
1145
|
-
/** Returns response with indentations and line breaks. */
|
|
1146
|
-
prettyPrint?:
|
|
1147
|
-
boolean;
|
|
1148
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1149
|
-
quotaUser?:
|
|
1150
|
-
string;
|
|
1151
|
-
/**
|
|
1152
|
-
* REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
|
|
1153
|
-
* field.
|
|
1154
|
-
*/
|
|
1155
|
-
resource:
|
|
1156
|
-
string;
|
|
1157
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1158
|
-
upload_protocol?:
|
|
1159
|
-
string;
|
|
1160
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1161
|
-
uploadType?:
|
|
1162
|
-
string;
|
|
1163
|
-
}): Request<Policy>;
|
|
1164
|
-
/** Lists all Connectivity Tests owned by a project. */
|
|
1165
|
-
list(request?: {
|
|
1166
|
-
/** V1 error format. */
|
|
1167
|
-
"$.xgafv"?:
|
|
1168
|
-
string;
|
|
1169
|
-
/** OAuth access token. */
|
|
1170
|
-
access_token?:
|
|
1171
|
-
string;
|
|
1172
|
-
/** Data format for response. */
|
|
1173
|
-
alt?:
|
|
1174
|
-
string;
|
|
1175
|
-
/** JSONP */
|
|
1176
|
-
callback?:
|
|
1177
|
-
string;
|
|
1178
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1179
|
-
fields?:
|
|
1180
|
-
string;
|
|
1181
|
-
/**
|
|
1182
|
-
* Lists the `ConnectivityTests` that match the filter expression. A filter expression filters the resources listed in the response. The expression must be of the form ` ` where
|
|
1183
|
-
* operators: `<`, `>`, `<=`, `>=`, `!=`, `=`, `:` are supported (colon `:` represents a HAS operator which is roughly synonymous with equality). can refer to a proto or JSON
|
|
1184
|
-
* field, or a synthetic field. Field names can be camelCase or snake_case. Examples: - Filter by name: name = "projects/proj-1/locations/global/connectivityTests/test-1 - Filter
|
|
1185
|
-
* by labels: - Resources that have a key called `foo` labels.foo:* - Resources that have a key called `foo` whose value is `bar` labels.foo = bar
|
|
1186
|
-
*/
|
|
1187
|
-
filter?:
|
|
1188
|
-
string;
|
|
1189
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1190
|
-
key?:
|
|
1191
|
-
string;
|
|
1192
|
-
/** OAuth 2.0 token for the current user. */
|
|
1193
|
-
oauth_token?:
|
|
1194
|
-
string;
|
|
1195
|
-
/** Field to use to sort the list. */
|
|
1196
|
-
orderBy?:
|
|
1197
|
-
string;
|
|
1198
|
-
/** Number of `ConnectivityTests` to return. */
|
|
1199
|
-
pageSize?:
|
|
1200
|
-
number;
|
|
1201
|
-
/** Page token from an earlier query, as returned in `next_page_token`. */
|
|
1202
|
-
pageToken?:
|
|
1203
|
-
string;
|
|
1204
|
-
/** Required. The parent resource of the Connectivity Tests: `projects/{project_id}/locations/global` */
|
|
1205
|
-
parent:
|
|
1206
|
-
string;
|
|
1207
|
-
/** Returns response with indentations and line breaks. */
|
|
1208
|
-
prettyPrint?:
|
|
1209
|
-
boolean;
|
|
1210
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1211
|
-
quotaUser?:
|
|
1212
|
-
string;
|
|
1213
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1214
|
-
upload_protocol?:
|
|
1215
|
-
string;
|
|
1216
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1217
|
-
uploadType?:
|
|
1218
|
-
string;
|
|
1219
|
-
}): Request<ListConnectivityTestsResponse>;
|
|
1220
|
-
/**
|
|
1221
|
-
* Updates the configuration of an existing `ConnectivityTest`. After you update a test, the reachability analysis is performed as part of the long running operation, which completes
|
|
1222
|
-
* when the analysis completes. The Reachability state in the test resource is updated with the new result. If the endpoint specifications in `ConnectivityTest` are invalid (for
|
|
1223
|
-
* example, they contain non-existent resources in the network, or the user does not have read permissions to the network configurations of listed projects), then the reachability
|
|
1224
|
-
* result returns a value of UNKNOWN. If the endpoint specifications in `ConnectivityTest` are incomplete, the reachability result returns a value of `AMBIGUOUS`. See the documentation
|
|
1225
|
-
* in `ConnectivityTest` for for more details.
|
|
1226
|
-
*/
|
|
1227
|
-
patch(request: {
|
|
1228
|
-
/** V1 error format. */
|
|
1229
|
-
"$.xgafv"?:
|
|
1230
|
-
string;
|
|
1231
|
-
/** OAuth access token. */
|
|
1232
|
-
access_token?:
|
|
1233
|
-
string;
|
|
1234
|
-
/** Data format for response. */
|
|
1235
|
-
alt?:
|
|
1236
|
-
string;
|
|
1237
|
-
/** JSONP */
|
|
1238
|
-
callback?:
|
|
1239
|
-
string;
|
|
1240
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1241
|
-
fields?:
|
|
1242
|
-
string;
|
|
1243
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1244
|
-
key?:
|
|
1245
|
-
string;
|
|
1246
|
-
/** Required. Unique name of the resource using the form: `projects/{project_id}/locations/global/connectivityTests/{test_id}` */
|
|
1247
|
-
name:
|
|
1248
|
-
string;
|
|
1249
|
-
/** OAuth 2.0 token for the current user. */
|
|
1250
|
-
oauth_token?:
|
|
1251
|
-
string;
|
|
1252
|
-
/** Returns response with indentations and line breaks. */
|
|
1253
|
-
prettyPrint?:
|
|
1254
|
-
boolean;
|
|
1255
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1256
|
-
quotaUser?:
|
|
1257
|
-
string;
|
|
1258
|
-
/** Required. Mask of fields to update. At least one path must be supplied in this field. */
|
|
1259
|
-
updateMask?:
|
|
1260
|
-
string;
|
|
1261
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1262
|
-
upload_protocol?:
|
|
1263
|
-
string;
|
|
1264
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1265
|
-
uploadType?:
|
|
1266
|
-
string;
|
|
1267
|
-
/** Request body */
|
|
1268
|
-
resource:
|
|
1269
|
-
ConnectivityTest;
|
|
1270
|
-
}): Request<Operation>;
|
|
1271
|
-
patch(request: {
|
|
1272
|
-
/** V1 error format. */
|
|
1273
|
-
"$.xgafv"?:
|
|
1274
|
-
string;
|
|
1275
|
-
/** OAuth access token. */
|
|
1276
|
-
access_token?:
|
|
1277
|
-
string;
|
|
1278
|
-
/** Data format for response. */
|
|
1279
|
-
alt?:
|
|
1280
|
-
string;
|
|
1281
|
-
/** JSONP */
|
|
1282
|
-
callback?:
|
|
1283
|
-
string;
|
|
1284
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1285
|
-
fields?:
|
|
1286
|
-
string;
|
|
1287
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1288
|
-
key?:
|
|
1289
|
-
string;
|
|
1290
|
-
/** Required. Unique name of the resource using the form: `projects/{project_id}/locations/global/connectivityTests/{test_id}` */
|
|
1291
|
-
name:
|
|
1292
|
-
string;
|
|
1293
|
-
/** OAuth 2.0 token for the current user. */
|
|
1294
|
-
oauth_token?:
|
|
1295
|
-
string;
|
|
1296
|
-
/** Returns response with indentations and line breaks. */
|
|
1297
|
-
prettyPrint?:
|
|
1298
|
-
boolean;
|
|
1299
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1300
|
-
quotaUser?:
|
|
1301
|
-
string;
|
|
1302
|
-
/** Required. Mask of fields to update. At least one path must be supplied in this field. */
|
|
1303
|
-
updateMask?:
|
|
1304
|
-
string;
|
|
1305
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1306
|
-
upload_protocol?:
|
|
1307
|
-
string;
|
|
1308
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1309
|
-
uploadType?:
|
|
1310
|
-
string;
|
|
1311
|
-
},
|
|
1312
|
-
body: ConnectivityTest): Request<Operation>;
|
|
1313
|
-
/**
|
|
1314
|
-
* Rerun an existing `ConnectivityTest`. After the user triggers the rerun, the reachability analysis is performed as part of the long running operation, which completes when the
|
|
1315
|
-
* analysis completes. Even though the test configuration remains the same, the reachability result may change due to underlying network configuration changes. If the endpoint
|
|
1316
|
-
* specifications in `ConnectivityTest` become invalid (for example, specified resources are deleted in the network, or you lost read permissions to the network configurations of
|
|
1317
|
-
* listed projects), then the reachability result returns a value of `UNKNOWN`.
|
|
1318
|
-
*/
|
|
1319
|
-
rerun(request: {
|
|
1320
|
-
/** V1 error format. */
|
|
1321
|
-
"$.xgafv"?:
|
|
1322
|
-
string;
|
|
1323
|
-
/** OAuth access token. */
|
|
1324
|
-
access_token?:
|
|
1325
|
-
string;
|
|
1326
|
-
/** Data format for response. */
|
|
1327
|
-
alt?:
|
|
1328
|
-
string;
|
|
1329
|
-
/** JSONP */
|
|
1330
|
-
callback?:
|
|
1331
|
-
string;
|
|
1332
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1333
|
-
fields?:
|
|
1334
|
-
string;
|
|
1335
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1336
|
-
key?:
|
|
1337
|
-
string;
|
|
1338
|
-
/** Required. Connectivity Test resource name using the form: `projects/{project_id}/locations/global/connectivityTests/{test_id}` */
|
|
1339
|
-
name:
|
|
1340
|
-
string;
|
|
1341
|
-
/** OAuth 2.0 token for the current user. */
|
|
1342
|
-
oauth_token?:
|
|
1343
|
-
string;
|
|
1344
|
-
/** Returns response with indentations and line breaks. */
|
|
1345
|
-
prettyPrint?:
|
|
1346
|
-
boolean;
|
|
1347
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1348
|
-
quotaUser?:
|
|
1349
|
-
string;
|
|
1350
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1351
|
-
upload_protocol?:
|
|
1352
|
-
string;
|
|
1353
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1354
|
-
uploadType?:
|
|
1355
|
-
string;
|
|
1356
|
-
/** Request body */
|
|
1357
|
-
resource:
|
|
1358
|
-
RerunConnectivityTestRequest;
|
|
1359
|
-
}): Request<Operation>;
|
|
1360
|
-
rerun(request: {
|
|
1361
|
-
/** V1 error format. */
|
|
1362
|
-
"$.xgafv"?:
|
|
1363
|
-
string;
|
|
1364
|
-
/** OAuth access token. */
|
|
1365
|
-
access_token?:
|
|
1366
|
-
string;
|
|
1367
|
-
/** Data format for response. */
|
|
1368
|
-
alt?:
|
|
1369
|
-
string;
|
|
1370
|
-
/** JSONP */
|
|
1371
|
-
callback?:
|
|
1372
|
-
string;
|
|
1373
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1374
|
-
fields?:
|
|
1375
|
-
string;
|
|
1376
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1377
|
-
key?:
|
|
1378
|
-
string;
|
|
1379
|
-
/** Required. Connectivity Test resource name using the form: `projects/{project_id}/locations/global/connectivityTests/{test_id}` */
|
|
1380
|
-
name:
|
|
1381
|
-
string;
|
|
1382
|
-
/** OAuth 2.0 token for the current user. */
|
|
1383
|
-
oauth_token?:
|
|
1384
|
-
string;
|
|
1385
|
-
/** Returns response with indentations and line breaks. */
|
|
1386
|
-
prettyPrint?:
|
|
1387
|
-
boolean;
|
|
1388
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1389
|
-
quotaUser?:
|
|
1390
|
-
string;
|
|
1391
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1392
|
-
upload_protocol?:
|
|
1393
|
-
string;
|
|
1394
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1395
|
-
uploadType?:
|
|
1396
|
-
string;
|
|
1397
|
-
},
|
|
1398
|
-
body: RerunConnectivityTestRequest): Request<Operation>;
|
|
1399
|
-
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
1400
|
-
setIamPolicy(request: {
|
|
1401
|
-
/** V1 error format. */
|
|
1402
|
-
"$.xgafv"?:
|
|
1403
|
-
string;
|
|
1404
|
-
/** OAuth access token. */
|
|
1405
|
-
access_token?:
|
|
1406
|
-
string;
|
|
1407
|
-
/** Data format for response. */
|
|
1408
|
-
alt?:
|
|
1409
|
-
string;
|
|
1410
|
-
/** JSONP */
|
|
1411
|
-
callback?:
|
|
1412
|
-
string;
|
|
1413
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1414
|
-
fields?:
|
|
1415
|
-
string;
|
|
1416
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1417
|
-
key?:
|
|
1418
|
-
string;
|
|
1419
|
-
/** OAuth 2.0 token for the current user. */
|
|
1420
|
-
oauth_token?:
|
|
1421
|
-
string;
|
|
1422
|
-
/** Returns response with indentations and line breaks. */
|
|
1423
|
-
prettyPrint?:
|
|
1424
|
-
boolean;
|
|
1425
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1426
|
-
quotaUser?:
|
|
1427
|
-
string;
|
|
1428
|
-
/**
|
|
1429
|
-
* REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
|
|
1430
|
-
* field.
|
|
1431
|
-
*/
|
|
1432
|
-
resource:
|
|
1433
|
-
string;
|
|
1434
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1435
|
-
upload_protocol?:
|
|
1436
|
-
string;
|
|
1437
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1438
|
-
uploadType?:
|
|
1439
|
-
string;
|
|
1440
|
-
},
|
|
1441
|
-
body: SetIamPolicyRequest): Request<Policy>;
|
|
1442
|
-
/**
|
|
1443
|
-
* Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This
|
|
1444
|
-
* operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
|
|
1445
|
-
*/
|
|
1446
|
-
testIamPermissions(request: {
|
|
1447
|
-
/** V1 error format. */
|
|
1448
|
-
"$.xgafv"?:
|
|
1449
|
-
string;
|
|
1450
|
-
/** OAuth access token. */
|
|
1451
|
-
access_token?:
|
|
1452
|
-
string;
|
|
1453
|
-
/** Data format for response. */
|
|
1454
|
-
alt?:
|
|
1455
|
-
string;
|
|
1456
|
-
/** JSONP */
|
|
1457
|
-
callback?:
|
|
1458
|
-
string;
|
|
1459
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1460
|
-
fields?:
|
|
1461
|
-
string;
|
|
1462
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1463
|
-
key?:
|
|
1464
|
-
string;
|
|
1465
|
-
/** OAuth 2.0 token for the current user. */
|
|
1466
|
-
oauth_token?:
|
|
1467
|
-
string;
|
|
1468
|
-
/** Returns response with indentations and line breaks. */
|
|
1469
|
-
prettyPrint?:
|
|
1470
|
-
boolean;
|
|
1471
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1472
|
-
quotaUser?:
|
|
1473
|
-
string;
|
|
1474
|
-
/**
|
|
1475
|
-
* REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
|
|
1476
|
-
* this field.
|
|
1477
|
-
*/
|
|
1478
|
-
resource:
|
|
1479
|
-
string;
|
|
1480
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1481
|
-
upload_protocol?:
|
|
1482
|
-
string;
|
|
1483
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1484
|
-
uploadType?:
|
|
1485
|
-
string;
|
|
1486
|
-
},
|
|
1487
|
-
body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
|
|
1488
|
-
}
|
|
1489
|
-
interface OperationsResource {
|
|
1490
|
-
/**
|
|
1491
|
-
* Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support
|
|
1492
|
-
* this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the
|
|
1493
|
-
* operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a
|
|
1494
|
-
* google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
|
|
1495
|
-
*/
|
|
1496
|
-
cancel(request: {
|
|
1497
|
-
/** V1 error format. */
|
|
1498
|
-
"$.xgafv"?:
|
|
1499
|
-
string;
|
|
1500
|
-
/** OAuth access token. */
|
|
1501
|
-
access_token?:
|
|
1502
|
-
string;
|
|
1503
|
-
/** Data format for response. */
|
|
1504
|
-
alt?:
|
|
1505
|
-
string;
|
|
1506
|
-
/** JSONP */
|
|
1507
|
-
callback?:
|
|
1508
|
-
string;
|
|
1509
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1510
|
-
fields?:
|
|
1511
|
-
string;
|
|
1512
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1513
|
-
key?:
|
|
1514
|
-
string;
|
|
1515
|
-
/** The name of the operation resource to be cancelled. */
|
|
1516
|
-
name:
|
|
1517
|
-
string;
|
|
1518
|
-
/** OAuth 2.0 token for the current user. */
|
|
1519
|
-
oauth_token?:
|
|
1520
|
-
string;
|
|
1521
|
-
/** Returns response with indentations and line breaks. */
|
|
1522
|
-
prettyPrint?:
|
|
1523
|
-
boolean;
|
|
1524
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1525
|
-
quotaUser?:
|
|
1526
|
-
string;
|
|
1527
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1528
|
-
upload_protocol?:
|
|
1529
|
-
string;
|
|
1530
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1531
|
-
uploadType?:
|
|
1532
|
-
string;
|
|
1533
|
-
/** Request body */
|
|
1534
|
-
resource:
|
|
1535
|
-
CancelOperationRequest;
|
|
1536
|
-
}): Request<{}>;
|
|
1537
|
-
cancel(request: {
|
|
1538
|
-
/** V1 error format. */
|
|
1539
|
-
"$.xgafv"?:
|
|
1540
|
-
string;
|
|
1541
|
-
/** OAuth access token. */
|
|
1542
|
-
access_token?:
|
|
1543
|
-
string;
|
|
1544
|
-
/** Data format for response. */
|
|
1545
|
-
alt?:
|
|
1546
|
-
string;
|
|
1547
|
-
/** JSONP */
|
|
1548
|
-
callback?:
|
|
1549
|
-
string;
|
|
1550
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1551
|
-
fields?:
|
|
1552
|
-
string;
|
|
1553
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1554
|
-
key?:
|
|
1555
|
-
string;
|
|
1556
|
-
/** The name of the operation resource to be cancelled. */
|
|
1557
|
-
name:
|
|
1558
|
-
string;
|
|
1559
|
-
/** OAuth 2.0 token for the current user. */
|
|
1560
|
-
oauth_token?:
|
|
1561
|
-
string;
|
|
1562
|
-
/** Returns response with indentations and line breaks. */
|
|
1563
|
-
prettyPrint?:
|
|
1564
|
-
boolean;
|
|
1565
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1566
|
-
quotaUser?:
|
|
1567
|
-
string;
|
|
1568
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1569
|
-
upload_protocol?:
|
|
1570
|
-
string;
|
|
1571
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1572
|
-
uploadType?:
|
|
1573
|
-
string;
|
|
1574
|
-
},
|
|
1575
|
-
body: CancelOperationRequest): Request<{}>;
|
|
1576
|
-
/**
|
|
1577
|
-
* Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't
|
|
1578
|
-
* support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
|
1579
|
-
*/
|
|
1580
|
-
delete(request?: {
|
|
1581
|
-
/** V1 error format. */
|
|
1582
|
-
"$.xgafv"?:
|
|
1583
|
-
string;
|
|
1584
|
-
/** OAuth access token. */
|
|
1585
|
-
access_token?:
|
|
1586
|
-
string;
|
|
1587
|
-
/** Data format for response. */
|
|
1588
|
-
alt?:
|
|
1589
|
-
string;
|
|
1590
|
-
/** JSONP */
|
|
1591
|
-
callback?:
|
|
1592
|
-
string;
|
|
1593
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1594
|
-
fields?:
|
|
1595
|
-
string;
|
|
1596
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1597
|
-
key?:
|
|
1598
|
-
string;
|
|
1599
|
-
/** The name of the operation resource to be deleted. */
|
|
1600
|
-
name:
|
|
1601
|
-
string;
|
|
1602
|
-
/** OAuth 2.0 token for the current user. */
|
|
1603
|
-
oauth_token?:
|
|
1604
|
-
string;
|
|
1605
|
-
/** Returns response with indentations and line breaks. */
|
|
1606
|
-
prettyPrint?:
|
|
1607
|
-
boolean;
|
|
1608
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1609
|
-
quotaUser?:
|
|
1610
|
-
string;
|
|
1611
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1612
|
-
upload_protocol?:
|
|
1613
|
-
string;
|
|
1614
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1615
|
-
uploadType?:
|
|
1616
|
-
string;
|
|
1617
|
-
}): Request<{}>;
|
|
1618
|
-
/** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
|
|
1619
|
-
get(request?: {
|
|
1620
|
-
/** V1 error format. */
|
|
1621
|
-
"$.xgafv"?:
|
|
1622
|
-
string;
|
|
1623
|
-
/** OAuth access token. */
|
|
1624
|
-
access_token?:
|
|
1625
|
-
string;
|
|
1626
|
-
/** Data format for response. */
|
|
1627
|
-
alt?:
|
|
1628
|
-
string;
|
|
1629
|
-
/** JSONP */
|
|
1630
|
-
callback?:
|
|
1631
|
-
string;
|
|
1632
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1633
|
-
fields?:
|
|
1634
|
-
string;
|
|
1635
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1636
|
-
key?:
|
|
1637
|
-
string;
|
|
1638
|
-
/** The name of the operation resource. */
|
|
1639
|
-
name:
|
|
1640
|
-
string;
|
|
1641
|
-
/** OAuth 2.0 token for the current user. */
|
|
1642
|
-
oauth_token?:
|
|
1643
|
-
string;
|
|
1644
|
-
/** Returns response with indentations and line breaks. */
|
|
1645
|
-
prettyPrint?:
|
|
1646
|
-
boolean;
|
|
1647
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1648
|
-
quotaUser?:
|
|
1649
|
-
string;
|
|
1650
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1651
|
-
upload_protocol?:
|
|
1652
|
-
string;
|
|
1653
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1654
|
-
uploadType?:
|
|
1655
|
-
string;
|
|
1656
|
-
}): Request<Operation>;
|
|
1657
|
-
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
1658
|
-
list(request?: {
|
|
1659
|
-
/** V1 error format. */
|
|
1660
|
-
"$.xgafv"?:
|
|
1661
|
-
string;
|
|
1662
|
-
/** OAuth access token. */
|
|
1663
|
-
access_token?:
|
|
1664
|
-
string;
|
|
1665
|
-
/** Data format for response. */
|
|
1666
|
-
alt?:
|
|
1667
|
-
string;
|
|
1668
|
-
/** JSONP */
|
|
1669
|
-
callback?:
|
|
1670
|
-
string;
|
|
1671
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1672
|
-
fields?:
|
|
1673
|
-
string;
|
|
1674
|
-
/** The standard list filter. */
|
|
1675
|
-
filter?:
|
|
1676
|
-
string;
|
|
1677
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1678
|
-
key?:
|
|
1679
|
-
string;
|
|
1680
|
-
/** The name of the operation's parent resource. */
|
|
1681
|
-
name:
|
|
1682
|
-
string;
|
|
1683
|
-
/** OAuth 2.0 token for the current user. */
|
|
1684
|
-
oauth_token?:
|
|
1685
|
-
string;
|
|
1686
|
-
/** The standard list page size. */
|
|
1687
|
-
pageSize?:
|
|
1688
|
-
number;
|
|
1689
|
-
/** The standard list page token. */
|
|
1690
|
-
pageToken?:
|
|
1691
|
-
string;
|
|
1692
|
-
/** Returns response with indentations and line breaks. */
|
|
1693
|
-
prettyPrint?:
|
|
1694
|
-
boolean;
|
|
1695
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1696
|
-
quotaUser?:
|
|
1697
|
-
string;
|
|
1698
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1699
|
-
upload_protocol?:
|
|
1700
|
-
string;
|
|
1701
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1702
|
-
uploadType?:
|
|
1703
|
-
string;
|
|
1704
|
-
}): Request<ListOperationsResponse>;
|
|
1705
|
-
}
|
|
1706
|
-
interface GlobalResource {
|
|
1707
|
-
connectivityTests:
|
|
1708
|
-
ConnectivityTestsResource;
|
|
1709
|
-
operations:
|
|
1710
|
-
OperationsResource;
|
|
1711
|
-
}
|
|
1712
|
-
interface LocationsResource {
|
|
1713
|
-
/** Gets information about a location. */
|
|
1714
|
-
get(request?: {
|
|
1715
|
-
/** V1 error format. */
|
|
1716
|
-
"$.xgafv"?:
|
|
1717
|
-
string;
|
|
1718
|
-
/** OAuth access token. */
|
|
1719
|
-
access_token?:
|
|
1720
|
-
string;
|
|
1721
|
-
/** Data format for response. */
|
|
1722
|
-
alt?:
|
|
1723
|
-
string;
|
|
1724
|
-
/** JSONP */
|
|
1725
|
-
callback?:
|
|
1726
|
-
string;
|
|
1727
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1728
|
-
fields?:
|
|
1729
|
-
string;
|
|
1730
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1731
|
-
key?:
|
|
1732
|
-
string;
|
|
1733
|
-
/** Resource name for the location. */
|
|
1734
|
-
name:
|
|
1735
|
-
string;
|
|
1736
|
-
/** OAuth 2.0 token for the current user. */
|
|
1737
|
-
oauth_token?:
|
|
1738
|
-
string;
|
|
1739
|
-
/** Returns response with indentations and line breaks. */
|
|
1740
|
-
prettyPrint?:
|
|
1741
|
-
boolean;
|
|
1742
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1743
|
-
quotaUser?:
|
|
1744
|
-
string;
|
|
1745
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1746
|
-
upload_protocol?:
|
|
1747
|
-
string;
|
|
1748
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1749
|
-
uploadType?:
|
|
1750
|
-
string;
|
|
1751
|
-
}): Request<Location>;
|
|
1752
|
-
/** Lists information about the supported locations for this service. */
|
|
1753
|
-
list(request?: {
|
|
1754
|
-
/** V1 error format. */
|
|
1755
|
-
"$.xgafv"?:
|
|
1756
|
-
string;
|
|
1757
|
-
/** OAuth access token. */
|
|
1758
|
-
access_token?:
|
|
1759
|
-
string;
|
|
1760
|
-
/** Data format for response. */
|
|
1761
|
-
alt?:
|
|
1762
|
-
string;
|
|
1763
|
-
/** JSONP */
|
|
1764
|
-
callback?:
|
|
1765
|
-
string;
|
|
1766
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
1767
|
-
fields?:
|
|
1768
|
-
string;
|
|
1769
|
-
/**
|
|
1770
|
-
* A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in
|
|
1771
|
-
* [AIP-160](https://google.aip.dev/160).
|
|
1772
|
-
*/
|
|
1773
|
-
filter?:
|
|
1774
|
-
string;
|
|
1775
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1776
|
-
key?:
|
|
1777
|
-
string;
|
|
1778
|
-
/** The resource that owns the locations collection, if applicable. */
|
|
1779
|
-
name:
|
|
1780
|
-
string;
|
|
1781
|
-
/** OAuth 2.0 token for the current user. */
|
|
1782
|
-
oauth_token?:
|
|
1783
|
-
string;
|
|
1784
|
-
/** The maximum number of results to return. If not set, the service selects a default. */
|
|
1785
|
-
pageSize?:
|
|
1786
|
-
number;
|
|
1787
|
-
/** A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. */
|
|
1788
|
-
pageToken?:
|
|
1789
|
-
string;
|
|
1790
|
-
/** Returns response with indentations and line breaks. */
|
|
1791
|
-
prettyPrint?:
|
|
1792
|
-
boolean;
|
|
1793
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1794
|
-
quotaUser?:
|
|
1795
|
-
string;
|
|
1796
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1797
|
-
upload_protocol?:
|
|
1798
|
-
string;
|
|
1799
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1800
|
-
uploadType?:
|
|
1801
|
-
string;
|
|
1802
|
-
}): Request<ListLocationsResponse>;
|
|
1803
|
-
global:
|
|
1804
|
-
GlobalResource;
|
|
1805
|
-
}
|
|
1806
|
-
interface ProjectsResource {
|
|
1807
|
-
locations:
|
|
1808
|
-
LocationsResource;
|
|
1809
|
-
}
|
|
1810
|
-
|
|
1811
|
-
const projects: ProjectsResource;
|
|
30
|
+
namespace networkmanagement {
|
|
31
|
+
interface AbortInfo {
|
|
32
|
+
/** Causes that the analysis is aborted. */
|
|
33
|
+
cause?: string;
|
|
34
|
+
/** List of project IDs that the user has specified in the request but does not have permission to access network configs. Analysis is aborted in this case with the PERMISSION_DENIED cause. */
|
|
35
|
+
projectsMissingPermission?: string[];
|
|
36
|
+
/** URI of the resource that caused the abort. */
|
|
37
|
+
resourceUri?: string;
|
|
38
|
+
}
|
|
39
|
+
interface AppEngineVersionEndpoint {
|
|
40
|
+
/** An [App Engine](https://cloud.google.com/appengine) [service version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions) name. */
|
|
41
|
+
uri?: string;
|
|
42
|
+
}
|
|
43
|
+
interface AppEngineVersionInfo {
|
|
44
|
+
/** Name of an App Engine version. */
|
|
45
|
+
displayName?: string;
|
|
46
|
+
/** App Engine execution environment for a version. */
|
|
47
|
+
environment?: string;
|
|
48
|
+
/** Runtime of the App Engine version. */
|
|
49
|
+
runtime?: string;
|
|
50
|
+
/** URI of an App Engine version. */
|
|
51
|
+
uri?: string;
|
|
52
|
+
}
|
|
53
|
+
interface AuditConfig {
|
|
54
|
+
/** The configuration for logging of each type of permission. */
|
|
55
|
+
auditLogConfigs?: AuditLogConfig[];
|
|
56
|
+
/** Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services. */
|
|
57
|
+
service?: string;
|
|
58
|
+
}
|
|
59
|
+
interface AuditLogConfig {
|
|
60
|
+
/** Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. */
|
|
61
|
+
exemptedMembers?: string[];
|
|
62
|
+
/** The log type that this config enables. */
|
|
63
|
+
logType?: string;
|
|
64
|
+
}
|
|
65
|
+
interface Binding {
|
|
66
|
+
/** The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
67
|
+
condition?: Expr;
|
|
68
|
+
/** Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. */
|
|
69
|
+
members?: string[];
|
|
70
|
+
/** Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. */
|
|
71
|
+
role?: string;
|
|
72
|
+
}
|
|
73
|
+
interface CancelOperationRequest {}
|
|
74
|
+
interface CloudFunctionEndpoint {
|
|
75
|
+
/** A [Cloud Function](https://cloud.google.com/functions) name. */
|
|
76
|
+
uri?: string;
|
|
77
|
+
}
|
|
78
|
+
interface CloudFunctionInfo {
|
|
79
|
+
/** Name of a Cloud Function. */
|
|
80
|
+
displayName?: string;
|
|
81
|
+
/** Location in which the Cloud Function is deployed. */
|
|
82
|
+
location?: string;
|
|
83
|
+
/** URI of a Cloud Function. */
|
|
84
|
+
uri?: string;
|
|
85
|
+
/** Latest successfully deployed version id of the Cloud Function. */
|
|
86
|
+
versionId?: string;
|
|
87
|
+
}
|
|
88
|
+
interface CloudRunRevisionEndpoint {
|
|
89
|
+
/** A [Cloud Run](https://cloud.google.com/run) [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get) URI. The format is: projects/{project}/locations/{location}/revisions/{revision} */
|
|
90
|
+
uri?: string;
|
|
91
|
+
}
|
|
92
|
+
interface CloudRunRevisionInfo {
|
|
93
|
+
/** Name of a Cloud Run revision. */
|
|
94
|
+
displayName?: string;
|
|
95
|
+
/** Location in which this revision is deployed. */
|
|
96
|
+
location?: string;
|
|
97
|
+
/** URI of Cloud Run service this revision belongs to. */
|
|
98
|
+
serviceUri?: string;
|
|
99
|
+
/** URI of a Cloud Run revision. */
|
|
100
|
+
uri?: string;
|
|
101
|
+
}
|
|
102
|
+
interface CloudSQLInstanceInfo {
|
|
103
|
+
/** Name of a Cloud SQL instance. */
|
|
104
|
+
displayName?: string;
|
|
105
|
+
/** External IP address of a Cloud SQL instance. */
|
|
106
|
+
externalIp?: string;
|
|
107
|
+
/** Internal IP address of a Cloud SQL instance. */
|
|
108
|
+
internalIp?: string;
|
|
109
|
+
/** URI of a Cloud SQL instance network or empty string if the instance does not have one. */
|
|
110
|
+
networkUri?: string;
|
|
111
|
+
/** Region in which the Cloud SQL instance is running. */
|
|
112
|
+
region?: string;
|
|
113
|
+
/** URI of a Cloud SQL instance. */
|
|
114
|
+
uri?: string;
|
|
115
|
+
}
|
|
116
|
+
interface ConnectivityTest {
|
|
117
|
+
/** Output only. The time the test was created. */
|
|
118
|
+
createTime?: string;
|
|
119
|
+
/** The user-supplied description of the Connectivity Test. Maximum of 512 characters. */
|
|
120
|
+
description?: string;
|
|
121
|
+
/** Required. Destination specification of the Connectivity Test. You can use a combination of destination IP address, Compute Engine VM instance, or VPC network to uniquely identify the destination location. Even if the destination IP address is not unique, the source IP location is unique. Usually, the analysis can infer the destination endpoint from route information. If the destination you specify is a VM instance and the instance has multiple network interfaces, then you must also specify either a destination IP address or VPC network to identify the destination interface. A reachability analysis proceeds even if the destination location is ambiguous. However, the result can include endpoints that you don't intend to test. */
|
|
122
|
+
destination?: Endpoint;
|
|
123
|
+
/** Output only. The display name of a Connectivity Test. */
|
|
124
|
+
displayName?: string;
|
|
125
|
+
/** Resource labels to represent user-provided metadata. */
|
|
126
|
+
labels?: {[P in string]: string};
|
|
127
|
+
/** Required. Unique name of the resource using the form: `projects/{project_id}/locations/global/connectivityTests/{test_id}` */
|
|
128
|
+
name?: string;
|
|
129
|
+
/** 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 triggering a one-time rerun of an existing test. */
|
|
130
|
+
probingDetails?: ProbingDetails;
|
|
131
|
+
/** IP Protocol of the test. When not provided, "TCP" is assumed. */
|
|
132
|
+
protocol?: string;
|
|
133
|
+
/** Output only. The reachability details of this test from the latest run. The details are updated when creating a new test, updating an existing test, or triggering a one-time rerun of an existing test. */
|
|
134
|
+
reachabilityDetails?: ReachabilityDetails;
|
|
135
|
+
/** Other projects that may be relevant for reachability analysis. This is applicable to scenarios where a test can cross project boundaries. */
|
|
136
|
+
relatedProjects?: string[];
|
|
137
|
+
/** Required. Source specification of the Connectivity Test. You can use a combination of source IP address, virtual machine (VM) instance, or Compute Engine network to uniquely identify the source location. Examples: If the source IP address is an internal IP address within a Google Cloud Virtual Private Cloud (VPC) network, then you must also specify the VPC network. Otherwise, specify the VM instance, which already contains its internal IP address and VPC network information. If the source of the test is within an on-premises network, then you must provide the destination VPC network. If the source endpoint is a Compute Engine VM instance with multiple network interfaces, the instance itself is not sufficient to identify the endpoint. So, you must also specify the source IP address or VPC network. A reachability analysis proceeds even if the source location is ambiguous. However, the test result may include endpoints that you don't intend to test. */
|
|
138
|
+
source?: Endpoint;
|
|
139
|
+
/** Output only. The time the test's configuration was updated. */
|
|
140
|
+
updateTime?: string;
|
|
141
|
+
}
|
|
142
|
+
interface DeliverInfo {
|
|
143
|
+
/** URI of the resource that the packet is delivered to. */
|
|
144
|
+
resourceUri?: string;
|
|
145
|
+
/** Target type where the packet is delivered to. */
|
|
146
|
+
target?: string;
|
|
147
|
+
}
|
|
148
|
+
interface DropInfo {
|
|
149
|
+
/** Cause that the packet is dropped. */
|
|
150
|
+
cause?: string;
|
|
151
|
+
/** Destination IP address of the dropped packet (if relevant). */
|
|
152
|
+
destinationIp?: string;
|
|
153
|
+
/** Region of the dropped packet (if relevant). */
|
|
154
|
+
region?: string;
|
|
155
|
+
/** URI of the resource that caused the drop. */
|
|
156
|
+
resourceUri?: string;
|
|
157
|
+
/** Source IP address of the dropped packet (if relevant). */
|
|
158
|
+
sourceIp?: string;
|
|
159
|
+
}
|
|
160
|
+
interface EdgeLocation {
|
|
161
|
+
/** Name of the metropolitan area. */
|
|
162
|
+
metropolitanArea?: string;
|
|
163
|
+
}
|
|
164
|
+
interface Empty {}
|
|
165
|
+
interface Endpoint {
|
|
166
|
+
/** An [App Engine](https://cloud.google.com/appengine) [service version](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions). */
|
|
167
|
+
appEngineVersion?: AppEngineVersionEndpoint;
|
|
168
|
+
/** A [Cloud Function](https://cloud.google.com/functions). */
|
|
169
|
+
cloudFunction?: CloudFunctionEndpoint;
|
|
170
|
+
/** A [Cloud Run](https://cloud.google.com/run) [revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get) */
|
|
171
|
+
cloudRunRevision?: CloudRunRevisionEndpoint;
|
|
172
|
+
/** A [Cloud SQL](https://cloud.google.com/sql) instance URI. */
|
|
173
|
+
cloudSqlInstance?: string;
|
|
174
|
+
/** A forwarding rule and its corresponding IP address represent the frontend configuration of a Google Cloud load balancer. Forwarding rules are also used for protocol forwarding, Private Service Connect and other network services to provide forwarding information in the control plane. Format: projects/{project}/global/forwardingRules/{id} or projects/{project}/regions/{region}/forwardingRules/{id} */
|
|
175
|
+
forwardingRule?: string;
|
|
176
|
+
/** Output only. Specifies the type of the target of the forwarding rule. */
|
|
177
|
+
forwardingRuleTarget?: string;
|
|
178
|
+
/** A cluster URI for [Google Kubernetes Engine master](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture). */
|
|
179
|
+
gkeMasterCluster?: string;
|
|
180
|
+
/** A Compute Engine instance URI. */
|
|
181
|
+
instance?: string;
|
|
182
|
+
/** The IP address of the endpoint, which can be an external or internal IP. */
|
|
183
|
+
ipAddress?: string;
|
|
184
|
+
/** Output only. ID of the load balancer the forwarding rule points to. Empty for forwarding rules not related to load balancers. */
|
|
185
|
+
loadBalancerId?: string;
|
|
186
|
+
/** Output only. Type of the load balancer the forwarding rule points to. */
|
|
187
|
+
loadBalancerType?: string;
|
|
188
|
+
/** A Compute Engine network URI. */
|
|
189
|
+
network?: string;
|
|
190
|
+
/** Type of the network where the endpoint is located. Applicable only to source endpoint, as destination network type can be inferred from the source. */
|
|
191
|
+
networkType?: string;
|
|
192
|
+
/** The IP protocol port of the endpoint. Only applicable when protocol is TCP or UDP. */
|
|
193
|
+
port?: number;
|
|
194
|
+
/** Project ID where the endpoint is located. The Project ID can be derived from the URI if you provide a VM instance or network URI. The following are two cases where you must provide the project ID: 1. Only the IP address is specified, and the IP address is within a Google Cloud project. 2. When you are using Shared VPC and the IP address that you provide is from the service project. In this case, the network that the IP address resides in is defined in the host project. */
|
|
195
|
+
projectId?: string;
|
|
196
|
+
}
|
|
197
|
+
interface EndpointInfo {
|
|
198
|
+
/** Destination IP address. */
|
|
199
|
+
destinationIp?: string;
|
|
200
|
+
/** URI of the network where this packet is sent to. */
|
|
201
|
+
destinationNetworkUri?: string;
|
|
202
|
+
/** Destination port. Only valid when protocol is TCP or UDP. */
|
|
203
|
+
destinationPort?: number;
|
|
204
|
+
/** IP protocol in string format, for example: "TCP", "UDP", "ICMP". */
|
|
205
|
+
protocol?: string;
|
|
206
|
+
/** URI of the source telemetry agent this packet originates from. */
|
|
207
|
+
sourceAgentUri?: string;
|
|
208
|
+
/** Source IP address. */
|
|
209
|
+
sourceIp?: string;
|
|
210
|
+
/** URI of the network where this packet originates from. */
|
|
211
|
+
sourceNetworkUri?: string;
|
|
212
|
+
/** Source port. Only valid when protocol is TCP or UDP. */
|
|
213
|
+
sourcePort?: number;
|
|
214
|
+
}
|
|
215
|
+
interface Expr {
|
|
216
|
+
/** Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. */
|
|
217
|
+
description?: string;
|
|
218
|
+
/** Textual representation of an expression in Common Expression Language syntax. */
|
|
219
|
+
expression?: string;
|
|
220
|
+
/** Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file. */
|
|
221
|
+
location?: string;
|
|
222
|
+
/** Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression. */
|
|
223
|
+
title?: string;
|
|
224
|
+
}
|
|
225
|
+
interface FirewallInfo {
|
|
226
|
+
/** Possible values: ALLOW, DENY */
|
|
227
|
+
action?: string;
|
|
228
|
+
/** Possible values: INGRESS, EGRESS */
|
|
229
|
+
direction?: string;
|
|
230
|
+
/** The display name of the VPC firewall rule. This field is not applicable to hierarchical firewall policy rules. */
|
|
231
|
+
displayName?: string;
|
|
232
|
+
/** The firewall rule's type. */
|
|
233
|
+
firewallRuleType?: string;
|
|
234
|
+
/** The URI of the VPC network that the firewall rule is associated with. This field is not applicable to hierarchical firewall policy rules. */
|
|
235
|
+
networkUri?: string;
|
|
236
|
+
/** The hierarchical firewall policy that this rule is associated with. This field is not applicable to VPC firewall rules. */
|
|
237
|
+
policy?: string;
|
|
238
|
+
/** The priority of the firewall rule. */
|
|
239
|
+
priority?: number;
|
|
240
|
+
/** The target service accounts specified by the firewall rule. */
|
|
241
|
+
targetServiceAccounts?: string[];
|
|
242
|
+
/** The target tags defined by the VPC firewall rule. This field is not applicable to hierarchical firewall policy rules. */
|
|
243
|
+
targetTags?: string[];
|
|
244
|
+
/** The URI of the VPC firewall rule. This field is not applicable to implied firewall rules or hierarchical firewall policy rules. */
|
|
245
|
+
uri?: string;
|
|
246
|
+
}
|
|
247
|
+
interface ForwardInfo {
|
|
248
|
+
/** URI of the resource that the packet is forwarded to. */
|
|
249
|
+
resourceUri?: string;
|
|
250
|
+
/** Target type where this packet is forwarded to. */
|
|
251
|
+
target?: string;
|
|
252
|
+
}
|
|
253
|
+
interface ForwardingRuleInfo {
|
|
254
|
+
/** Name of a Compute Engine forwarding rule. */
|
|
255
|
+
displayName?: string;
|
|
256
|
+
/** Port range defined in the forwarding rule that matches the test. */
|
|
257
|
+
matchedPortRange?: string;
|
|
258
|
+
/** Protocol defined in the forwarding rule that matches the test. */
|
|
259
|
+
matchedProtocol?: string;
|
|
260
|
+
/** Network URI. Only valid for Internal Load Balancer. */
|
|
261
|
+
networkUri?: string;
|
|
262
|
+
/** Target type of the forwarding rule. */
|
|
263
|
+
target?: string;
|
|
264
|
+
/** URI of a Compute Engine forwarding rule. */
|
|
265
|
+
uri?: string;
|
|
266
|
+
/** VIP of the forwarding rule. */
|
|
267
|
+
vip?: string;
|
|
268
|
+
}
|
|
269
|
+
interface GKEMasterInfo {
|
|
270
|
+
/** URI of a GKE cluster network. */
|
|
271
|
+
clusterNetworkUri?: string;
|
|
272
|
+
/** URI of a GKE cluster. */
|
|
273
|
+
clusterUri?: string;
|
|
274
|
+
/** External IP address of a GKE cluster master. */
|
|
275
|
+
externalIp?: string;
|
|
276
|
+
/** Internal IP address of a GKE cluster master. */
|
|
277
|
+
internalIp?: string;
|
|
278
|
+
}
|
|
279
|
+
interface GoogleServiceInfo {
|
|
280
|
+
/** Recognized type of a Google Service. */
|
|
281
|
+
googleServiceType?: string;
|
|
282
|
+
/** Source IP address. */
|
|
283
|
+
sourceIp?: string;
|
|
284
|
+
}
|
|
285
|
+
interface InstanceInfo {
|
|
286
|
+
/** Name of a Compute Engine instance. */
|
|
287
|
+
displayName?: string;
|
|
288
|
+
/** External IP address of the network interface. */
|
|
289
|
+
externalIp?: string;
|
|
290
|
+
/** Name of the network interface of a Compute Engine instance. */
|
|
291
|
+
interface?: string;
|
|
292
|
+
/** Internal IP address of the network interface. */
|
|
293
|
+
internalIp?: string;
|
|
294
|
+
/** Network tags configured on the instance. */
|
|
295
|
+
networkTags?: string[];
|
|
296
|
+
/** URI of a Compute Engine network. */
|
|
297
|
+
networkUri?: string;
|
|
298
|
+
/** Service account authorized for the instance. */
|
|
299
|
+
serviceAccount?: string;
|
|
300
|
+
/** URI of a Compute Engine instance. */
|
|
301
|
+
uri?: string;
|
|
302
|
+
}
|
|
303
|
+
interface LatencyDistribution {
|
|
304
|
+
/** Representative latency percentiles. */
|
|
305
|
+
latencyPercentiles?: LatencyPercentile[];
|
|
306
|
+
}
|
|
307
|
+
interface LatencyPercentile {
|
|
308
|
+
/** 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. */
|
|
309
|
+
latencyMicros?: string;
|
|
310
|
+
/** Percentage of samples this data point applies to. */
|
|
311
|
+
percent?: number;
|
|
312
|
+
}
|
|
313
|
+
interface ListConnectivityTestsResponse {
|
|
314
|
+
/** Page token to fetch the next set of Connectivity Tests. */
|
|
315
|
+
nextPageToken?: string;
|
|
316
|
+
/** List of Connectivity Tests. */
|
|
317
|
+
resources?: ConnectivityTest[];
|
|
318
|
+
/** Locations that could not be reached (when querying all locations with `-`). */
|
|
319
|
+
unreachable?: string[];
|
|
320
|
+
}
|
|
321
|
+
interface ListLocationsResponse {
|
|
322
|
+
/** A list of locations that matches the specified filter in the request. */
|
|
323
|
+
locations?: Location[];
|
|
324
|
+
/** The standard List next-page token. */
|
|
325
|
+
nextPageToken?: string;
|
|
326
|
+
}
|
|
327
|
+
interface ListOperationsResponse {
|
|
328
|
+
/** The standard List next-page token. */
|
|
329
|
+
nextPageToken?: string;
|
|
330
|
+
/** A list of operations that matches the specified filter in the request. */
|
|
331
|
+
operations?: Operation[];
|
|
1812
332
|
}
|
|
333
|
+
interface LoadBalancerBackend {
|
|
334
|
+
/** Name of a Compute Engine instance or network endpoint. */
|
|
335
|
+
displayName?: string;
|
|
336
|
+
/** A list of firewall rule URIs allowing probes from health check IP ranges. */
|
|
337
|
+
healthCheckAllowingFirewallRules?: string[];
|
|
338
|
+
/** A list of firewall rule URIs blocking probes from health check IP ranges. */
|
|
339
|
+
healthCheckBlockingFirewallRules?: string[];
|
|
340
|
+
/** State of the health check firewall configuration. */
|
|
341
|
+
healthCheckFirewallState?: string;
|
|
342
|
+
/** URI of a Compute Engine instance or network endpoint. */
|
|
343
|
+
uri?: string;
|
|
344
|
+
}
|
|
345
|
+
interface LoadBalancerBackendInfo {
|
|
346
|
+
/** Display name of the backend. For example, it might be an instance name for the instance group backends, or an IP address and port for zonal network endpoint group backends. */
|
|
347
|
+
backendDisplayName?: string;
|
|
348
|
+
/** URI of the backend service this backend belongs to (if applicable). */
|
|
349
|
+
backendServiceUri?: string;
|
|
350
|
+
/** Output only. Health check configuration state for the backend. This is a result of the static firewall analysis (verifying that health check traffic from required IP ranges to the backend is allowed or not). The backend might still be unhealthy even if these firewalls are configured. Please refer to the documentation for more information: https://cloud.google.com/load-balancing/docs/firewall-rules */
|
|
351
|
+
healthCheckConfigState?: string;
|
|
352
|
+
/** URI of the health check attached to this backend (if applicable). */
|
|
353
|
+
healthCheckUri?: string;
|
|
354
|
+
/** URI of the instance group this backend belongs to (if applicable). */
|
|
355
|
+
instanceGroupUri?: string;
|
|
356
|
+
/** URI of the backend instance (if applicable). Populated for instance group backends, and zonal NEG backends. */
|
|
357
|
+
instanceUri?: string;
|
|
358
|
+
/** URI of the network endpoint group this backend belongs to (if applicable). */
|
|
359
|
+
networkEndpointGroupUri?: string;
|
|
360
|
+
}
|
|
361
|
+
interface LoadBalancerInfo {
|
|
362
|
+
/** Information for the loadbalancer backends. */
|
|
363
|
+
backends?: LoadBalancerBackend[];
|
|
364
|
+
/** Type of load balancer's backend configuration. */
|
|
365
|
+
backendType?: string;
|
|
366
|
+
/** Backend configuration URI. */
|
|
367
|
+
backendUri?: string;
|
|
368
|
+
/** URI of the health check for the load balancer. Deprecated and no longer populated as different load balancer backends might have different health checks. */
|
|
369
|
+
healthCheckUri?: string;
|
|
370
|
+
/** Type of the load balancer. */
|
|
371
|
+
loadBalancerType?: string;
|
|
372
|
+
}
|
|
373
|
+
interface Location {
|
|
374
|
+
/** The friendly name for this location, typically a nearby city name. For example, "Tokyo". */
|
|
375
|
+
displayName?: string;
|
|
376
|
+
/** Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"} */
|
|
377
|
+
labels?: {[P in string]: string};
|
|
378
|
+
/** The canonical id for this location. For example: `"us-east1"`. */
|
|
379
|
+
locationId?: string;
|
|
380
|
+
/** Service-specific metadata. For example the available capacity at the given location. */
|
|
381
|
+
metadata?: {[P in string]: any};
|
|
382
|
+
/** Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"` */
|
|
383
|
+
name?: string;
|
|
384
|
+
}
|
|
385
|
+
interface NatInfo {
|
|
386
|
+
/** The name of Cloud NAT Gateway. Only valid when type is CLOUD_NAT. */
|
|
387
|
+
natGatewayName?: string;
|
|
388
|
+
/** URI of the network where NAT translation takes place. */
|
|
389
|
+
networkUri?: string;
|
|
390
|
+
/** Destination IP address after NAT translation. */
|
|
391
|
+
newDestinationIp?: string;
|
|
392
|
+
/** Destination port after NAT translation. Only valid when protocol is TCP or UDP. */
|
|
393
|
+
newDestinationPort?: number;
|
|
394
|
+
/** Source IP address after NAT translation. */
|
|
395
|
+
newSourceIp?: string;
|
|
396
|
+
/** Source port after NAT translation. Only valid when protocol is TCP or UDP. */
|
|
397
|
+
newSourcePort?: number;
|
|
398
|
+
/** Destination IP address before NAT translation. */
|
|
399
|
+
oldDestinationIp?: string;
|
|
400
|
+
/** Destination port before NAT translation. Only valid when protocol is TCP or UDP. */
|
|
401
|
+
oldDestinationPort?: number;
|
|
402
|
+
/** Source IP address before NAT translation. */
|
|
403
|
+
oldSourceIp?: string;
|
|
404
|
+
/** Source port before NAT translation. Only valid when protocol is TCP or UDP. */
|
|
405
|
+
oldSourcePort?: number;
|
|
406
|
+
/** IP protocol in string format, for example: "TCP", "UDP", "ICMP". */
|
|
407
|
+
protocol?: string;
|
|
408
|
+
/** Uri of the Cloud Router. Only valid when type is CLOUD_NAT. */
|
|
409
|
+
routerUri?: string;
|
|
410
|
+
/** Type of NAT. */
|
|
411
|
+
type?: string;
|
|
412
|
+
}
|
|
413
|
+
interface NetworkInfo {
|
|
414
|
+
/** Name of a Compute Engine network. */
|
|
415
|
+
displayName?: string;
|
|
416
|
+
/** The IP range that matches the test. */
|
|
417
|
+
matchedIpRange?: string;
|
|
418
|
+
/** URI of a Compute Engine network. */
|
|
419
|
+
uri?: string;
|
|
420
|
+
}
|
|
421
|
+
interface Operation {
|
|
422
|
+
/** If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. */
|
|
423
|
+
done?: boolean;
|
|
424
|
+
/** The error result of the operation in case of failure or cancellation. */
|
|
425
|
+
error?: Status;
|
|
426
|
+
/** Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any. */
|
|
427
|
+
metadata?: {[P in string]: any};
|
|
428
|
+
/** The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`. */
|
|
429
|
+
name?: string;
|
|
430
|
+
/** 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 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 method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`. */
|
|
431
|
+
response?: {[P in string]: any};
|
|
432
|
+
}
|
|
433
|
+
interface OperationMetadata {
|
|
434
|
+
/** API version. */
|
|
435
|
+
apiVersion?: string;
|
|
436
|
+
/** Specifies if cancellation was requested for the operation. */
|
|
437
|
+
cancelRequested?: boolean;
|
|
438
|
+
/** The time the operation was created. */
|
|
439
|
+
createTime?: string;
|
|
440
|
+
/** The time the operation finished running. */
|
|
441
|
+
endTime?: string;
|
|
442
|
+
/** Human-readable status of the operation, if any. */
|
|
443
|
+
statusDetail?: string;
|
|
444
|
+
/** Target of the operation - for example projects/project-1/locations/global/connectivityTests/test-1 */
|
|
445
|
+
target?: string;
|
|
446
|
+
/** Name of the verb executed by the operation. */
|
|
447
|
+
verb?: string;
|
|
448
|
+
}
|
|
449
|
+
interface Policy {
|
|
450
|
+
/** Specifies cloud audit logging configuration for this policy. */
|
|
451
|
+
auditConfigs?: AuditConfig[];
|
|
452
|
+
/** Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. */
|
|
453
|
+
bindings?: Binding[];
|
|
454
|
+
/** `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. */
|
|
455
|
+
etag?: string;
|
|
456
|
+
/** Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
457
|
+
version?: number;
|
|
458
|
+
}
|
|
459
|
+
interface ProbingDetails {
|
|
460
|
+
/** The reason probing was aborted. */
|
|
461
|
+
abortCause?: string;
|
|
462
|
+
/** 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 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. */
|
|
463
|
+
destinationEgressLocation?: EdgeLocation;
|
|
464
|
+
/** The source and destination endpoints derived from the test input and used for active probing. */
|
|
465
|
+
endpointInfo?: EndpointInfo;
|
|
466
|
+
/** Details about an internal failure or the cancellation of active probing. */
|
|
467
|
+
error?: Status;
|
|
468
|
+
/** Latency as measured by active probing in one direction: from the source to the destination endpoint. */
|
|
469
|
+
probingLatency?: LatencyDistribution;
|
|
470
|
+
/** The overall result of active probing. */
|
|
471
|
+
result?: string;
|
|
472
|
+
/** Number of probes sent. */
|
|
473
|
+
sentProbeCount?: number;
|
|
474
|
+
/** Number of probes that reached the destination. */
|
|
475
|
+
successfulProbeCount?: number;
|
|
476
|
+
/** The time that reachability was assessed through active probing. */
|
|
477
|
+
verifyTime?: string;
|
|
478
|
+
}
|
|
479
|
+
interface ProxyConnectionInfo {
|
|
480
|
+
/** URI of the network where connection is proxied. */
|
|
481
|
+
networkUri?: string;
|
|
482
|
+
/** Destination IP address of a new connection. */
|
|
483
|
+
newDestinationIp?: string;
|
|
484
|
+
/** Destination port of a new connection. Only valid when protocol is TCP or UDP. */
|
|
485
|
+
newDestinationPort?: number;
|
|
486
|
+
/** Source IP address of a new connection. */
|
|
487
|
+
newSourceIp?: string;
|
|
488
|
+
/** Source port of a new connection. Only valid when protocol is TCP or UDP. */
|
|
489
|
+
newSourcePort?: number;
|
|
490
|
+
/** Destination IP address of an original connection */
|
|
491
|
+
oldDestinationIp?: string;
|
|
492
|
+
/** Destination port of an original connection. Only valid when protocol is TCP or UDP. */
|
|
493
|
+
oldDestinationPort?: number;
|
|
494
|
+
/** Source IP address of an original connection. */
|
|
495
|
+
oldSourceIp?: string;
|
|
496
|
+
/** Source port of an original connection. Only valid when protocol is TCP or UDP. */
|
|
497
|
+
oldSourcePort?: number;
|
|
498
|
+
/** IP protocol in string format, for example: "TCP", "UDP", "ICMP". */
|
|
499
|
+
protocol?: string;
|
|
500
|
+
/** Uri of proxy subnet. */
|
|
501
|
+
subnetUri?: string;
|
|
502
|
+
}
|
|
503
|
+
interface ReachabilityDetails {
|
|
504
|
+
/** The details of a failure or a cancellation of reachability analysis. */
|
|
505
|
+
error?: Status;
|
|
506
|
+
/** The overall result of the test's configuration analysis. */
|
|
507
|
+
result?: string;
|
|
508
|
+
/** Result may contain a list of traces if a test has multiple possible paths in the network, such as when destination endpoint is a load balancer with multiple backends. */
|
|
509
|
+
traces?: Trace[];
|
|
510
|
+
/** The time of the configuration analysis. */
|
|
511
|
+
verifyTime?: string;
|
|
512
|
+
}
|
|
513
|
+
interface RerunConnectivityTestRequest {}
|
|
514
|
+
interface RouteInfo {
|
|
515
|
+
/** Destination IP range of the route. */
|
|
516
|
+
destIpRange?: string;
|
|
517
|
+
/** Destination port ranges of the route. Policy based routes only. */
|
|
518
|
+
destPortRanges?: string[];
|
|
519
|
+
/** Name of a route. */
|
|
520
|
+
displayName?: string;
|
|
521
|
+
/** Instance tags of the route. */
|
|
522
|
+
instanceTags?: string[];
|
|
523
|
+
/** URI of a NCC Hub. NCC_HUB routes only. */
|
|
524
|
+
nccHubUri?: string;
|
|
525
|
+
/** URI of a NCC Spoke. NCC_HUB routes only. */
|
|
526
|
+
nccSpokeUri?: string;
|
|
527
|
+
/** URI of a Compute Engine network. NETWORK routes only. */
|
|
528
|
+
networkUri?: string;
|
|
529
|
+
/** Next hop of the route. */
|
|
530
|
+
nextHop?: string;
|
|
531
|
+
/** Type of next hop. */
|
|
532
|
+
nextHopType?: string;
|
|
533
|
+
/** Priority of the route. */
|
|
534
|
+
priority?: number;
|
|
535
|
+
/** Protocols of the route. Policy based routes only. */
|
|
536
|
+
protocols?: string[];
|
|
537
|
+
/** Indicates where route is applicable. */
|
|
538
|
+
routeScope?: string;
|
|
539
|
+
/** Type of route. */
|
|
540
|
+
routeType?: string;
|
|
541
|
+
/** Source IP address range of the route. Policy based routes only. */
|
|
542
|
+
srcIpRange?: string;
|
|
543
|
+
/** Source port ranges of the route. Policy based routes only. */
|
|
544
|
+
srcPortRanges?: string[];
|
|
545
|
+
/** 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. */
|
|
546
|
+
uri?: string;
|
|
547
|
+
}
|
|
548
|
+
interface SetIamPolicyRequest {
|
|
549
|
+
/** REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them. */
|
|
550
|
+
policy?: Policy;
|
|
551
|
+
/** OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: "bindings, etag"` */
|
|
552
|
+
updateMask?: string;
|
|
553
|
+
}
|
|
554
|
+
interface Status {
|
|
555
|
+
/** The status code, which should be an enum value of google.rpc.Code. */
|
|
556
|
+
code?: number;
|
|
557
|
+
/** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
|
|
558
|
+
details?: Array<{[P in string]: any}>;
|
|
559
|
+
/** A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. */
|
|
560
|
+
message?: string;
|
|
561
|
+
}
|
|
562
|
+
interface Step {
|
|
563
|
+
/** Display information of the final state "abort" and reason. */
|
|
564
|
+
abort?: AbortInfo;
|
|
565
|
+
/** Display information of an App Engine service version. */
|
|
566
|
+
appEngineVersion?: AppEngineVersionInfo;
|
|
567
|
+
/** This is a step that leads to the final state Drop. */
|
|
568
|
+
causesDrop?: boolean;
|
|
569
|
+
/** Display information of a Cloud Function. */
|
|
570
|
+
cloudFunction?: CloudFunctionInfo;
|
|
571
|
+
/** Display information of a Cloud Run revision. */
|
|
572
|
+
cloudRunRevision?: CloudRunRevisionInfo;
|
|
573
|
+
/** Display information of a Cloud SQL instance. */
|
|
574
|
+
cloudSqlInstance?: CloudSQLInstanceInfo;
|
|
575
|
+
/** Display information of the final state "deliver" and reason. */
|
|
576
|
+
deliver?: DeliverInfo;
|
|
577
|
+
/** A description of the step. Usually this is a summary of the state. */
|
|
578
|
+
description?: string;
|
|
579
|
+
/** Display information of the final state "drop" and reason. */
|
|
580
|
+
drop?: DropInfo;
|
|
581
|
+
/** Display information of the source and destination under analysis. The endpoint information in an intermediate state may differ with the initial input, as it might be modified by state like NAT, or Connection Proxy. */
|
|
582
|
+
endpoint?: EndpointInfo;
|
|
583
|
+
/** Display information of a Compute Engine firewall rule. */
|
|
584
|
+
firewall?: FirewallInfo;
|
|
585
|
+
/** Display information of the final state "forward" and reason. */
|
|
586
|
+
forward?: ForwardInfo;
|
|
587
|
+
/** Display information of a Compute Engine forwarding rule. */
|
|
588
|
+
forwardingRule?: ForwardingRuleInfo;
|
|
589
|
+
/** Display information of a Google Kubernetes Engine cluster master. */
|
|
590
|
+
gkeMaster?: GKEMasterInfo;
|
|
591
|
+
/** Display information of a Google service */
|
|
592
|
+
googleService?: GoogleServiceInfo;
|
|
593
|
+
/** Display information of a Compute Engine instance. */
|
|
594
|
+
instance?: InstanceInfo;
|
|
595
|
+
/** Display information of the load balancers. */
|
|
596
|
+
loadBalancer?: LoadBalancerInfo;
|
|
597
|
+
/** Display information of a specific load balancer backend. */
|
|
598
|
+
loadBalancerBackendInfo?: LoadBalancerBackendInfo;
|
|
599
|
+
/** Display information of a NAT. */
|
|
600
|
+
nat?: NatInfo;
|
|
601
|
+
/** Display information of a Google Cloud network. */
|
|
602
|
+
network?: NetworkInfo;
|
|
603
|
+
/** Project ID that contains the configuration this step is validating. */
|
|
604
|
+
projectId?: string;
|
|
605
|
+
/** Display information of a ProxyConnection. */
|
|
606
|
+
proxyConnection?: ProxyConnectionInfo;
|
|
607
|
+
/** Display information of a Compute Engine route. */
|
|
608
|
+
route?: RouteInfo;
|
|
609
|
+
/** Each step is in one of the pre-defined states. */
|
|
610
|
+
state?: string;
|
|
611
|
+
/** Display information of a VPC connector. */
|
|
612
|
+
vpcConnector?: VpcConnectorInfo;
|
|
613
|
+
/** Display information of a Compute Engine VPN gateway. */
|
|
614
|
+
vpnGateway?: VpnGatewayInfo;
|
|
615
|
+
/** Display information of a Compute Engine VPN tunnel. */
|
|
616
|
+
vpnTunnel?: VpnTunnelInfo;
|
|
617
|
+
}
|
|
618
|
+
interface TestIamPermissionsRequest {
|
|
619
|
+
/** The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). */
|
|
620
|
+
permissions?: string[];
|
|
621
|
+
}
|
|
622
|
+
interface TestIamPermissionsResponse {
|
|
623
|
+
/** A subset of `TestPermissionsRequest.permissions` that the caller is allowed. */
|
|
624
|
+
permissions?: string[];
|
|
625
|
+
}
|
|
626
|
+
interface Trace {
|
|
627
|
+
/** Derived from the source and destination endpoints definition specified by user request, and validated by the data plane model. If there are multiple traces starting from different source locations, then the endpoint_info may be different between traces. */
|
|
628
|
+
endpointInfo?: EndpointInfo;
|
|
629
|
+
/** A trace of a test contains multiple steps from the initial state to the final state (delivered, dropped, forwarded, or aborted). The steps are ordered by the processing sequence within the simulated network state machine. It is critical to preserve the order of the steps and avoid reordering or sorting them. */
|
|
630
|
+
steps?: Step[];
|
|
631
|
+
}
|
|
632
|
+
interface VpcConnectorInfo {
|
|
633
|
+
/** Name of a VPC connector. */
|
|
634
|
+
displayName?: string;
|
|
635
|
+
/** Location in which the VPC connector is deployed. */
|
|
636
|
+
location?: string;
|
|
637
|
+
/** URI of a VPC connector. */
|
|
638
|
+
uri?: string;
|
|
639
|
+
}
|
|
640
|
+
interface VpnGatewayInfo {
|
|
641
|
+
/** Name of a VPN gateway. */
|
|
642
|
+
displayName?: string;
|
|
643
|
+
/** IP address of the VPN gateway. */
|
|
644
|
+
ipAddress?: string;
|
|
645
|
+
/** URI of a Compute Engine network where the VPN gateway is configured. */
|
|
646
|
+
networkUri?: string;
|
|
647
|
+
/** Name of a Google Cloud region where this VPN gateway is configured. */
|
|
648
|
+
region?: string;
|
|
649
|
+
/** URI of a VPN gateway. */
|
|
650
|
+
uri?: string;
|
|
651
|
+
/** A VPN tunnel that is associated with this VPN gateway. There may be multiple VPN tunnels configured on a VPN gateway, and only the one relevant to the test is displayed. */
|
|
652
|
+
vpnTunnelUri?: string;
|
|
653
|
+
}
|
|
654
|
+
interface VpnTunnelInfo {
|
|
655
|
+
/** Name of a VPN tunnel. */
|
|
656
|
+
displayName?: string;
|
|
657
|
+
/** URI of a Compute Engine network where the VPN tunnel is configured. */
|
|
658
|
+
networkUri?: string;
|
|
659
|
+
/** Name of a Google Cloud region where this VPN tunnel is configured. */
|
|
660
|
+
region?: string;
|
|
661
|
+
/** URI of a VPN gateway at remote end of the tunnel. */
|
|
662
|
+
remoteGateway?: string;
|
|
663
|
+
/** Remote VPN gateway's IP address. */
|
|
664
|
+
remoteGatewayIp?: string;
|
|
665
|
+
/** Type of the routing policy. */
|
|
666
|
+
routingType?: string;
|
|
667
|
+
/** URI of the VPN gateway at local end of the tunnel. */
|
|
668
|
+
sourceGateway?: string;
|
|
669
|
+
/** Local VPN gateway's IP address. */
|
|
670
|
+
sourceGatewayIp?: string;
|
|
671
|
+
/** URI of a VPN tunnel. */
|
|
672
|
+
uri?: string;
|
|
673
|
+
}
|
|
674
|
+
interface ConnectivityTestsResource {
|
|
675
|
+
/** Creates a new Connectivity Test. After you create a test, the reachability analysis is performed as part of the long running operation, which completes when the analysis completes. If the endpoint specifications in `ConnectivityTest` are invalid (for example, containing non-existent resources in the network, or you don't have read permissions to the network configurations of listed projects), then the reachability result returns a value of `UNKNOWN`. If the endpoint specifications in `ConnectivityTest` are incomplete, the reachability result returns a value of AMBIGUOUS. For more information, see the Connectivity Test documentation. */
|
|
676
|
+
create(request: {
|
|
677
|
+
/** V1 error format. */
|
|
678
|
+
'$.xgafv'?: string;
|
|
679
|
+
/** OAuth access token. */
|
|
680
|
+
access_token?: string;
|
|
681
|
+
/** Data format for response. */
|
|
682
|
+
alt?: string;
|
|
683
|
+
/** JSONP */
|
|
684
|
+
callback?: string;
|
|
685
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
686
|
+
fields?: string;
|
|
687
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
688
|
+
key?: string;
|
|
689
|
+
/** OAuth 2.0 token for the current user. */
|
|
690
|
+
oauth_token?: string;
|
|
691
|
+
/** Required. The parent resource of the Connectivity Test to create: `projects/{project_id}/locations/global` */
|
|
692
|
+
parent: string;
|
|
693
|
+
/** Returns response with indentations and line breaks. */
|
|
694
|
+
prettyPrint?: boolean;
|
|
695
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
696
|
+
quotaUser?: string;
|
|
697
|
+
/** Required. The logical name of the Connectivity Test in your project with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-40 characters. * Must end with a number or a letter. * Must be unique within the customer project */
|
|
698
|
+
testId?: string;
|
|
699
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
700
|
+
upload_protocol?: string;
|
|
701
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
702
|
+
uploadType?: string;
|
|
703
|
+
/** Request body */
|
|
704
|
+
resource: ConnectivityTest;
|
|
705
|
+
}): Request<Operation>;
|
|
706
|
+
create(
|
|
707
|
+
request: {
|
|
708
|
+
/** V1 error format. */
|
|
709
|
+
'$.xgafv'?: string;
|
|
710
|
+
/** OAuth access token. */
|
|
711
|
+
access_token?: string;
|
|
712
|
+
/** Data format for response. */
|
|
713
|
+
alt?: string;
|
|
714
|
+
/** JSONP */
|
|
715
|
+
callback?: string;
|
|
716
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
717
|
+
fields?: string;
|
|
718
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
719
|
+
key?: string;
|
|
720
|
+
/** OAuth 2.0 token for the current user. */
|
|
721
|
+
oauth_token?: string;
|
|
722
|
+
/** Required. The parent resource of the Connectivity Test to create: `projects/{project_id}/locations/global` */
|
|
723
|
+
parent: string;
|
|
724
|
+
/** Returns response with indentations and line breaks. */
|
|
725
|
+
prettyPrint?: boolean;
|
|
726
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
727
|
+
quotaUser?: string;
|
|
728
|
+
/** Required. The logical name of the Connectivity Test in your project with the following restrictions: * Must contain only lowercase letters, numbers, and hyphens. * Must start with a letter. * Must be between 1-40 characters. * Must end with a number or a letter. * Must be unique within the customer project */
|
|
729
|
+
testId?: string;
|
|
730
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
731
|
+
upload_protocol?: string;
|
|
732
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
733
|
+
uploadType?: string;
|
|
734
|
+
},
|
|
735
|
+
body: ConnectivityTest
|
|
736
|
+
): Request<Operation>;
|
|
737
|
+
/** Deletes a specific `ConnectivityTest`. */
|
|
738
|
+
delete(request?: {
|
|
739
|
+
/** V1 error format. */
|
|
740
|
+
'$.xgafv'?: string;
|
|
741
|
+
/** OAuth access token. */
|
|
742
|
+
access_token?: string;
|
|
743
|
+
/** Data format for response. */
|
|
744
|
+
alt?: string;
|
|
745
|
+
/** JSONP */
|
|
746
|
+
callback?: string;
|
|
747
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
748
|
+
fields?: string;
|
|
749
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
750
|
+
key?: string;
|
|
751
|
+
/** Required. Connectivity Test resource name using the form: `projects/{project_id}/locations/global/connectivityTests/{test_id}` */
|
|
752
|
+
name: string;
|
|
753
|
+
/** OAuth 2.0 token for the current user. */
|
|
754
|
+
oauth_token?: string;
|
|
755
|
+
/** Returns response with indentations and line breaks. */
|
|
756
|
+
prettyPrint?: boolean;
|
|
757
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
758
|
+
quotaUser?: string;
|
|
759
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
760
|
+
upload_protocol?: string;
|
|
761
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
762
|
+
uploadType?: string;
|
|
763
|
+
}): Request<Operation>;
|
|
764
|
+
/** Gets the details of a specific Connectivity Test. */
|
|
765
|
+
get(request?: {
|
|
766
|
+
/** V1 error format. */
|
|
767
|
+
'$.xgafv'?: string;
|
|
768
|
+
/** OAuth access token. */
|
|
769
|
+
access_token?: string;
|
|
770
|
+
/** Data format for response. */
|
|
771
|
+
alt?: string;
|
|
772
|
+
/** JSONP */
|
|
773
|
+
callback?: string;
|
|
774
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
775
|
+
fields?: string;
|
|
776
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
777
|
+
key?: string;
|
|
778
|
+
/** Required. `ConnectivityTest` resource name using the form: `projects/{project_id}/locations/global/connectivityTests/{test_id}` */
|
|
779
|
+
name: string;
|
|
780
|
+
/** OAuth 2.0 token for the current user. */
|
|
781
|
+
oauth_token?: string;
|
|
782
|
+
/** Returns response with indentations and line breaks. */
|
|
783
|
+
prettyPrint?: boolean;
|
|
784
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
785
|
+
quotaUser?: string;
|
|
786
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
787
|
+
upload_protocol?: string;
|
|
788
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
789
|
+
uploadType?: string;
|
|
790
|
+
}): Request<ConnectivityTest>;
|
|
791
|
+
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
792
|
+
getIamPolicy(request?: {
|
|
793
|
+
/** V1 error format. */
|
|
794
|
+
'$.xgafv'?: string;
|
|
795
|
+
/** OAuth access token. */
|
|
796
|
+
access_token?: string;
|
|
797
|
+
/** Data format for response. */
|
|
798
|
+
alt?: string;
|
|
799
|
+
/** JSONP */
|
|
800
|
+
callback?: string;
|
|
801
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
802
|
+
fields?: string;
|
|
803
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
804
|
+
key?: string;
|
|
805
|
+
/** OAuth 2.0 token for the current user. */
|
|
806
|
+
oauth_token?: string;
|
|
807
|
+
/** Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
808
|
+
'options.requestedPolicyVersion'?: number;
|
|
809
|
+
/** Returns response with indentations and line breaks. */
|
|
810
|
+
prettyPrint?: boolean;
|
|
811
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
812
|
+
quotaUser?: string;
|
|
813
|
+
/** REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
814
|
+
resource: string;
|
|
815
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
816
|
+
upload_protocol?: string;
|
|
817
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
818
|
+
uploadType?: string;
|
|
819
|
+
}): Request<Policy>;
|
|
820
|
+
/** Lists all Connectivity Tests owned by a project. */
|
|
821
|
+
list(request?: {
|
|
822
|
+
/** V1 error format. */
|
|
823
|
+
'$.xgafv'?: string;
|
|
824
|
+
/** OAuth access token. */
|
|
825
|
+
access_token?: string;
|
|
826
|
+
/** Data format for response. */
|
|
827
|
+
alt?: string;
|
|
828
|
+
/** JSONP */
|
|
829
|
+
callback?: string;
|
|
830
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
831
|
+
fields?: string;
|
|
832
|
+
/** Lists the `ConnectivityTests` that match the filter expression. A filter expression filters the resources listed in the response. The expression must be of the form ` ` where operators: `<`, `>`, `<=`, `>=`, `!=`, `=`, `:` are supported (colon `:` represents a HAS operator which is roughly synonymous with equality). can refer to a proto or JSON field, or a synthetic field. Field names can be camelCase or snake_case. Examples: - Filter by name: name = "projects/proj-1/locations/global/connectivityTests/test-1 - Filter by labels: - Resources that have a key called `foo` labels.foo:* - Resources that have a key called `foo` whose value is `bar` labels.foo = bar */
|
|
833
|
+
filter?: string;
|
|
834
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
835
|
+
key?: string;
|
|
836
|
+
/** OAuth 2.0 token for the current user. */
|
|
837
|
+
oauth_token?: string;
|
|
838
|
+
/** Field to use to sort the list. */
|
|
839
|
+
orderBy?: string;
|
|
840
|
+
/** Number of `ConnectivityTests` to return. */
|
|
841
|
+
pageSize?: number;
|
|
842
|
+
/** Page token from an earlier query, as returned in `next_page_token`. */
|
|
843
|
+
pageToken?: string;
|
|
844
|
+
/** Required. The parent resource of the Connectivity Tests: `projects/{project_id}/locations/global` */
|
|
845
|
+
parent: string;
|
|
846
|
+
/** Returns response with indentations and line breaks. */
|
|
847
|
+
prettyPrint?: boolean;
|
|
848
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
849
|
+
quotaUser?: string;
|
|
850
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
851
|
+
upload_protocol?: string;
|
|
852
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
853
|
+
uploadType?: string;
|
|
854
|
+
}): Request<ListConnectivityTestsResponse>;
|
|
855
|
+
/** Updates the configuration of an existing `ConnectivityTest`. After you update a test, the reachability analysis is performed as part of the long running operation, which completes when the analysis completes. The Reachability state in the test resource is updated with the new result. If the endpoint specifications in `ConnectivityTest` are invalid (for example, they contain non-existent resources in the network, or the user does not have read permissions to the network configurations of listed projects), then the reachability result returns a value of UNKNOWN. If the endpoint specifications in `ConnectivityTest` are incomplete, the reachability result returns a value of `AMBIGUOUS`. See the documentation in `ConnectivityTest` for for more details. */
|
|
856
|
+
patch(request: {
|
|
857
|
+
/** V1 error format. */
|
|
858
|
+
'$.xgafv'?: string;
|
|
859
|
+
/** OAuth access token. */
|
|
860
|
+
access_token?: string;
|
|
861
|
+
/** Data format for response. */
|
|
862
|
+
alt?: string;
|
|
863
|
+
/** JSONP */
|
|
864
|
+
callback?: string;
|
|
865
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
866
|
+
fields?: string;
|
|
867
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
868
|
+
key?: string;
|
|
869
|
+
/** Required. Unique name of the resource using the form: `projects/{project_id}/locations/global/connectivityTests/{test_id}` */
|
|
870
|
+
name: string;
|
|
871
|
+
/** OAuth 2.0 token for the current user. */
|
|
872
|
+
oauth_token?: string;
|
|
873
|
+
/** Returns response with indentations and line breaks. */
|
|
874
|
+
prettyPrint?: boolean;
|
|
875
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
876
|
+
quotaUser?: string;
|
|
877
|
+
/** Required. Mask of fields to update. At least one path must be supplied in this field. */
|
|
878
|
+
updateMask?: string;
|
|
879
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
880
|
+
upload_protocol?: string;
|
|
881
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
882
|
+
uploadType?: string;
|
|
883
|
+
/** Request body */
|
|
884
|
+
resource: ConnectivityTest;
|
|
885
|
+
}): Request<Operation>;
|
|
886
|
+
patch(
|
|
887
|
+
request: {
|
|
888
|
+
/** V1 error format. */
|
|
889
|
+
'$.xgafv'?: string;
|
|
890
|
+
/** OAuth access token. */
|
|
891
|
+
access_token?: string;
|
|
892
|
+
/** Data format for response. */
|
|
893
|
+
alt?: string;
|
|
894
|
+
/** JSONP */
|
|
895
|
+
callback?: string;
|
|
896
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
897
|
+
fields?: string;
|
|
898
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
899
|
+
key?: string;
|
|
900
|
+
/** Required. Unique name of the resource using the form: `projects/{project_id}/locations/global/connectivityTests/{test_id}` */
|
|
901
|
+
name: string;
|
|
902
|
+
/** OAuth 2.0 token for the current user. */
|
|
903
|
+
oauth_token?: string;
|
|
904
|
+
/** Returns response with indentations and line breaks. */
|
|
905
|
+
prettyPrint?: boolean;
|
|
906
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
907
|
+
quotaUser?: string;
|
|
908
|
+
/** Required. Mask of fields to update. At least one path must be supplied in this field. */
|
|
909
|
+
updateMask?: string;
|
|
910
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
911
|
+
upload_protocol?: string;
|
|
912
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
913
|
+
uploadType?: string;
|
|
914
|
+
},
|
|
915
|
+
body: ConnectivityTest
|
|
916
|
+
): Request<Operation>;
|
|
917
|
+
/** Rerun an existing `ConnectivityTest`. After the user triggers the rerun, the reachability analysis is performed as part of the long running operation, which completes when the analysis completes. Even though the test configuration remains the same, the reachability result may change due to underlying network configuration changes. If the endpoint specifications in `ConnectivityTest` become invalid (for example, specified resources are deleted in the network, or you lost read permissions to the network configurations of listed projects), then the reachability result returns a value of `UNKNOWN`. */
|
|
918
|
+
rerun(request: {
|
|
919
|
+
/** V1 error format. */
|
|
920
|
+
'$.xgafv'?: string;
|
|
921
|
+
/** OAuth access token. */
|
|
922
|
+
access_token?: string;
|
|
923
|
+
/** Data format for response. */
|
|
924
|
+
alt?: string;
|
|
925
|
+
/** JSONP */
|
|
926
|
+
callback?: string;
|
|
927
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
928
|
+
fields?: string;
|
|
929
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
930
|
+
key?: string;
|
|
931
|
+
/** Required. Connectivity Test resource name using the form: `projects/{project_id}/locations/global/connectivityTests/{test_id}` */
|
|
932
|
+
name: string;
|
|
933
|
+
/** OAuth 2.0 token for the current user. */
|
|
934
|
+
oauth_token?: string;
|
|
935
|
+
/** Returns response with indentations and line breaks. */
|
|
936
|
+
prettyPrint?: boolean;
|
|
937
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
938
|
+
quotaUser?: string;
|
|
939
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
940
|
+
upload_protocol?: string;
|
|
941
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
942
|
+
uploadType?: string;
|
|
943
|
+
/** Request body */
|
|
944
|
+
resource: RerunConnectivityTestRequest;
|
|
945
|
+
}): Request<Operation>;
|
|
946
|
+
rerun(
|
|
947
|
+
request: {
|
|
948
|
+
/** V1 error format. */
|
|
949
|
+
'$.xgafv'?: string;
|
|
950
|
+
/** OAuth access token. */
|
|
951
|
+
access_token?: string;
|
|
952
|
+
/** Data format for response. */
|
|
953
|
+
alt?: string;
|
|
954
|
+
/** JSONP */
|
|
955
|
+
callback?: string;
|
|
956
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
957
|
+
fields?: string;
|
|
958
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
959
|
+
key?: string;
|
|
960
|
+
/** Required. Connectivity Test resource name using the form: `projects/{project_id}/locations/global/connectivityTests/{test_id}` */
|
|
961
|
+
name: string;
|
|
962
|
+
/** OAuth 2.0 token for the current user. */
|
|
963
|
+
oauth_token?: string;
|
|
964
|
+
/** Returns response with indentations and line breaks. */
|
|
965
|
+
prettyPrint?: boolean;
|
|
966
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
967
|
+
quotaUser?: string;
|
|
968
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
969
|
+
upload_protocol?: string;
|
|
970
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
971
|
+
uploadType?: string;
|
|
972
|
+
},
|
|
973
|
+
body: RerunConnectivityTestRequest
|
|
974
|
+
): Request<Operation>;
|
|
975
|
+
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
976
|
+
setIamPolicy(
|
|
977
|
+
request: {
|
|
978
|
+
/** V1 error format. */
|
|
979
|
+
'$.xgafv'?: string;
|
|
980
|
+
/** OAuth access token. */
|
|
981
|
+
access_token?: string;
|
|
982
|
+
/** Data format for response. */
|
|
983
|
+
alt?: string;
|
|
984
|
+
/** JSONP */
|
|
985
|
+
callback?: string;
|
|
986
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
987
|
+
fields?: string;
|
|
988
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
989
|
+
key?: string;
|
|
990
|
+
/** OAuth 2.0 token for the current user. */
|
|
991
|
+
oauth_token?: string;
|
|
992
|
+
/** Returns response with indentations and line breaks. */
|
|
993
|
+
prettyPrint?: boolean;
|
|
994
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
995
|
+
quotaUser?: string;
|
|
996
|
+
/** REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
997
|
+
resource: string;
|
|
998
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
999
|
+
upload_protocol?: string;
|
|
1000
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1001
|
+
uploadType?: string;
|
|
1002
|
+
},
|
|
1003
|
+
body: SetIamPolicyRequest
|
|
1004
|
+
): Request<Policy>;
|
|
1005
|
+
/** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
|
|
1006
|
+
testIamPermissions(
|
|
1007
|
+
request: {
|
|
1008
|
+
/** V1 error format. */
|
|
1009
|
+
'$.xgafv'?: string;
|
|
1010
|
+
/** OAuth access token. */
|
|
1011
|
+
access_token?: string;
|
|
1012
|
+
/** Data format for response. */
|
|
1013
|
+
alt?: string;
|
|
1014
|
+
/** JSONP */
|
|
1015
|
+
callback?: string;
|
|
1016
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1017
|
+
fields?: string;
|
|
1018
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1019
|
+
key?: string;
|
|
1020
|
+
/** OAuth 2.0 token for the current user. */
|
|
1021
|
+
oauth_token?: string;
|
|
1022
|
+
/** Returns response with indentations and line breaks. */
|
|
1023
|
+
prettyPrint?: boolean;
|
|
1024
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1025
|
+
quotaUser?: string;
|
|
1026
|
+
/** REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
1027
|
+
resource: string;
|
|
1028
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1029
|
+
upload_protocol?: string;
|
|
1030
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1031
|
+
uploadType?: string;
|
|
1032
|
+
},
|
|
1033
|
+
body: TestIamPermissionsRequest
|
|
1034
|
+
): Request<TestIamPermissionsResponse>;
|
|
1035
|
+
}
|
|
1036
|
+
interface OperationsResource {
|
|
1037
|
+
/** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. */
|
|
1038
|
+
cancel(request: {
|
|
1039
|
+
/** V1 error format. */
|
|
1040
|
+
'$.xgafv'?: string;
|
|
1041
|
+
/** OAuth access token. */
|
|
1042
|
+
access_token?: string;
|
|
1043
|
+
/** Data format for response. */
|
|
1044
|
+
alt?: string;
|
|
1045
|
+
/** JSONP */
|
|
1046
|
+
callback?: string;
|
|
1047
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1048
|
+
fields?: string;
|
|
1049
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1050
|
+
key?: string;
|
|
1051
|
+
/** The name of the operation resource to be cancelled. */
|
|
1052
|
+
name: string;
|
|
1053
|
+
/** OAuth 2.0 token for the current user. */
|
|
1054
|
+
oauth_token?: string;
|
|
1055
|
+
/** Returns response with indentations and line breaks. */
|
|
1056
|
+
prettyPrint?: boolean;
|
|
1057
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1058
|
+
quotaUser?: string;
|
|
1059
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1060
|
+
upload_protocol?: string;
|
|
1061
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1062
|
+
uploadType?: string;
|
|
1063
|
+
/** Request body */
|
|
1064
|
+
resource: CancelOperationRequest;
|
|
1065
|
+
}): Request<{}>;
|
|
1066
|
+
cancel(
|
|
1067
|
+
request: {
|
|
1068
|
+
/** V1 error format. */
|
|
1069
|
+
'$.xgafv'?: string;
|
|
1070
|
+
/** OAuth access token. */
|
|
1071
|
+
access_token?: string;
|
|
1072
|
+
/** Data format for response. */
|
|
1073
|
+
alt?: string;
|
|
1074
|
+
/** JSONP */
|
|
1075
|
+
callback?: string;
|
|
1076
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1077
|
+
fields?: string;
|
|
1078
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1079
|
+
key?: string;
|
|
1080
|
+
/** The name of the operation resource to be cancelled. */
|
|
1081
|
+
name: string;
|
|
1082
|
+
/** OAuth 2.0 token for the current user. */
|
|
1083
|
+
oauth_token?: string;
|
|
1084
|
+
/** Returns response with indentations and line breaks. */
|
|
1085
|
+
prettyPrint?: boolean;
|
|
1086
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1087
|
+
quotaUser?: string;
|
|
1088
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1089
|
+
upload_protocol?: string;
|
|
1090
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1091
|
+
uploadType?: string;
|
|
1092
|
+
},
|
|
1093
|
+
body: CancelOperationRequest
|
|
1094
|
+
): Request<{}>;
|
|
1095
|
+
/** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */
|
|
1096
|
+
delete(request?: {
|
|
1097
|
+
/** V1 error format. */
|
|
1098
|
+
'$.xgafv'?: string;
|
|
1099
|
+
/** OAuth access token. */
|
|
1100
|
+
access_token?: string;
|
|
1101
|
+
/** Data format for response. */
|
|
1102
|
+
alt?: string;
|
|
1103
|
+
/** JSONP */
|
|
1104
|
+
callback?: string;
|
|
1105
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1106
|
+
fields?: string;
|
|
1107
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1108
|
+
key?: string;
|
|
1109
|
+
/** The name of the operation resource to be deleted. */
|
|
1110
|
+
name: string;
|
|
1111
|
+
/** OAuth 2.0 token for the current user. */
|
|
1112
|
+
oauth_token?: string;
|
|
1113
|
+
/** Returns response with indentations and line breaks. */
|
|
1114
|
+
prettyPrint?: boolean;
|
|
1115
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1116
|
+
quotaUser?: string;
|
|
1117
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1118
|
+
upload_protocol?: string;
|
|
1119
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1120
|
+
uploadType?: string;
|
|
1121
|
+
}): Request<{}>;
|
|
1122
|
+
/** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
|
|
1123
|
+
get(request?: {
|
|
1124
|
+
/** V1 error format. */
|
|
1125
|
+
'$.xgafv'?: string;
|
|
1126
|
+
/** OAuth access token. */
|
|
1127
|
+
access_token?: string;
|
|
1128
|
+
/** Data format for response. */
|
|
1129
|
+
alt?: string;
|
|
1130
|
+
/** JSONP */
|
|
1131
|
+
callback?: string;
|
|
1132
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1133
|
+
fields?: string;
|
|
1134
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1135
|
+
key?: string;
|
|
1136
|
+
/** The name of the operation resource. */
|
|
1137
|
+
name: string;
|
|
1138
|
+
/** OAuth 2.0 token for the current user. */
|
|
1139
|
+
oauth_token?: string;
|
|
1140
|
+
/** Returns response with indentations and line breaks. */
|
|
1141
|
+
prettyPrint?: boolean;
|
|
1142
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1143
|
+
quotaUser?: string;
|
|
1144
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1145
|
+
upload_protocol?: string;
|
|
1146
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1147
|
+
uploadType?: string;
|
|
1148
|
+
}): Request<Operation>;
|
|
1149
|
+
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
1150
|
+
list(request?: {
|
|
1151
|
+
/** V1 error format. */
|
|
1152
|
+
'$.xgafv'?: string;
|
|
1153
|
+
/** OAuth access token. */
|
|
1154
|
+
access_token?: string;
|
|
1155
|
+
/** Data format for response. */
|
|
1156
|
+
alt?: string;
|
|
1157
|
+
/** JSONP */
|
|
1158
|
+
callback?: string;
|
|
1159
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1160
|
+
fields?: string;
|
|
1161
|
+
/** The standard list filter. */
|
|
1162
|
+
filter?: string;
|
|
1163
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1164
|
+
key?: string;
|
|
1165
|
+
/** The name of the operation's parent resource. */
|
|
1166
|
+
name: string;
|
|
1167
|
+
/** OAuth 2.0 token for the current user. */
|
|
1168
|
+
oauth_token?: string;
|
|
1169
|
+
/** The standard list page size. */
|
|
1170
|
+
pageSize?: number;
|
|
1171
|
+
/** The standard list page token. */
|
|
1172
|
+
pageToken?: string;
|
|
1173
|
+
/** Returns response with indentations and line breaks. */
|
|
1174
|
+
prettyPrint?: boolean;
|
|
1175
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1176
|
+
quotaUser?: string;
|
|
1177
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1178
|
+
upload_protocol?: string;
|
|
1179
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1180
|
+
uploadType?: string;
|
|
1181
|
+
}): Request<ListOperationsResponse>;
|
|
1182
|
+
}
|
|
1183
|
+
interface GlobalResource {
|
|
1184
|
+
connectivityTests: ConnectivityTestsResource;
|
|
1185
|
+
operations: OperationsResource;
|
|
1186
|
+
}
|
|
1187
|
+
interface LocationsResource {
|
|
1188
|
+
/** Gets information about a location. */
|
|
1189
|
+
get(request?: {
|
|
1190
|
+
/** V1 error format. */
|
|
1191
|
+
'$.xgafv'?: string;
|
|
1192
|
+
/** OAuth access token. */
|
|
1193
|
+
access_token?: string;
|
|
1194
|
+
/** Data format for response. */
|
|
1195
|
+
alt?: string;
|
|
1196
|
+
/** JSONP */
|
|
1197
|
+
callback?: string;
|
|
1198
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1199
|
+
fields?: string;
|
|
1200
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1201
|
+
key?: string;
|
|
1202
|
+
/** Resource name for the location. */
|
|
1203
|
+
name: string;
|
|
1204
|
+
/** OAuth 2.0 token for the current user. */
|
|
1205
|
+
oauth_token?: string;
|
|
1206
|
+
/** Returns response with indentations and line breaks. */
|
|
1207
|
+
prettyPrint?: boolean;
|
|
1208
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1209
|
+
quotaUser?: string;
|
|
1210
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1211
|
+
upload_protocol?: string;
|
|
1212
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1213
|
+
uploadType?: string;
|
|
1214
|
+
}): Request<Location>;
|
|
1215
|
+
/** Lists information about the supported locations for this service. */
|
|
1216
|
+
list(request?: {
|
|
1217
|
+
/** V1 error format. */
|
|
1218
|
+
'$.xgafv'?: string;
|
|
1219
|
+
/** OAuth access token. */
|
|
1220
|
+
access_token?: string;
|
|
1221
|
+
/** Data format for response. */
|
|
1222
|
+
alt?: string;
|
|
1223
|
+
/** JSONP */
|
|
1224
|
+
callback?: string;
|
|
1225
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1226
|
+
fields?: string;
|
|
1227
|
+
/** A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). */
|
|
1228
|
+
filter?: string;
|
|
1229
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1230
|
+
key?: string;
|
|
1231
|
+
/** The resource that owns the locations collection, if applicable. */
|
|
1232
|
+
name: string;
|
|
1233
|
+
/** OAuth 2.0 token for the current user. */
|
|
1234
|
+
oauth_token?: string;
|
|
1235
|
+
/** The maximum number of results to return. If not set, the service selects a default. */
|
|
1236
|
+
pageSize?: number;
|
|
1237
|
+
/** A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. */
|
|
1238
|
+
pageToken?: string;
|
|
1239
|
+
/** Returns response with indentations and line breaks. */
|
|
1240
|
+
prettyPrint?: boolean;
|
|
1241
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1242
|
+
quotaUser?: string;
|
|
1243
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1244
|
+
upload_protocol?: string;
|
|
1245
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1246
|
+
uploadType?: string;
|
|
1247
|
+
}): Request<ListLocationsResponse>;
|
|
1248
|
+
global: GlobalResource;
|
|
1249
|
+
}
|
|
1250
|
+
interface ProjectsResource {
|
|
1251
|
+
locations: LocationsResource;
|
|
1252
|
+
}
|
|
1253
|
+
|
|
1254
|
+
const projects: ProjectsResource;
|
|
1255
|
+
}
|
|
1813
1256
|
}
|