@maxim_mazurok/gapi.client.privateca-v1 0.0.20230726 → 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.
- package/index.d.ts +12 -5
- package/package.json +2 -2
- 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:
|
|
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;
|
|
@@ -746,9 +753,9 @@ declare namespace gapi.client {
|
|
|
746
753
|
name?:
|
|
747
754
|
string;
|
|
748
755
|
/**
|
|
749
|
-
* The normal response of the operation
|
|
750
|
-
*
|
|
751
|
-
*
|
|
756
|
+
* 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
|
|
757
|
+
* 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
|
|
758
|
+
* method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
|
|
752
759
|
*/
|
|
753
760
|
response?:
|
|
754
761
|
{ [P in string]: any };
|
|
@@ -961,7 +968,7 @@ declare namespace gapi.client {
|
|
|
961
968
|
string[];
|
|
962
969
|
}
|
|
963
970
|
interface SubjectConfig {
|
|
964
|
-
/**
|
|
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.
|
|
3
|
+
"version": "0.0.20230816",
|
|
4
4
|
"description": "TypeScript typings for Certificate Authority API v1",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -15,6 +15,6 @@
|
|
|
15
15
|
"types": "index.d.ts",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@types/gapi.client": "*",
|
|
18
|
-
"@types/gapi.client.discovery": "*"
|
|
18
|
+
"@types/gapi.client.discovery-v1": "*"
|
|
19
19
|
}
|
|
20
20
|
}
|
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:
|
|
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: [
|