@maxim_mazurok/gapi.client.certificatemanager-v1 0.0.20231103 → 0.0.20231206
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 +1765 -2624
- package/package.json +6 -6
- package/readme.md +17 -13
- package/tests.ts +0 -466
- package/tsconfig.json +0 -18
- package/tslint.json +0 -6
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maxim_mazurok/gapi.client.certificatemanager-v1",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.20231206",
|
|
4
4
|
"description": "TypeScript typings for Certificate Manager API v1",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://github.com/Maxim-Mazurok/google-api-typings-generator.git"
|
|
8
|
+
},
|
|
5
9
|
"license": "MIT",
|
|
6
10
|
"author": {
|
|
7
|
-
"email": "maxim@mazurok.com",
|
|
8
11
|
"name": "Maxim Mazurok",
|
|
12
|
+
"email": "maxim@mazurok.com",
|
|
9
13
|
"url": "https://maxim.mazurok.com"
|
|
10
14
|
},
|
|
11
|
-
"repository": {
|
|
12
|
-
"type": "git",
|
|
13
|
-
"url": "https://github.com/Maxim-Mazurok/google-api-typings-generator.git"
|
|
14
|
-
},
|
|
15
15
|
"types": "index.d.ts",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@types/gapi.client": "*",
|
package/readme.md
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
# TypeScript typings for Certificate Manager API v1
|
|
2
2
|
|
|
3
|
-
|
|
4
3
|
For detailed description please check [documentation](https://cloud.google.com/certificate-manager).
|
|
5
4
|
|
|
6
5
|
## Installing
|
|
@@ -25,10 +24,13 @@ gapi.load('client', () => {
|
|
|
25
24
|
Then load api client wrapper:
|
|
26
25
|
|
|
27
26
|
```typescript
|
|
28
|
-
gapi.client.load(
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
27
|
+
gapi.client.load(
|
|
28
|
+
'https://certificatemanager.googleapis.com/$discovery/rest?version=v1',
|
|
29
|
+
() => {
|
|
30
|
+
// now we can use:
|
|
31
|
+
// gapi.client.certificatemanager
|
|
32
|
+
}
|
|
33
|
+
);
|
|
32
34
|
```
|
|
33
35
|
|
|
34
36
|
```typescript
|
|
@@ -45,24 +47,26 @@ Don't forget to authenticate your client before sending any request to resources
|
|
|
45
47
|
// declare client_id registered in Google Developers Console
|
|
46
48
|
var client_id = '',
|
|
47
49
|
scope = [
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
// See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
|
51
|
+
'https://www.googleapis.com/auth/cloud-platform',
|
|
52
|
+
],
|
|
53
|
+
immediate = true;
|
|
52
54
|
// ...
|
|
53
55
|
|
|
54
56
|
gapi.auth.authorize(
|
|
55
|
-
{
|
|
57
|
+
{client_id: client_id, scope: scope, immediate: immediate},
|
|
56
58
|
authResult => {
|
|
57
59
|
if (authResult && !authResult.error) {
|
|
58
|
-
|
|
60
|
+
/* handle successful authorization */
|
|
59
61
|
} else {
|
|
60
|
-
|
|
62
|
+
/* handle authorization error */
|
|
61
63
|
}
|
|
62
|
-
}
|
|
64
|
+
}
|
|
65
|
+
);
|
|
63
66
|
```
|
|
64
67
|
|
|
65
68
|
After that you can use Certificate Manager API resources: <!-- TODO: make this work for multiple namespaces -->
|
|
66
69
|
|
|
67
70
|
```typescript
|
|
71
|
+
|
|
68
72
|
```
|
package/tests.ts
DELETED
|
@@ -1,466 +0,0 @@
|
|
|
1
|
-
/* This is stub file for gapi.client.certificatemanager-v1 definition tests */
|
|
2
|
-
// IMPORTANT
|
|
3
|
-
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
|
-
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
|
-
|
|
6
|
-
// Revision: 20231103
|
|
7
|
-
|
|
8
|
-
gapi.load('client', async () => {
|
|
9
|
-
/** now we can use gapi.client */
|
|
10
|
-
|
|
11
|
-
await gapi.client.load('https://certificatemanager.googleapis.com/$discovery/rest?version=v1');
|
|
12
|
-
/** now we can use gapi.client.certificatemanager */
|
|
13
|
-
|
|
14
|
-
/** don't forget to authenticate your client before sending any request to resources: */
|
|
15
|
-
/** declare client_id registered in Google Developers Console */
|
|
16
|
-
const client_id = '<<PUT YOUR CLIENT ID HERE>>';
|
|
17
|
-
const scope = [
|
|
18
|
-
/** See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account. */
|
|
19
|
-
'https://www.googleapis.com/auth/cloud-platform',
|
|
20
|
-
];
|
|
21
|
-
const immediate = false;
|
|
22
|
-
gapi.auth.authorize({ client_id, scope, immediate }, authResult => {
|
|
23
|
-
if (authResult && !authResult.error) {
|
|
24
|
-
/** handle successful authorization */
|
|
25
|
-
run();
|
|
26
|
-
} else {
|
|
27
|
-
/** handle authorization error */
|
|
28
|
-
}
|
|
29
|
-
});
|
|
30
|
-
|
|
31
|
-
async function run() {
|
|
32
|
-
/** Gets information about a location. */
|
|
33
|
-
await gapi.client.certificatemanager.projects.locations.get({
|
|
34
|
-
name: "Test string",
|
|
35
|
-
});
|
|
36
|
-
/** Lists information about the supported locations for this service. */
|
|
37
|
-
await gapi.client.certificatemanager.projects.locations.list({
|
|
38
|
-
filter: "Test string",
|
|
39
|
-
name: "Test string",
|
|
40
|
-
pageSize: 42,
|
|
41
|
-
pageToken: "Test string",
|
|
42
|
-
});
|
|
43
|
-
/** Creates a new CertificateIssuanceConfig in a given project and location. */
|
|
44
|
-
await gapi.client.certificatemanager.projects.locations.certificateIssuanceConfigs.create({
|
|
45
|
-
certificateIssuanceConfigId: "Test string",
|
|
46
|
-
parent: "Test string",
|
|
47
|
-
}, {
|
|
48
|
-
certificateAuthorityConfig: {
|
|
49
|
-
certificateAuthorityServiceConfig: {
|
|
50
|
-
caPool: "Test string",
|
|
51
|
-
},
|
|
52
|
-
},
|
|
53
|
-
createTime: "Test string",
|
|
54
|
-
description: "Test string",
|
|
55
|
-
keyAlgorithm: "Test string",
|
|
56
|
-
labels: {
|
|
57
|
-
A: "Test string"
|
|
58
|
-
},
|
|
59
|
-
lifetime: "Test string",
|
|
60
|
-
name: "Test string",
|
|
61
|
-
rotationWindowPercentage: 42,
|
|
62
|
-
updateTime: "Test string",
|
|
63
|
-
});
|
|
64
|
-
/** Deletes a single CertificateIssuanceConfig. */
|
|
65
|
-
await gapi.client.certificatemanager.projects.locations.certificateIssuanceConfigs.delete({
|
|
66
|
-
name: "Test string",
|
|
67
|
-
});
|
|
68
|
-
/** Gets details of a single CertificateIssuanceConfig. */
|
|
69
|
-
await gapi.client.certificatemanager.projects.locations.certificateIssuanceConfigs.get({
|
|
70
|
-
name: "Test string",
|
|
71
|
-
});
|
|
72
|
-
/** Lists CertificateIssuanceConfigs in a given project and location. */
|
|
73
|
-
await gapi.client.certificatemanager.projects.locations.certificateIssuanceConfigs.list({
|
|
74
|
-
filter: "Test string",
|
|
75
|
-
orderBy: "Test string",
|
|
76
|
-
pageSize: 42,
|
|
77
|
-
pageToken: "Test string",
|
|
78
|
-
parent: "Test string",
|
|
79
|
-
});
|
|
80
|
-
/** Creates a new CertificateMap in a given project and location. */
|
|
81
|
-
await gapi.client.certificatemanager.projects.locations.certificateMaps.create({
|
|
82
|
-
certificateMapId: "Test string",
|
|
83
|
-
parent: "Test string",
|
|
84
|
-
}, {
|
|
85
|
-
createTime: "Test string",
|
|
86
|
-
description: "Test string",
|
|
87
|
-
gclbTargets: [
|
|
88
|
-
{
|
|
89
|
-
ipConfigs: [
|
|
90
|
-
{
|
|
91
|
-
ipAddress: "Test string",
|
|
92
|
-
ports: [
|
|
93
|
-
42
|
|
94
|
-
],
|
|
95
|
-
}
|
|
96
|
-
],
|
|
97
|
-
targetHttpsProxy: "Test string",
|
|
98
|
-
targetSslProxy: "Test string",
|
|
99
|
-
}
|
|
100
|
-
],
|
|
101
|
-
labels: {
|
|
102
|
-
A: "Test string"
|
|
103
|
-
},
|
|
104
|
-
name: "Test string",
|
|
105
|
-
updateTime: "Test string",
|
|
106
|
-
});
|
|
107
|
-
/** 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. */
|
|
108
|
-
await gapi.client.certificatemanager.projects.locations.certificateMaps.delete({
|
|
109
|
-
name: "Test string",
|
|
110
|
-
});
|
|
111
|
-
/** Gets details of a single CertificateMap. */
|
|
112
|
-
await gapi.client.certificatemanager.projects.locations.certificateMaps.get({
|
|
113
|
-
name: "Test string",
|
|
114
|
-
});
|
|
115
|
-
/** Lists CertificateMaps in a given project and location. */
|
|
116
|
-
await gapi.client.certificatemanager.projects.locations.certificateMaps.list({
|
|
117
|
-
filter: "Test string",
|
|
118
|
-
orderBy: "Test string",
|
|
119
|
-
pageSize: 42,
|
|
120
|
-
pageToken: "Test string",
|
|
121
|
-
parent: "Test string",
|
|
122
|
-
});
|
|
123
|
-
/** Updates a CertificateMap. */
|
|
124
|
-
await gapi.client.certificatemanager.projects.locations.certificateMaps.patch({
|
|
125
|
-
name: "Test string",
|
|
126
|
-
updateMask: "Test string",
|
|
127
|
-
}, {
|
|
128
|
-
createTime: "Test string",
|
|
129
|
-
description: "Test string",
|
|
130
|
-
gclbTargets: [
|
|
131
|
-
{
|
|
132
|
-
ipConfigs: [
|
|
133
|
-
{
|
|
134
|
-
ipAddress: "Test string",
|
|
135
|
-
ports: [
|
|
136
|
-
42
|
|
137
|
-
],
|
|
138
|
-
}
|
|
139
|
-
],
|
|
140
|
-
targetHttpsProxy: "Test string",
|
|
141
|
-
targetSslProxy: "Test string",
|
|
142
|
-
}
|
|
143
|
-
],
|
|
144
|
-
labels: {
|
|
145
|
-
A: "Test string"
|
|
146
|
-
},
|
|
147
|
-
name: "Test string",
|
|
148
|
-
updateTime: "Test string",
|
|
149
|
-
});
|
|
150
|
-
/** Creates a new CertificateMapEntry in a given project and location. */
|
|
151
|
-
await gapi.client.certificatemanager.projects.locations.certificateMaps.certificateMapEntries.create({
|
|
152
|
-
certificateMapEntryId: "Test string",
|
|
153
|
-
parent: "Test string",
|
|
154
|
-
}, {
|
|
155
|
-
certificates: [
|
|
156
|
-
"Test string"
|
|
157
|
-
],
|
|
158
|
-
createTime: "Test string",
|
|
159
|
-
description: "Test string",
|
|
160
|
-
hostname: "Test string",
|
|
161
|
-
labels: {
|
|
162
|
-
A: "Test string"
|
|
163
|
-
},
|
|
164
|
-
matcher: "Test string",
|
|
165
|
-
name: "Test string",
|
|
166
|
-
state: "Test string",
|
|
167
|
-
updateTime: "Test string",
|
|
168
|
-
});
|
|
169
|
-
/** Deletes a single CertificateMapEntry. */
|
|
170
|
-
await gapi.client.certificatemanager.projects.locations.certificateMaps.certificateMapEntries.delete({
|
|
171
|
-
name: "Test string",
|
|
172
|
-
});
|
|
173
|
-
/** Gets details of a single CertificateMapEntry. */
|
|
174
|
-
await gapi.client.certificatemanager.projects.locations.certificateMaps.certificateMapEntries.get({
|
|
175
|
-
name: "Test string",
|
|
176
|
-
});
|
|
177
|
-
/** Lists CertificateMapEntries in a given project and location. */
|
|
178
|
-
await gapi.client.certificatemanager.projects.locations.certificateMaps.certificateMapEntries.list({
|
|
179
|
-
filter: "Test string",
|
|
180
|
-
orderBy: "Test string",
|
|
181
|
-
pageSize: 42,
|
|
182
|
-
pageToken: "Test string",
|
|
183
|
-
parent: "Test string",
|
|
184
|
-
});
|
|
185
|
-
/** Updates a CertificateMapEntry. */
|
|
186
|
-
await gapi.client.certificatemanager.projects.locations.certificateMaps.certificateMapEntries.patch({
|
|
187
|
-
name: "Test string",
|
|
188
|
-
updateMask: "Test string",
|
|
189
|
-
}, {
|
|
190
|
-
certificates: [
|
|
191
|
-
"Test string"
|
|
192
|
-
],
|
|
193
|
-
createTime: "Test string",
|
|
194
|
-
description: "Test string",
|
|
195
|
-
hostname: "Test string",
|
|
196
|
-
labels: {
|
|
197
|
-
A: "Test string"
|
|
198
|
-
},
|
|
199
|
-
matcher: "Test string",
|
|
200
|
-
name: "Test string",
|
|
201
|
-
state: "Test string",
|
|
202
|
-
updateTime: "Test string",
|
|
203
|
-
});
|
|
204
|
-
/** Creates a new Certificate in a given project and location. */
|
|
205
|
-
await gapi.client.certificatemanager.projects.locations.certificates.create({
|
|
206
|
-
certificateId: "Test string",
|
|
207
|
-
parent: "Test string",
|
|
208
|
-
}, {
|
|
209
|
-
createTime: "Test string",
|
|
210
|
-
description: "Test string",
|
|
211
|
-
expireTime: "Test string",
|
|
212
|
-
labels: {
|
|
213
|
-
A: "Test string"
|
|
214
|
-
},
|
|
215
|
-
managed: {
|
|
216
|
-
authorizationAttemptInfo: [
|
|
217
|
-
{
|
|
218
|
-
details: "Test string",
|
|
219
|
-
domain: "Test string",
|
|
220
|
-
failureReason: "Test string",
|
|
221
|
-
state: "Test string",
|
|
222
|
-
}
|
|
223
|
-
],
|
|
224
|
-
dnsAuthorizations: [
|
|
225
|
-
"Test string"
|
|
226
|
-
],
|
|
227
|
-
domains: [
|
|
228
|
-
"Test string"
|
|
229
|
-
],
|
|
230
|
-
issuanceConfig: "Test string",
|
|
231
|
-
provisioningIssue: {
|
|
232
|
-
details: "Test string",
|
|
233
|
-
reason: "Test string",
|
|
234
|
-
},
|
|
235
|
-
state: "Test string",
|
|
236
|
-
},
|
|
237
|
-
name: "Test string",
|
|
238
|
-
pemCertificate: "Test string",
|
|
239
|
-
sanDnsnames: [
|
|
240
|
-
"Test string"
|
|
241
|
-
],
|
|
242
|
-
scope: "Test string",
|
|
243
|
-
selfManaged: {
|
|
244
|
-
pemCertificate: "Test string",
|
|
245
|
-
pemPrivateKey: "Test string",
|
|
246
|
-
},
|
|
247
|
-
updateTime: "Test string",
|
|
248
|
-
});
|
|
249
|
-
/** Deletes a single Certificate. */
|
|
250
|
-
await gapi.client.certificatemanager.projects.locations.certificates.delete({
|
|
251
|
-
name: "Test string",
|
|
252
|
-
});
|
|
253
|
-
/** Gets details of a single Certificate. */
|
|
254
|
-
await gapi.client.certificatemanager.projects.locations.certificates.get({
|
|
255
|
-
name: "Test string",
|
|
256
|
-
});
|
|
257
|
-
/** Lists Certificates in a given project and location. */
|
|
258
|
-
await gapi.client.certificatemanager.projects.locations.certificates.list({
|
|
259
|
-
filter: "Test string",
|
|
260
|
-
orderBy: "Test string",
|
|
261
|
-
pageSize: 42,
|
|
262
|
-
pageToken: "Test string",
|
|
263
|
-
parent: "Test string",
|
|
264
|
-
});
|
|
265
|
-
/** Updates a Certificate. */
|
|
266
|
-
await gapi.client.certificatemanager.projects.locations.certificates.patch({
|
|
267
|
-
name: "Test string",
|
|
268
|
-
updateMask: "Test string",
|
|
269
|
-
}, {
|
|
270
|
-
createTime: "Test string",
|
|
271
|
-
description: "Test string",
|
|
272
|
-
expireTime: "Test string",
|
|
273
|
-
labels: {
|
|
274
|
-
A: "Test string"
|
|
275
|
-
},
|
|
276
|
-
managed: {
|
|
277
|
-
authorizationAttemptInfo: [
|
|
278
|
-
{
|
|
279
|
-
details: "Test string",
|
|
280
|
-
domain: "Test string",
|
|
281
|
-
failureReason: "Test string",
|
|
282
|
-
state: "Test string",
|
|
283
|
-
}
|
|
284
|
-
],
|
|
285
|
-
dnsAuthorizations: [
|
|
286
|
-
"Test string"
|
|
287
|
-
],
|
|
288
|
-
domains: [
|
|
289
|
-
"Test string"
|
|
290
|
-
],
|
|
291
|
-
issuanceConfig: "Test string",
|
|
292
|
-
provisioningIssue: {
|
|
293
|
-
details: "Test string",
|
|
294
|
-
reason: "Test string",
|
|
295
|
-
},
|
|
296
|
-
state: "Test string",
|
|
297
|
-
},
|
|
298
|
-
name: "Test string",
|
|
299
|
-
pemCertificate: "Test string",
|
|
300
|
-
sanDnsnames: [
|
|
301
|
-
"Test string"
|
|
302
|
-
],
|
|
303
|
-
scope: "Test string",
|
|
304
|
-
selfManaged: {
|
|
305
|
-
pemCertificate: "Test string",
|
|
306
|
-
pemPrivateKey: "Test string",
|
|
307
|
-
},
|
|
308
|
-
updateTime: "Test string",
|
|
309
|
-
});
|
|
310
|
-
/** Creates a new DnsAuthorization in a given project and location. */
|
|
311
|
-
await gapi.client.certificatemanager.projects.locations.dnsAuthorizations.create({
|
|
312
|
-
dnsAuthorizationId: "Test string",
|
|
313
|
-
parent: "Test string",
|
|
314
|
-
}, {
|
|
315
|
-
createTime: "Test string",
|
|
316
|
-
description: "Test string",
|
|
317
|
-
dnsResourceRecord: {
|
|
318
|
-
data: "Test string",
|
|
319
|
-
name: "Test string",
|
|
320
|
-
type: "Test string",
|
|
321
|
-
},
|
|
322
|
-
domain: "Test string",
|
|
323
|
-
labels: {
|
|
324
|
-
A: "Test string"
|
|
325
|
-
},
|
|
326
|
-
name: "Test string",
|
|
327
|
-
updateTime: "Test string",
|
|
328
|
-
});
|
|
329
|
-
/** Deletes a single DnsAuthorization. */
|
|
330
|
-
await gapi.client.certificatemanager.projects.locations.dnsAuthorizations.delete({
|
|
331
|
-
name: "Test string",
|
|
332
|
-
});
|
|
333
|
-
/** Gets details of a single DnsAuthorization. */
|
|
334
|
-
await gapi.client.certificatemanager.projects.locations.dnsAuthorizations.get({
|
|
335
|
-
name: "Test string",
|
|
336
|
-
});
|
|
337
|
-
/** Lists DnsAuthorizations in a given project and location. */
|
|
338
|
-
await gapi.client.certificatemanager.projects.locations.dnsAuthorizations.list({
|
|
339
|
-
filter: "Test string",
|
|
340
|
-
orderBy: "Test string",
|
|
341
|
-
pageSize: 42,
|
|
342
|
-
pageToken: "Test string",
|
|
343
|
-
parent: "Test string",
|
|
344
|
-
});
|
|
345
|
-
/** Updates a DnsAuthorization. */
|
|
346
|
-
await gapi.client.certificatemanager.projects.locations.dnsAuthorizations.patch({
|
|
347
|
-
name: "Test string",
|
|
348
|
-
updateMask: "Test string",
|
|
349
|
-
}, {
|
|
350
|
-
createTime: "Test string",
|
|
351
|
-
description: "Test string",
|
|
352
|
-
dnsResourceRecord: {
|
|
353
|
-
data: "Test string",
|
|
354
|
-
name: "Test string",
|
|
355
|
-
type: "Test string",
|
|
356
|
-
},
|
|
357
|
-
domain: "Test string",
|
|
358
|
-
labels: {
|
|
359
|
-
A: "Test string"
|
|
360
|
-
},
|
|
361
|
-
name: "Test string",
|
|
362
|
-
updateTime: "Test string",
|
|
363
|
-
});
|
|
364
|
-
/**
|
|
365
|
-
* Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this
|
|
366
|
-
* method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation
|
|
367
|
-
* completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of
|
|
368
|
-
* 1, corresponding to `Code.CANCELLED`.
|
|
369
|
-
*/
|
|
370
|
-
await gapi.client.certificatemanager.projects.locations.operations.cancel({
|
|
371
|
-
name: "Test string",
|
|
372
|
-
}, {
|
|
373
|
-
});
|
|
374
|
-
/**
|
|
375
|
-
* 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
|
|
376
|
-
* this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
|
377
|
-
*/
|
|
378
|
-
await gapi.client.certificatemanager.projects.locations.operations.delete({
|
|
379
|
-
name: "Test string",
|
|
380
|
-
});
|
|
381
|
-
/** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
|
|
382
|
-
await gapi.client.certificatemanager.projects.locations.operations.get({
|
|
383
|
-
name: "Test string",
|
|
384
|
-
});
|
|
385
|
-
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
386
|
-
await gapi.client.certificatemanager.projects.locations.operations.list({
|
|
387
|
-
filter: "Test string",
|
|
388
|
-
name: "Test string",
|
|
389
|
-
pageSize: 42,
|
|
390
|
-
pageToken: "Test string",
|
|
391
|
-
});
|
|
392
|
-
/** Creates a new TrustConfig in a given project and location. */
|
|
393
|
-
await gapi.client.certificatemanager.projects.locations.trustConfigs.create({
|
|
394
|
-
parent: "Test string",
|
|
395
|
-
trustConfigId: "Test string",
|
|
396
|
-
}, {
|
|
397
|
-
createTime: "Test string",
|
|
398
|
-
description: "Test string",
|
|
399
|
-
etag: "Test string",
|
|
400
|
-
labels: {
|
|
401
|
-
A: "Test string"
|
|
402
|
-
},
|
|
403
|
-
name: "Test string",
|
|
404
|
-
trustStores: [
|
|
405
|
-
{
|
|
406
|
-
intermediateCas: [
|
|
407
|
-
{
|
|
408
|
-
pemCertificate: "Test string",
|
|
409
|
-
}
|
|
410
|
-
],
|
|
411
|
-
trustAnchors: [
|
|
412
|
-
{
|
|
413
|
-
pemCertificate: "Test string",
|
|
414
|
-
}
|
|
415
|
-
],
|
|
416
|
-
}
|
|
417
|
-
],
|
|
418
|
-
updateTime: "Test string",
|
|
419
|
-
});
|
|
420
|
-
/** Deletes a single TrustConfig. */
|
|
421
|
-
await gapi.client.certificatemanager.projects.locations.trustConfigs.delete({
|
|
422
|
-
etag: "Test string",
|
|
423
|
-
name: "Test string",
|
|
424
|
-
});
|
|
425
|
-
/** Gets details of a single TrustConfig. */
|
|
426
|
-
await gapi.client.certificatemanager.projects.locations.trustConfigs.get({
|
|
427
|
-
name: "Test string",
|
|
428
|
-
});
|
|
429
|
-
/** Lists TrustConfigs in a given project and location. */
|
|
430
|
-
await gapi.client.certificatemanager.projects.locations.trustConfigs.list({
|
|
431
|
-
filter: "Test string",
|
|
432
|
-
orderBy: "Test string",
|
|
433
|
-
pageSize: 42,
|
|
434
|
-
pageToken: "Test string",
|
|
435
|
-
parent: "Test string",
|
|
436
|
-
});
|
|
437
|
-
/** Updates a TrustConfig. */
|
|
438
|
-
await gapi.client.certificatemanager.projects.locations.trustConfigs.patch({
|
|
439
|
-
name: "Test string",
|
|
440
|
-
updateMask: "Test string",
|
|
441
|
-
}, {
|
|
442
|
-
createTime: "Test string",
|
|
443
|
-
description: "Test string",
|
|
444
|
-
etag: "Test string",
|
|
445
|
-
labels: {
|
|
446
|
-
A: "Test string"
|
|
447
|
-
},
|
|
448
|
-
name: "Test string",
|
|
449
|
-
trustStores: [
|
|
450
|
-
{
|
|
451
|
-
intermediateCas: [
|
|
452
|
-
{
|
|
453
|
-
pemCertificate: "Test string",
|
|
454
|
-
}
|
|
455
|
-
],
|
|
456
|
-
trustAnchors: [
|
|
457
|
-
{
|
|
458
|
-
pemCertificate: "Test string",
|
|
459
|
-
}
|
|
460
|
-
],
|
|
461
|
-
}
|
|
462
|
-
],
|
|
463
|
-
updateTime: "Test string",
|
|
464
|
-
});
|
|
465
|
-
}
|
|
466
|
-
});
|
package/tsconfig.json
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"module": "commonjs",
|
|
4
|
-
"lib": ["es6", "dom"],
|
|
5
|
-
"noImplicitAny": true,
|
|
6
|
-
"noImplicitThis": true,
|
|
7
|
-
"strictNullChecks": true,
|
|
8
|
-
"baseUrl": "../",
|
|
9
|
-
"typeRoots": [
|
|
10
|
-
"../"
|
|
11
|
-
],
|
|
12
|
-
"types": [],
|
|
13
|
-
"noEmit": true,
|
|
14
|
-
"forceConsistentCasingInFileNames": true,
|
|
15
|
-
"strictFunctionTypes": true
|
|
16
|
-
},
|
|
17
|
-
"files": ["index.d.ts", "tests.ts"]
|
|
18
|
-
}
|