@maxim_mazurok/gapi.client.privateca-v1 0.0.20230202 → 0.0.20230222

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 +66 -26
  2. package/package.json +1 -1
  3. package/tests.ts +325 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://privateca.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20230202
12
+ // Revision: 20230222
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -33,7 +33,7 @@ declare namespace gapi.client {
33
33
  pemCaCertificate?: string;
34
34
  /**
35
35
  * Optional. An 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
36
- * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times
36
+ * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times
37
37
  * out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second
38
38
  * request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported
39
39
  * (00000000-0000-0000-0000-000000000000).
@@ -311,7 +311,7 @@ declare namespace gapi.client {
311
311
  interface DisableCertificateAuthorityRequest {
312
312
  /**
313
313
  * Optional. An 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
314
- * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times
314
+ * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times
315
315
  * out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second
316
316
  * request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported
317
317
  * (00000000-0000-0000-0000-000000000000).
@@ -328,7 +328,7 @@ declare namespace gapi.client {
328
328
  interface EnableCertificateAuthorityRequest {
329
329
  /**
330
330
  * Optional. An 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
331
- * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times
331
+ * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times
332
332
  * out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second
333
333
  * request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported
334
334
  * (00000000-0000-0000-0000-000000000000).
@@ -362,7 +362,7 @@ declare namespace gapi.client {
362
362
  interface FetchCaCertsRequest {
363
363
  /**
364
364
  * Optional. An 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
365
- * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times
365
+ * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times
366
366
  * out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second
367
367
  * request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported
368
368
  * (00000000-0000-0000-0000-000000000000).
@@ -517,6 +517,44 @@ declare namespace gapi.client {
517
517
  /** Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"` */
518
518
  name?: string;
519
519
  }
520
+ interface NameConstraints {
521
+ /** Indicates whether or not the name constraints are marked critical. */
522
+ critical?: boolean;
523
+ /**
524
+ * Contains excluded DNS names. Any DNS name that can be constructed by simply adding zero or more labels to the left-hand side of the name satisfies the name constraint. For example,
525
+ * `example.com`, `www.example.com`, `www.sub.example.com` would satisfy `example.com` while `example1.com` does not.
526
+ */
527
+ excludedDnsNames?: string[];
528
+ /**
529
+ * Contains the excluded email addresses. The value can be a particular email address, a hostname to indicate all email addresses on that host or a domain with a leading period (e.g.
530
+ * `.example.com`) to indicate all email addresses in that domain.
531
+ */
532
+ excludedEmailAddresses?: string[];
533
+ /**
534
+ * Contains the excluded IP ranges. For IPv4 addresses, the ranges are expressed using CIDR notation as specified in RFC 4632. For IPv6 addresses, the ranges are expressed in similar
535
+ * encoding as IPv4 addresses.
536
+ */
537
+ excludedIpRanges?: string[];
538
+ /** Contains the excluded URIs that apply to the host part of the name. The value can be a hostname or a domain with a leading period (like `.example.com`) */
539
+ excludedUris?: string[];
540
+ /**
541
+ * Contains permitted DNS names. Any DNS name that can be constructed by simply adding zero or more labels to the left-hand side of the name satisfies the name constraint. For example,
542
+ * `example.com`, `www.example.com`, `www.sub.example.com` would satisfy `example.com` while `example1.com` does not.
543
+ */
544
+ permittedDnsNames?: string[];
545
+ /**
546
+ * Contains the permitted email addresses. The value can be a particular email address, a hostname to indicate all email addresses on that host or a domain with a leading period (e.g.
547
+ * `.example.com`) to indicate all email addresses in that domain.
548
+ */
549
+ permittedEmailAddresses?: string[];
550
+ /**
551
+ * Contains the permitted IP ranges. For IPv4 addresses, the ranges are expressed using CIDR notation as specified in RFC 4632. For IPv6 addresses, the ranges are expressed in similar
552
+ * encoding as IPv4 addresses.
553
+ */
554
+ permittedIpRanges?: string[];
555
+ /** Contains the permitted URIs that apply to the host part of the name. The value can be a hostname or a domain with a leading period (like `.example.com`) */
556
+ permittedUris?: string[];
557
+ }
520
558
  interface ObjectId {
521
559
  /** Required. The parts of an OID path. The most significant parts of the path come first. */
522
560
  objectIdPath?: number[];
@@ -626,7 +664,7 @@ declare namespace gapi.client {
626
664
  reason?: string;
627
665
  /**
628
666
  * Optional. An 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
629
- * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times
667
+ * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times
630
668
  * out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second
631
669
  * request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported
632
670
  * (00000000-0000-0000-0000-000000000000).
@@ -753,7 +791,7 @@ declare namespace gapi.client {
753
791
  interface UndeleteCertificateAuthorityRequest {
754
792
  /**
755
793
  * Optional. An 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
756
- * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request times
794
+ * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times
757
795
  * out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second
758
796
  * request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported
759
797
  * (00000000-0000-0000-0000-000000000000).
@@ -777,6 +815,8 @@ declare namespace gapi.client {
777
815
  caOptions?: CaOptions;
778
816
  /** Optional. Indicates the intended use for keys that correspond to a certificate. */
779
817
  keyUsage?: KeyUsage;
818
+ /** Optional. Describes the X.509 name constraints extension. */
819
+ nameConstraints?: NameConstraints;
780
820
  /** Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4. */
781
821
  policyIds?: ObjectId[];
782
822
  }
@@ -908,7 +948,7 @@ declare namespace gapi.client {
908
948
  quotaUser?: string;
909
949
  /**
910
950
  * Optional. An 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
911
- * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request
951
+ * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request
912
952
  * times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the
913
953
  * second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported
914
954
  * (00000000-0000-0000-0000-000000000000).
@@ -946,7 +986,7 @@ declare namespace gapi.client {
946
986
  quotaUser?: string;
947
987
  /**
948
988
  * Optional. An 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
949
- * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request
989
+ * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request
950
990
  * times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the
951
991
  * second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported
952
992
  * (00000000-0000-0000-0000-000000000000).
@@ -1112,7 +1152,7 @@ declare namespace gapi.client {
1112
1152
  quotaUser?: string;
1113
1153
  /**
1114
1154
  * Optional. An 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
1115
- * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request
1155
+ * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request
1116
1156
  * times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the
1117
1157
  * second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported
1118
1158
  * (00000000-0000-0000-0000-000000000000).
@@ -1150,7 +1190,7 @@ declare namespace gapi.client {
1150
1190
  quotaUser?: string;
1151
1191
  /**
1152
1192
  * Optional. An 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
1153
- * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request
1193
+ * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request
1154
1194
  * times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the
1155
1195
  * second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported
1156
1196
  * (00000000-0000-0000-0000-000000000000).
@@ -1188,7 +1228,7 @@ declare namespace gapi.client {
1188
1228
  quotaUser?: string;
1189
1229
  /**
1190
1230
  * Optional. An 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
1191
- * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request
1231
+ * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request
1192
1232
  * times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the
1193
1233
  * second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported
1194
1234
  * (00000000-0000-0000-0000-000000000000).
@@ -1435,7 +1475,7 @@ declare namespace gapi.client {
1435
1475
  quotaUser?: string;
1436
1476
  /**
1437
1477
  * Optional. An 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
1438
- * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request
1478
+ * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request
1439
1479
  * times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the
1440
1480
  * second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported
1441
1481
  * (00000000-0000-0000-0000-000000000000).
@@ -1473,7 +1513,7 @@ declare namespace gapi.client {
1473
1513
  quotaUser?: string;
1474
1514
  /**
1475
1515
  * Optional. An 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
1476
- * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request
1516
+ * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request
1477
1517
  * times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the
1478
1518
  * second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported
1479
1519
  * (00000000-0000-0000-0000-000000000000).
@@ -1743,7 +1783,7 @@ declare namespace gapi.client {
1743
1783
  quotaUser?: string;
1744
1784
  /**
1745
1785
  * Optional. An 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
1746
- * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request
1786
+ * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request
1747
1787
  * times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the
1748
1788
  * second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported
1749
1789
  * (00000000-0000-0000-0000-000000000000).
@@ -1781,7 +1821,7 @@ declare namespace gapi.client {
1781
1821
  quotaUser?: string;
1782
1822
  /**
1783
1823
  * Optional. An 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
1784
- * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request
1824
+ * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request
1785
1825
  * times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the
1786
1826
  * second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported
1787
1827
  * (00000000-0000-0000-0000-000000000000).
@@ -1879,7 +1919,7 @@ declare namespace gapi.client {
1879
1919
  quotaUser?: string;
1880
1920
  /**
1881
1921
  * Optional. An 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
1882
- * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request
1922
+ * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request
1883
1923
  * times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the
1884
1924
  * second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported
1885
1925
  * (00000000-0000-0000-0000-000000000000).
@@ -1917,7 +1957,7 @@ declare namespace gapi.client {
1917
1957
  quotaUser?: string;
1918
1958
  /**
1919
1959
  * Optional. An 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
1920
- * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request
1960
+ * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request
1921
1961
  * times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the
1922
1962
  * second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported
1923
1963
  * (00000000-0000-0000-0000-000000000000).
@@ -1953,7 +1993,7 @@ declare namespace gapi.client {
1953
1993
  quotaUser?: string;
1954
1994
  /**
1955
1995
  * Optional. An 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
1956
- * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request
1996
+ * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request
1957
1997
  * times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the
1958
1998
  * second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported
1959
1999
  * (00000000-0000-0000-0000-000000000000).
@@ -2147,7 +2187,7 @@ declare namespace gapi.client {
2147
2187
  quotaUser?: string;
2148
2188
  /**
2149
2189
  * Optional. An 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
2150
- * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request
2190
+ * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request
2151
2191
  * times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the
2152
2192
  * second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported
2153
2193
  * (00000000-0000-0000-0000-000000000000).
@@ -2185,7 +2225,7 @@ declare namespace gapi.client {
2185
2225
  quotaUser?: string;
2186
2226
  /**
2187
2227
  * Optional. An 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
2188
- * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request
2228
+ * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request
2189
2229
  * times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the
2190
2230
  * second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported
2191
2231
  * (00000000-0000-0000-0000-000000000000).
@@ -2294,7 +2334,7 @@ declare namespace gapi.client {
2294
2334
  quotaUser?: string;
2295
2335
  /**
2296
2336
  * Optional. An 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
2297
- * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request
2337
+ * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request
2298
2338
  * times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the
2299
2339
  * second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported
2300
2340
  * (00000000-0000-0000-0000-000000000000).
@@ -2332,7 +2372,7 @@ declare namespace gapi.client {
2332
2372
  quotaUser?: string;
2333
2373
  /**
2334
2374
  * Optional. An 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
2335
- * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request
2375
+ * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request
2336
2376
  * times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the
2337
2377
  * second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported
2338
2378
  * (00000000-0000-0000-0000-000000000000).
@@ -2368,7 +2408,7 @@ declare namespace gapi.client {
2368
2408
  quotaUser?: string;
2369
2409
  /**
2370
2410
  * Optional. An 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
2371
- * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request
2411
+ * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request
2372
2412
  * times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the
2373
2413
  * second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported
2374
2414
  * (00000000-0000-0000-0000-000000000000).
@@ -2506,7 +2546,7 @@ declare namespace gapi.client {
2506
2546
  quotaUser?: string;
2507
2547
  /**
2508
2548
  * Optional. An 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
2509
- * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request
2549
+ * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request
2510
2550
  * times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the
2511
2551
  * second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported
2512
2552
  * (00000000-0000-0000-0000-000000000000).
@@ -2544,7 +2584,7 @@ declare namespace gapi.client {
2544
2584
  quotaUser?: string;
2545
2585
  /**
2546
2586
  * Optional. An 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
2547
- * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he request
2587
+ * completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request
2548
2588
  * times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the
2549
2589
  * second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported
2550
2590
  * (00000000-0000-0000-0000-000000000000).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.privateca-v1",
3
- "version": "0.0.20230202",
3
+ "version": "0.0.20230222",
4
4
  "description": "TypeScript typings for Certificate Authority 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: 20230202
6
+ // Revision: 20230222
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -109,6 +109,33 @@ gapi.load('client', async () => {
109
109
  }
110
110
  ],
111
111
  },
112
+ nameConstraints: {
113
+ critical: true,
114
+ excludedDnsNames: [
115
+ "Test string"
116
+ ],
117
+ excludedEmailAddresses: [
118
+ "Test string"
119
+ ],
120
+ excludedIpRanges: [
121
+ "Test string"
122
+ ],
123
+ excludedUris: [
124
+ "Test string"
125
+ ],
126
+ permittedDnsNames: [
127
+ "Test string"
128
+ ],
129
+ permittedEmailAddresses: [
130
+ "Test string"
131
+ ],
132
+ permittedIpRanges: [
133
+ "Test string"
134
+ ],
135
+ permittedUris: [
136
+ "Test string"
137
+ ],
138
+ },
112
139
  policyIds: [
113
140
  {
114
141
  objectIdPath: [
@@ -248,6 +275,33 @@ gapi.load('client', async () => {
248
275
  }
249
276
  ],
250
277
  },
278
+ nameConstraints: {
279
+ critical: true,
280
+ excludedDnsNames: [
281
+ "Test string"
282
+ ],
283
+ excludedEmailAddresses: [
284
+ "Test string"
285
+ ],
286
+ excludedIpRanges: [
287
+ "Test string"
288
+ ],
289
+ excludedUris: [
290
+ "Test string"
291
+ ],
292
+ permittedDnsNames: [
293
+ "Test string"
294
+ ],
295
+ permittedEmailAddresses: [
296
+ "Test string"
297
+ ],
298
+ permittedIpRanges: [
299
+ "Test string"
300
+ ],
301
+ permittedUris: [
302
+ "Test string"
303
+ ],
304
+ },
251
305
  policyIds: [
252
306
  {
253
307
  objectIdPath: [
@@ -477,6 +531,33 @@ gapi.load('client', async () => {
477
531
  }
478
532
  ],
479
533
  },
534
+ nameConstraints: {
535
+ critical: true,
536
+ excludedDnsNames: [
537
+ "Test string"
538
+ ],
539
+ excludedEmailAddresses: [
540
+ "Test string"
541
+ ],
542
+ excludedIpRanges: [
543
+ "Test string"
544
+ ],
545
+ excludedUris: [
546
+ "Test string"
547
+ ],
548
+ permittedDnsNames: [
549
+ "Test string"
550
+ ],
551
+ permittedEmailAddresses: [
552
+ "Test string"
553
+ ],
554
+ permittedIpRanges: [
555
+ "Test string"
556
+ ],
557
+ permittedUris: [
558
+ "Test string"
559
+ ],
560
+ },
480
561
  policyIds: [
481
562
  {
482
563
  objectIdPath: [
@@ -576,6 +657,33 @@ gapi.load('client', async () => {
576
657
  }
577
658
  ],
578
659
  },
660
+ nameConstraints: {
661
+ critical: true,
662
+ excludedDnsNames: [
663
+ "Test string"
664
+ ],
665
+ excludedEmailAddresses: [
666
+ "Test string"
667
+ ],
668
+ excludedIpRanges: [
669
+ "Test string"
670
+ ],
671
+ excludedUris: [
672
+ "Test string"
673
+ ],
674
+ permittedDnsNames: [
675
+ "Test string"
676
+ ],
677
+ permittedEmailAddresses: [
678
+ "Test string"
679
+ ],
680
+ permittedIpRanges: [
681
+ "Test string"
682
+ ],
683
+ permittedUris: [
684
+ "Test string"
685
+ ],
686
+ },
579
687
  policyIds: [
580
688
  {
581
689
  objectIdPath: [
@@ -773,6 +881,33 @@ gapi.load('client', async () => {
773
881
  }
774
882
  ],
775
883
  },
884
+ nameConstraints: {
885
+ critical: true,
886
+ excludedDnsNames: [
887
+ "Test string"
888
+ ],
889
+ excludedEmailAddresses: [
890
+ "Test string"
891
+ ],
892
+ excludedIpRanges: [
893
+ "Test string"
894
+ ],
895
+ excludedUris: [
896
+ "Test string"
897
+ ],
898
+ permittedDnsNames: [
899
+ "Test string"
900
+ ],
901
+ permittedEmailAddresses: [
902
+ "Test string"
903
+ ],
904
+ permittedIpRanges: [
905
+ "Test string"
906
+ ],
907
+ permittedUris: [
908
+ "Test string"
909
+ ],
910
+ },
776
911
  policyIds: [
777
912
  {
778
913
  objectIdPath: [
@@ -872,6 +1007,33 @@ gapi.load('client', async () => {
872
1007
  }
873
1008
  ],
874
1009
  },
1010
+ nameConstraints: {
1011
+ critical: true,
1012
+ excludedDnsNames: [
1013
+ "Test string"
1014
+ ],
1015
+ excludedEmailAddresses: [
1016
+ "Test string"
1017
+ ],
1018
+ excludedIpRanges: [
1019
+ "Test string"
1020
+ ],
1021
+ excludedUris: [
1022
+ "Test string"
1023
+ ],
1024
+ permittedDnsNames: [
1025
+ "Test string"
1026
+ ],
1027
+ permittedEmailAddresses: [
1028
+ "Test string"
1029
+ ],
1030
+ permittedIpRanges: [
1031
+ "Test string"
1032
+ ],
1033
+ permittedUris: [
1034
+ "Test string"
1035
+ ],
1036
+ },
875
1037
  policyIds: [
876
1038
  {
877
1039
  objectIdPath: [
@@ -1122,6 +1284,33 @@ gapi.load('client', async () => {
1122
1284
  }
1123
1285
  ],
1124
1286
  },
1287
+ nameConstraints: {
1288
+ critical: true,
1289
+ excludedDnsNames: [
1290
+ "Test string"
1291
+ ],
1292
+ excludedEmailAddresses: [
1293
+ "Test string"
1294
+ ],
1295
+ excludedIpRanges: [
1296
+ "Test string"
1297
+ ],
1298
+ excludedUris: [
1299
+ "Test string"
1300
+ ],
1301
+ permittedDnsNames: [
1302
+ "Test string"
1303
+ ],
1304
+ permittedEmailAddresses: [
1305
+ "Test string"
1306
+ ],
1307
+ permittedIpRanges: [
1308
+ "Test string"
1309
+ ],
1310
+ permittedUris: [
1311
+ "Test string"
1312
+ ],
1313
+ },
1125
1314
  policyIds: [
1126
1315
  {
1127
1316
  objectIdPath: [
@@ -1221,6 +1410,33 @@ gapi.load('client', async () => {
1221
1410
  }
1222
1411
  ],
1223
1412
  },
1413
+ nameConstraints: {
1414
+ critical: true,
1415
+ excludedDnsNames: [
1416
+ "Test string"
1417
+ ],
1418
+ excludedEmailAddresses: [
1419
+ "Test string"
1420
+ ],
1421
+ excludedIpRanges: [
1422
+ "Test string"
1423
+ ],
1424
+ excludedUris: [
1425
+ "Test string"
1426
+ ],
1427
+ permittedDnsNames: [
1428
+ "Test string"
1429
+ ],
1430
+ permittedEmailAddresses: [
1431
+ "Test string"
1432
+ ],
1433
+ permittedIpRanges: [
1434
+ "Test string"
1435
+ ],
1436
+ permittedUris: [
1437
+ "Test string"
1438
+ ],
1439
+ },
1224
1440
  policyIds: [
1225
1441
  {
1226
1442
  objectIdPath: [
@@ -1375,6 +1591,33 @@ gapi.load('client', async () => {
1375
1591
  }
1376
1592
  ],
1377
1593
  },
1594
+ nameConstraints: {
1595
+ critical: true,
1596
+ excludedDnsNames: [
1597
+ "Test string"
1598
+ ],
1599
+ excludedEmailAddresses: [
1600
+ "Test string"
1601
+ ],
1602
+ excludedIpRanges: [
1603
+ "Test string"
1604
+ ],
1605
+ excludedUris: [
1606
+ "Test string"
1607
+ ],
1608
+ permittedDnsNames: [
1609
+ "Test string"
1610
+ ],
1611
+ permittedEmailAddresses: [
1612
+ "Test string"
1613
+ ],
1614
+ permittedIpRanges: [
1615
+ "Test string"
1616
+ ],
1617
+ permittedUris: [
1618
+ "Test string"
1619
+ ],
1620
+ },
1378
1621
  policyIds: [
1379
1622
  {
1380
1623
  objectIdPath: [
@@ -1474,6 +1717,33 @@ gapi.load('client', async () => {
1474
1717
  }
1475
1718
  ],
1476
1719
  },
1720
+ nameConstraints: {
1721
+ critical: true,
1722
+ excludedDnsNames: [
1723
+ "Test string"
1724
+ ],
1725
+ excludedEmailAddresses: [
1726
+ "Test string"
1727
+ ],
1728
+ excludedIpRanges: [
1729
+ "Test string"
1730
+ ],
1731
+ excludedUris: [
1732
+ "Test string"
1733
+ ],
1734
+ permittedDnsNames: [
1735
+ "Test string"
1736
+ ],
1737
+ permittedEmailAddresses: [
1738
+ "Test string"
1739
+ ],
1740
+ permittedIpRanges: [
1741
+ "Test string"
1742
+ ],
1743
+ permittedUris: [
1744
+ "Test string"
1745
+ ],
1746
+ },
1477
1747
  policyIds: [
1478
1748
  {
1479
1749
  objectIdPath: [
@@ -1590,6 +1860,33 @@ gapi.load('client', async () => {
1590
1860
  }
1591
1861
  ],
1592
1862
  },
1863
+ nameConstraints: {
1864
+ critical: true,
1865
+ excludedDnsNames: [
1866
+ "Test string"
1867
+ ],
1868
+ excludedEmailAddresses: [
1869
+ "Test string"
1870
+ ],
1871
+ excludedIpRanges: [
1872
+ "Test string"
1873
+ ],
1874
+ excludedUris: [
1875
+ "Test string"
1876
+ ],
1877
+ permittedDnsNames: [
1878
+ "Test string"
1879
+ ],
1880
+ permittedEmailAddresses: [
1881
+ "Test string"
1882
+ ],
1883
+ permittedIpRanges: [
1884
+ "Test string"
1885
+ ],
1886
+ permittedUris: [
1887
+ "Test string"
1888
+ ],
1889
+ },
1593
1890
  policyIds: [
1594
1891
  {
1595
1892
  objectIdPath: [
@@ -1703,6 +2000,33 @@ gapi.load('client', async () => {
1703
2000
  }
1704
2001
  ],
1705
2002
  },
2003
+ nameConstraints: {
2004
+ critical: true,
2005
+ excludedDnsNames: [
2006
+ "Test string"
2007
+ ],
2008
+ excludedEmailAddresses: [
2009
+ "Test string"
2010
+ ],
2011
+ excludedIpRanges: [
2012
+ "Test string"
2013
+ ],
2014
+ excludedUris: [
2015
+ "Test string"
2016
+ ],
2017
+ permittedDnsNames: [
2018
+ "Test string"
2019
+ ],
2020
+ permittedEmailAddresses: [
2021
+ "Test string"
2022
+ ],
2023
+ permittedIpRanges: [
2024
+ "Test string"
2025
+ ],
2026
+ permittedUris: [
2027
+ "Test string"
2028
+ ],
2029
+ },
1706
2030
  policyIds: [
1707
2031
  {
1708
2032
  objectIdPath: [