@maxim_mazurok/gapi.client.certificatemanager-v1 0.0.20250108 → 0.0.20250203

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 +22 -16
  2. package/package.json +1 -1
  3. package/readme.md +2 -2
package/index.d.ts CHANGED
@@ -9,14 +9,14 @@
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://certificatemanager.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20250108
12
+ // Revision: 20250203
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
16
16
  declare namespace gapi.client {
17
17
  /** Load Certificate Manager API v1 */
18
18
  function load(
19
- urlOrObject: 'https://certificatemanager.googleapis.com/$discovery/rest?version=v1'
19
+ urlOrObject: 'https://certificatemanager.googleapis.com/$discovery/rest?version=v1',
20
20
  ): Promise<void>;
21
21
  /** @deprecated Please load APIs with discovery documents. */
22
22
  function load(name: 'certificatemanager', version: 'v1'): Promise<void>;
@@ -24,7 +24,7 @@ declare namespace gapi.client {
24
24
  function load(
25
25
  name: 'certificatemanager',
26
26
  version: 'v1',
27
- callback: () => any
27
+ callback: () => any,
28
28
  ): void;
29
29
 
30
30
  namespace certificatemanager {
@@ -66,6 +66,8 @@ declare namespace gapi.client {
66
66
  selfManaged?: SelfManagedCertificate;
67
67
  /** Output only. The last update timestamp of a Certificate. */
68
68
  updateTime?: string;
69
+ /** Output only. The list of resources that use this Certificate. */
70
+ usedBy?: UsedBy[];
69
71
  }
70
72
  interface CertificateAuthorityConfig {
71
73
  /** Defines a CertificateAuthorityServiceConfig. */
@@ -336,6 +338,10 @@ declare namespace gapi.client {
336
338
  /** Optional. List of Trust Anchors to be used while performing validation against a given TrustStore. */
337
339
  trustAnchors?: TrustAnchor[];
338
340
  }
341
+ interface UsedBy {
342
+ /** Output only. Full name of the resource https://google.aip.dev/122#full-resource-names, e.g. `//certificatemanager.googleapis.com/projects/*‍/locations/*‍/certificateMaps/*‍/certificateMapEntries/*` or `//compute.googleapis.com/projects/*‍/locations/*‍/targetHttpsProxies/*`. */
343
+ name?: string;
344
+ }
339
345
  interface CertificateIssuanceConfigsResource {
340
346
  /** Creates a new CertificateIssuanceConfig in a given project and location. */
341
347
  create(request: {
@@ -397,7 +403,7 @@ declare namespace gapi.client {
397
403
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
398
404
  uploadType?: string;
399
405
  },
400
- body: CertificateIssuanceConfig
406
+ body: CertificateIssuanceConfig,
401
407
  ): Request<Operation>;
402
408
  /** Deletes a single CertificateIssuanceConfig. */
403
409
  delete(request?: {
@@ -548,7 +554,7 @@ declare namespace gapi.client {
548
554
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
549
555
  uploadType?: string;
550
556
  },
551
- body: CertificateIssuanceConfig
557
+ body: CertificateIssuanceConfig,
552
558
  ): Request<Operation>;
553
559
  }
554
560
  interface CertificateMapEntriesResource {
@@ -612,7 +618,7 @@ declare namespace gapi.client {
612
618
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
613
619
  uploadType?: string;
614
620
  },
615
- body: CertificateMapEntry
621
+ body: CertificateMapEntry,
616
622
  ): Request<Operation>;
617
623
  /** Deletes a single CertificateMapEntry. */
618
624
  delete(request?: {
@@ -763,7 +769,7 @@ declare namespace gapi.client {
763
769
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
764
770
  uploadType?: string;
765
771
  },
766
- body: CertificateMapEntry
772
+ body: CertificateMapEntry,
767
773
  ): Request<Operation>;
768
774
  }
769
775
  interface CertificateMapsResource {
@@ -827,7 +833,7 @@ declare namespace gapi.client {
827
833
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
828
834
  uploadType?: string;
829
835
  },
830
- body: CertificateMap
836
+ body: CertificateMap,
831
837
  ): Request<Operation>;
832
838
  /** Deletes a single CertificateMap. A Certificate Map can't be deleted if it contains Certificate Map Entries. Remove all the entries from the map before calling this method. */
833
839
  delete(request?: {
@@ -978,7 +984,7 @@ declare namespace gapi.client {
978
984
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
979
985
  uploadType?: string;
980
986
  },
981
- body: CertificateMap
987
+ body: CertificateMap,
982
988
  ): Request<Operation>;
983
989
  certificateMapEntries: CertificateMapEntriesResource;
984
990
  }
@@ -1043,7 +1049,7 @@ declare namespace gapi.client {
1043
1049
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1044
1050
  uploadType?: string;
1045
1051
  },
1046
- body: Certificate
1052
+ body: Certificate,
1047
1053
  ): Request<Operation>;
1048
1054
  /** Deletes a single Certificate. */
1049
1055
  delete(request?: {
@@ -1194,7 +1200,7 @@ declare namespace gapi.client {
1194
1200
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1195
1201
  uploadType?: string;
1196
1202
  },
1197
- body: Certificate
1203
+ body: Certificate,
1198
1204
  ): Request<Operation>;
1199
1205
  }
1200
1206
  interface DnsAuthorizationsResource {
@@ -1258,7 +1264,7 @@ declare namespace gapi.client {
1258
1264
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1259
1265
  uploadType?: string;
1260
1266
  },
1261
- body: DnsAuthorization
1267
+ body: DnsAuthorization,
1262
1268
  ): Request<Operation>;
1263
1269
  /** Deletes a single DnsAuthorization. */
1264
1270
  delete(request?: {
@@ -1409,7 +1415,7 @@ declare namespace gapi.client {
1409
1415
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1410
1416
  uploadType?: string;
1411
1417
  },
1412
- body: DnsAuthorization
1418
+ body: DnsAuthorization,
1413
1419
  ): Request<Operation>;
1414
1420
  }
1415
1421
  interface OperationsResource {
@@ -1469,7 +1475,7 @@ declare namespace gapi.client {
1469
1475
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1470
1476
  uploadType?: string;
1471
1477
  },
1472
- body: CancelOperationRequest
1478
+ body: CancelOperationRequest,
1473
1479
  ): Request<{}>;
1474
1480
  /** 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`. */
1475
1481
  delete(request?: {
@@ -1620,7 +1626,7 @@ declare namespace gapi.client {
1620
1626
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1621
1627
  uploadType?: string;
1622
1628
  },
1623
- body: TrustConfig
1629
+ body: TrustConfig,
1624
1630
  ): Request<Operation>;
1625
1631
  /** Deletes a single TrustConfig. */
1626
1632
  delete(request?: {
@@ -1773,7 +1779,7 @@ declare namespace gapi.client {
1773
1779
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1774
1780
  uploadType?: string;
1775
1781
  },
1776
- body: TrustConfig
1782
+ body: TrustConfig,
1777
1783
  ): Request<Operation>;
1778
1784
  }
1779
1785
  interface LocationsResource {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.certificatemanager-v1",
3
- "version": "0.0.20250108",
3
+ "version": "0.0.20250203",
4
4
  "description": "TypeScript typings for Certificate Manager API v1",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -29,7 +29,7 @@ gapi.client.load(
29
29
  () => {
30
30
  // now we can use:
31
31
  // gapi.client.certificatemanager
32
- }
32
+ },
33
33
  );
34
34
  ```
35
35
 
@@ -61,7 +61,7 @@ gapi.auth.authorize(
61
61
  } else {
62
62
  /* handle authorization error */
63
63
  }
64
- }
64
+ },
65
65
  );
66
66
  ```
67
67