@maxim_mazurok/gapi.client.networkconnectivity-v1 0.0.20230705 → 0.0.20230721

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/index.d.ts +103 -75
  2. package/package.json +1 -1
  3. package/tests.ts +33 -5
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://networkconnectivity.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20230705
12
+ // Revision: 20230721
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -24,11 +24,11 @@ declare namespace gapi.client {
24
24
  namespace networkconnectivity {
25
25
  interface AcceptSpokeRequest {
26
26
  /**
27
- * Optional. A unique request ID (optional). If you specify this ID, you can use it in cases when you need to retry your request. When you need to retry, this ID lets the server know
28
- * that it can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request. For example, consider a situation where
29
- * you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was
30
- * received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID, with
31
- * the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
27
+ * Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been
28
+ * completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an
29
+ * initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it
30
+ * was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID, with the exception
31
+ * that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
32
32
  */
33
33
  requestId?:
34
34
  string;
@@ -103,6 +103,9 @@ declare namespace gapi.client {
103
103
  /** The most recent error during operating this connection. */
104
104
  error?:
105
105
  GoogleRpcStatus;
106
+ /** Output only. The error info for the latest error during operating this connection. */
107
+ errorInfo?:
108
+ GoogleRpcErrorInfo;
106
109
  /** The error type indicates whether the error is consumer facing, producer facing or system internal. */
107
110
  errorType?:
108
111
  string;
@@ -189,6 +192,28 @@ declare namespace gapi.client {
189
192
  response?:
190
193
  { [P in string]: any };
191
194
  }
195
+ interface GoogleRpcErrorInfo {
196
+ /**
197
+ * The logical grouping to which the "reason" belongs. The error domain is typically the registered service name of the tool or product that generates the error. Example:
198
+ * "pubsub.googleapis.com". If the error is generated by some common infrastructure, the error domain must be a globally unique value that identifies the infrastructure. For Google API
199
+ * infrastructure, the error domain is "googleapis.com".
200
+ */
201
+ domain?:
202
+ string;
203
+ /**
204
+ * Additional structured details about this error. Keys should match /[a-zA-Z0-9-_]/ and be limited to 64 characters in length. When identifying the current value of an exceeded limit,
205
+ * the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the
206
+ * client exceeds the number of instances that can be created in a single (batch) request.
207
+ */
208
+ metadata?:
209
+ { [P in string]: string };
210
+ /**
211
+ * The reason of the error. This is a constant value that identifies the proximate cause of the error. Error reasons are unique within a particular domain of errors. This should be at
212
+ * most 63 characters and match a regular expression of `A-Z+[A-Z0-9]`, which represents UPPER_SNAKE_CASE.
213
+ */
214
+ reason?:
215
+ string;
216
+ }
192
217
  interface GoogleRpcStatus {
193
218
  /** The status code, which should be an enum value of google.rpc.Code. */
194
219
  code?:
@@ -333,10 +358,10 @@ declare namespace gapi.client {
333
358
  string;
334
359
  }
335
360
  interface LinkedVpcNetwork {
336
- /** Optional. IP Ranges encompassing the subnets to be excluded from peering. */
361
+ /** Optional. IP ranges encompassing the subnets to be excluded from peering. */
337
362
  excludeExportRanges?:
338
363
  string[];
339
- /** Required. The URI of the VPC network resource */
364
+ /** Required. The URI of the VPC network resource. */
340
365
  uri?:
341
366
  string;
342
367
  }
@@ -583,6 +608,9 @@ declare namespace gapi.client {
583
608
  /** The most recent error during operating this connection. */
584
609
  error?:
585
610
  GoogleRpcStatus;
611
+ /** Output only. The error info for the latest error during operating this connection. */
612
+ errorInfo?:
613
+ GoogleRpcErrorInfo;
586
614
  /** The error type indicates whether the error is consumer facing, producer facing or system internal. */
587
615
  errorType?:
588
616
  string;
@@ -597,15 +625,15 @@ declare namespace gapi.client {
597
625
  string;
598
626
  }
599
627
  interface RejectSpokeRequest {
600
- /** Optional. Additional Details behind the rejection */
628
+ /** Optional. Additional information provided by the hub administrator in the `RejectSpoke` call. */
601
629
  details?:
602
630
  string;
603
631
  /**
604
- * Optional. A unique request ID (optional). If you specify this ID, you can use it in cases when you need to retry your request. When you need to retry, this ID lets the server know
605
- * that it can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request. For example, consider a situation where
606
- * you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was
607
- * received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID, with
608
- * the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
632
+ * Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been
633
+ * completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you make an
634
+ * initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was received. If it
635
+ * was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID, with the exception
636
+ * that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
609
637
  */
610
638
  requestId?:
611
639
  string;
@@ -630,7 +658,7 @@ declare namespace gapi.client {
630
658
  location?:
631
659
  string;
632
660
  /**
633
- * Immutable. The name of the route. Route names must be unique. They use the following form:
661
+ * Immutable. The name of the route. Route names must be unique. Route names use the following form:
634
662
  * `projects/{project_number}/locations/global/hubs/{hub}/routeTables/{route_table_id}/routes/{route_id}`
635
663
  */
636
664
  name?:
@@ -649,7 +677,7 @@ declare namespace gapi.client {
649
677
  string;
650
678
  /**
651
679
  * Output only. The Google-generated UUID for the route. This value is unique across all Network Connectivity Center route resources. If a route is deleted and another with the same
652
- * name is created, the new route is assigned a different unique_id.
680
+ * name is created, the new route is assigned a different `uid`.
653
681
  */
654
682
  uid?:
655
683
  string;
@@ -679,7 +707,7 @@ declare namespace gapi.client {
679
707
  labels?:
680
708
  { [P in string]: string };
681
709
  /**
682
- * Immutable. The name of the route table. Route Table names must be unique. They use the following form:
710
+ * Immutable. The name of the route table. Route table names must be unique. They use the following form:
683
711
  * `projects/{project_number}/locations/global/hubs/{hub}/routeTables/{route_table_id}`
684
712
  */
685
713
  name?:
@@ -689,7 +717,7 @@ declare namespace gapi.client {
689
717
  string;
690
718
  /**
691
719
  * Output only. The Google-generated UUID for the route table. This value is unique across all route table resources. If a route table is deleted and another with the same name is
692
- * created, the new route table is assigned a different unique_id.
720
+ * created, the new route table is assigned a different `uid`.
693
721
  */
694
722
  uid?:
695
723
  string;
@@ -730,9 +758,6 @@ declare namespace gapi.client {
730
758
  /** Output only. The generated service class name. Use this name to refer to the Service class in Service Connection Maps and Service Connection Policies. */
731
759
  serviceClass?:
732
760
  string;
733
- /** Output only. URIs of all Service Connection Maps using this service class. */
734
- serviceConnectionMaps?:
735
- string[];
736
761
  /** Output only. Time when the ServiceClass was updated. */
737
762
  updateTime?:
738
763
  string;
@@ -902,7 +927,7 @@ declare namespace gapi.client {
902
927
  /** Immutable. The name of the spoke. Spoke names must be unique. They use the following form: `projects/{project_number}/locations/{region}/spokes/{spoke_id}` */
903
928
  name?:
904
929
  string;
905
- /** Output only. The reasons for current state of the spoke. */
930
+ /** Output only. The reasons for current state of the spoke. Only present when the spoke is in the `INACTIVE` state. */
906
931
  reasons?:
907
932
  StateReason[];
908
933
  /** Output only. The type of resource associated with the spoke. */
@@ -913,7 +938,7 @@ declare namespace gapi.client {
913
938
  string;
914
939
  /**
915
940
  * Output only. The Google-generated UUID for the spoke. This value is unique across all spoke resources. If a spoke is deleted and another with the same name is created, the new spoke
916
- * is assigned a different unique_id.
941
+ * is assigned a different `unique_id`.
917
942
  */
918
943
  uniqueId?:
919
944
  string;
@@ -1345,11 +1370,11 @@ declare namespace gapi.client {
1345
1370
  quotaUser?:
1346
1371
  string;
1347
1372
  /**
1348
- * Optional. A unique request ID (optional). If you specify this ID, you can use it in cases when you need to retry your request. When you need to retry, this ID lets the server
1349
- * know that it can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request. For example, consider a
1350
- * situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original
1351
- * operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a
1352
- * valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1373
+ * Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already
1374
+ * been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you
1375
+ * make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was
1376
+ * received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID,
1377
+ * with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1353
1378
  */
1354
1379
  requestId?:
1355
1380
  string;
@@ -1398,11 +1423,11 @@ declare namespace gapi.client {
1398
1423
  quotaUser?:
1399
1424
  string;
1400
1425
  /**
1401
- * Optional. A unique request ID (optional). If you specify this ID, you can use it in cases when you need to retry your request. When you need to retry, this ID lets the server
1402
- * know that it can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request. For example, consider a
1403
- * situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original
1404
- * operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a
1405
- * valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1426
+ * Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already
1427
+ * been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you
1428
+ * make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was
1429
+ * received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID,
1430
+ * with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1406
1431
  */
1407
1432
  requestId?:
1408
1433
  string;
@@ -1447,11 +1472,11 @@ declare namespace gapi.client {
1447
1472
  quotaUser?:
1448
1473
  string;
1449
1474
  /**
1450
- * Optional. A unique request ID (optional). If you specify this ID, you can use it in cases when you need to retry your request. When you need to retry, this ID lets the server
1451
- * know that it can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request. For example, consider a
1452
- * situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original
1453
- * operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a
1454
- * valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1475
+ * Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already
1476
+ * been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you
1477
+ * make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was
1478
+ * received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID,
1479
+ * with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1455
1480
  */
1456
1481
  requestId?:
1457
1482
  string;
@@ -1663,7 +1688,7 @@ declare namespace gapi.client {
1663
1688
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1664
1689
  uploadType?:
1665
1690
  string;
1666
- /** The view of the spoke to return. The view you use determines which spoke fields are included in the response. */
1691
+ /** The view of the spoke to return. The view that you use determines which spoke fields are included in the response. */
1667
1692
  view?:
1668
1693
  string;
1669
1694
  }): Request<ListHubSpokesResponse>;
@@ -1700,11 +1725,11 @@ declare namespace gapi.client {
1700
1725
  quotaUser?:
1701
1726
  string;
1702
1727
  /**
1703
- * Optional. A unique request ID (optional). If you specify this ID, you can use it in cases when you need to retry your request. When you need to retry, this ID lets the server
1704
- * know that it can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request. For example, consider a
1705
- * situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original
1706
- * operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a
1707
- * valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1728
+ * Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already
1729
+ * been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you
1730
+ * make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was
1731
+ * received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID,
1732
+ * with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1708
1733
  */
1709
1734
  requestId?:
1710
1735
  string;
@@ -1756,11 +1781,11 @@ declare namespace gapi.client {
1756
1781
  quotaUser?:
1757
1782
  string;
1758
1783
  /**
1759
- * Optional. A unique request ID (optional). If you specify this ID, you can use it in cases when you need to retry your request. When you need to retry, this ID lets the server
1760
- * know that it can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request. For example, consider a
1761
- * situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original
1762
- * operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a
1763
- * valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1784
+ * Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already
1785
+ * been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you
1786
+ * make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was
1787
+ * received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID,
1788
+ * with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1764
1789
  */
1765
1790
  requestId?:
1766
1791
  string;
@@ -4384,11 +4409,11 @@ declare namespace gapi.client {
4384
4409
  quotaUser?:
4385
4410
  string;
4386
4411
  /**
4387
- * Optional. A unique request ID (optional). If you specify this ID, you can use it in cases when you need to retry your request. When you need to retry, this ID lets the server
4388
- * know that it can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request. For example, consider a
4389
- * situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original
4390
- * operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a
4391
- * valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
4412
+ * Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already
4413
+ * been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you
4414
+ * make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was
4415
+ * received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID,
4416
+ * with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
4392
4417
  */
4393
4418
  requestId?:
4394
4419
  string;
@@ -4437,11 +4462,11 @@ declare namespace gapi.client {
4437
4462
  quotaUser?:
4438
4463
  string;
4439
4464
  /**
4440
- * Optional. A unique request ID (optional). If you specify this ID, you can use it in cases when you need to retry your request. When you need to retry, this ID lets the server
4441
- * know that it can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request. For example, consider a
4442
- * situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original
4443
- * operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a
4444
- * valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
4465
+ * Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already
4466
+ * been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you
4467
+ * make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was
4468
+ * received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID,
4469
+ * with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
4445
4470
  */
4446
4471
  requestId?:
4447
4472
  string;
@@ -4489,11 +4514,11 @@ declare namespace gapi.client {
4489
4514
  quotaUser?:
4490
4515
  string;
4491
4516
  /**
4492
- * Optional. A unique request ID (optional). If you specify this ID, you can use it in cases when you need to retry your request. When you need to retry, this ID lets the server
4493
- * know that it can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request. For example, consider a
4494
- * situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original
4495
- * operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a
4496
- * valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
4517
+ * Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already
4518
+ * been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you
4519
+ * make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was
4520
+ * received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID,
4521
+ * with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
4497
4522
  */
4498
4523
  requestId?:
4499
4524
  string;
@@ -4678,11 +4703,11 @@ declare namespace gapi.client {
4678
4703
  quotaUser?:
4679
4704
  string;
4680
4705
  /**
4681
- * Optional. A unique request ID (optional). If you specify this ID, you can use it in cases when you need to retry your request. When you need to retry, this ID lets the server
4682
- * know that it can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request. For example, consider a
4683
- * situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original
4684
- * operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a
4685
- * valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
4706
+ * Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already
4707
+ * been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you
4708
+ * make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was
4709
+ * received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID,
4710
+ * with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
4686
4711
  */
4687
4712
  requestId?:
4688
4713
  string;
@@ -4734,11 +4759,11 @@ declare namespace gapi.client {
4734
4759
  quotaUser?:
4735
4760
  string;
4736
4761
  /**
4737
- * Optional. A unique request ID (optional). If you specify this ID, you can use it in cases when you need to retry your request. When you need to retry, this ID lets the server
4738
- * know that it can ignore the request if it has already been completed. The server guarantees that for at least 60 minutes after the first request. For example, consider a
4739
- * situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original
4740
- * operation was received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a
4741
- * valid UUID, with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
4762
+ * Optional. A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already
4763
+ * been completed. The server guarantees that a request doesn't result in creation of duplicate commitments for at least 60 minutes. For example, consider a situation where you
4764
+ * make an initial request and the request times out. If you make the request again with the same request ID, the server can check to see whether the original operation was
4765
+ * received. If it was, the server ignores the second request. This behavior prevents clients from mistakenly creating duplicate commitments. The request ID must be a valid UUID,
4766
+ * with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
4742
4767
  */
4743
4768
  requestId?:
4744
4769
  string;
@@ -4756,7 +4781,10 @@ declare namespace gapi.client {
4756
4781
  string;
4757
4782
  },
4758
4783
  body: Spoke): Request<GoogleLongrunningOperation>;
4759
- /** Does one of the following: * Rejects a proposal to attach a Network Connectivity Center spoke to the hub. * Rejects and removes a previously attached spoke from the hub. */
4784
+ /**
4785
+ * Rejects a Network Connectivity Center spoke from being attached to the hub. If the spoke was previously in the `ACTIVE` state, it transitions to the `INACTIVE` state and is no
4786
+ * longer able to connect to other spokes that are attached to the hub.
4787
+ */
4760
4788
  reject(request: {
4761
4789
  /** V1 error format. */
4762
4790
  "$.xgafv"?:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.networkconnectivity-v1",
3
- "version": "0.0.20230705",
3
+ "version": "0.0.20230721",
4
4
  "description": "TypeScript typings for Network Connectivity API v1",
5
5
  "license": "MIT",
6
6
  "author": {
package/tests.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
4
4
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
5
5
 
6
- // Revision: 20230705
6
+ // Revision: 20230721
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -481,9 +481,6 @@ gapi.load('client', async () => {
481
481
  },
482
482
  name: "Test string",
483
483
  serviceClass: "Test string",
484
- serviceConnectionMaps: [
485
- "Test string"
486
- ],
487
484
  updateTime: "Test string",
488
485
  });
489
486
  /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
@@ -559,6 +556,13 @@ gapi.load('client', async () => {
559
556
  ],
560
557
  message: "Test string",
561
558
  },
559
+ errorInfo: {
560
+ domain: "Test string",
561
+ metadata: {
562
+ A: "Test string"
563
+ },
564
+ reason: "Test string",
565
+ },
562
566
  errorType: "Test string",
563
567
  forwardingRule: "Test string",
564
568
  gceOperation: "Test string",
@@ -636,6 +640,13 @@ gapi.load('client', async () => {
636
640
  ],
637
641
  message: "Test string",
638
642
  },
643
+ errorInfo: {
644
+ domain: "Test string",
645
+ metadata: {
646
+ A: "Test string"
647
+ },
648
+ reason: "Test string",
649
+ },
639
650
  errorType: "Test string",
640
651
  forwardingRule: "Test string",
641
652
  gceOperation: "Test string",
@@ -748,6 +759,13 @@ gapi.load('client', async () => {
748
759
  ],
749
760
  message: "Test string",
750
761
  },
762
+ errorInfo: {
763
+ domain: "Test string",
764
+ metadata: {
765
+ A: "Test string"
766
+ },
767
+ reason: "Test string",
768
+ },
751
769
  errorType: "Test string",
752
770
  gceOperation: "Test string",
753
771
  pscConnectionId: "Test string",
@@ -815,6 +833,13 @@ gapi.load('client', async () => {
815
833
  ],
816
834
  message: "Test string",
817
835
  },
836
+ errorInfo: {
837
+ domain: "Test string",
838
+ metadata: {
839
+ A: "Test string"
840
+ },
841
+ reason: "Test string",
842
+ },
818
843
  errorType: "Test string",
819
844
  gceOperation: "Test string",
820
845
  pscConnectionId: "Test string",
@@ -1046,7 +1071,10 @@ gapi.load('client', async () => {
1046
1071
  uniqueId: "Test string",
1047
1072
  updateTime: "Test string",
1048
1073
  });
1049
- /** Does one of the following: * Rejects a proposal to attach a Network Connectivity Center spoke to the hub. * Rejects and removes a previously attached spoke from the hub. */
1074
+ /**
1075
+ * Rejects a Network Connectivity Center spoke from being attached to the hub. If the spoke was previously in the `ACTIVE` state, it transitions to the `INACTIVE` state and is no longer
1076
+ * able to connect to other spokes that are attached to the hub.
1077
+ */
1050
1078
  await gapi.client.networkconnectivity.projects.locations.spokes.reject({
1051
1079
  name: "Test string",
1052
1080
  }, {