@maxim_mazurok/gapi.client.privateca-v1 0.0.20230809 → 0.0.20230816

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 +9 -2
  2. package/package.json +1 -1
  3. package/tests.ts +3 -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: 20230809
12
+ // Revision: 20230816
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -374,6 +374,13 @@ declare namespace gapi.client {
374
374
  /** Optional. Labels with user-defined metadata. */
375
375
  labels?:
376
376
  { [P in string]: string };
377
+ /**
378
+ * Optional. The maximum lifetime allowed for issued Certificates that use this template. If the issuing CaPool's IssuancePolicy specifies a maximum_lifetime the minimum of the two
379
+ * durations will be the maximum lifetime for issued Certificates. Note that if the issuing CertificateAuthority expires before a Certificate's requested maximum_lifetime, the
380
+ * effective lifetime will be explicitly truncated to match it.
381
+ */
382
+ maximumLifetime?:
383
+ string;
377
384
  /** Output only. The resource name for this CertificateTemplate in the format `projects/*‍/locations/*‍/certificateTemplates/*`. */
378
385
  name?:
379
386
  string;
@@ -961,7 +968,7 @@ declare namespace gapi.client {
961
968
  string[];
962
969
  }
963
970
  interface SubjectConfig {
964
- /** Required. Contains distinguished name fields such as the common name, location and organization. */
971
+ /** Optional. Contains distinguished name fields such as the common name, location and organization. */
965
972
  subject?:
966
973
  Subject;
967
974
  /** Optional. The subject alternative name fields. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.privateca-v1",
3
- "version": "0.0.20230809",
3
+ "version": "0.0.20230816",
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: 20230809
6
+ // Revision: 20230816
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -1805,6 +1805,7 @@ gapi.load('client', async () => {
1805
1805
  labels: {
1806
1806
  A: "Test string"
1807
1807
  },
1808
+ maximumLifetime: "Test string",
1808
1809
  name: "Test string",
1809
1810
  passthroughExtensions: {
1810
1811
  additionalExtensions: [
@@ -1945,6 +1946,7 @@ gapi.load('client', async () => {
1945
1946
  labels: {
1946
1947
  A: "Test string"
1947
1948
  },
1949
+ maximumLifetime: "Test string",
1948
1950
  name: "Test string",
1949
1951
  passthroughExtensions: {
1950
1952
  additionalExtensions: [