@maxim_mazurok/gapi.client.vpcaccess-v1 0.0.20230418 → 0.0.20230518

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 +363 -182
  2. package/package.json +1 -1
  3. package/tests.ts +1 -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://vpcaccess.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20230418
12
+ // Revision: 20230518
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -24,334 +24,470 @@ declare namespace gapi.client {
24
24
  namespace vpcaccess {
25
25
  interface Connector {
26
26
  /** Output only. List of projects using the connector. */
27
- connectedProjects?: string[];
27
+ connectedProjects?:
28
+ string[];
28
29
  /** The range of internal addresses that follows RFC 4632 notation. Example: `10.132.0.0/28`. */
29
- ipCidrRange?: string;
30
+ ipCidrRange?:
31
+ string;
30
32
  /** Machine type of VM Instance underlying connector. Default is e2-micro */
31
- machineType?: string;
33
+ machineType?:
34
+ string;
32
35
  /** Maximum value of instances in autoscaling group underlying the connector. */
33
- maxInstances?: number;
36
+ maxInstances?:
37
+ number;
34
38
  /** Maximum throughput of the connector in Mbps. Default is 300, max is 1000. */
35
- maxThroughput?: number;
39
+ maxThroughput?:
40
+ number;
36
41
  /** Minimum value of instances in autoscaling group underlying the connector. */
37
- minInstances?: number;
42
+ minInstances?:
43
+ number;
38
44
  /** Minimum throughput of the connector in Mbps. Default and min is 200. */
39
- minThroughput?: number;
45
+ minThroughput?:
46
+ number;
40
47
  /** The resource name in the format `projects/*‍/locations/*‍/connectors/*`. */
41
- name?: string;
48
+ name?:
49
+ string;
42
50
  /** Name of a VPC network. */
43
- network?: string;
51
+ network?:
52
+ string;
44
53
  /** Output only. State of the VPC access connector. */
45
- state?: string;
54
+ state?:
55
+ string;
46
56
  /** The subnet in which to house the VPC Access Connector. */
47
- subnet?: Subnet;
57
+ subnet?:
58
+ Subnet;
48
59
  }
49
60
  interface ListConnectorsResponse {
50
61
  /** List of Serverless VPC Access connectors. */
51
- connectors?: Connector[];
62
+ connectors?:
63
+ Connector[];
52
64
  /** Continuation token. */
53
- nextPageToken?: string;
65
+ nextPageToken?:
66
+ string;
54
67
  }
55
68
  interface ListLocationsResponse {
56
69
  /** A list of locations that matches the specified filter in the request. */
57
- locations?: Location[];
70
+ locations?:
71
+ Location[];
58
72
  /** The standard List next-page token. */
59
- nextPageToken?: string;
73
+ nextPageToken?:
74
+ string;
60
75
  }
61
76
  interface ListOperationsResponse {
62
77
  /** The standard List next-page token. */
63
- nextPageToken?: string;
78
+ nextPageToken?:
79
+ string;
64
80
  /** A list of operations that matches the specified filter in the request. */
65
- operations?: Operation[];
81
+ operations?:
82
+ Operation[];
66
83
  }
67
84
  interface Location {
68
85
  /** The friendly name for this location, typically a nearby city name. For example, "Tokyo". */
69
- displayName?: string;
86
+ displayName?:
87
+ string;
70
88
  /** Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"} */
71
- labels?: { [P in string]: string };
89
+ labels?:
90
+ { [P in string]: string };
72
91
  /** The canonical id for this location. For example: `"us-east1"`. */
73
- locationId?: string;
92
+ locationId?:
93
+ string;
74
94
  /** Service-specific metadata. For example the available capacity at the given location. */
75
- metadata?: { [P in string]: any };
95
+ metadata?:
96
+ { [P in string]: any };
76
97
  /** Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"` */
77
- name?: string;
98
+ name?:
99
+ string;
78
100
  }
79
101
  interface Operation {
80
102
  /** If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available. */
81
- done?: boolean;
103
+ done?:
104
+ boolean;
82
105
  /** The error result of the operation in case of failure or cancellation. */
83
- error?: Status;
106
+ error?:
107
+ Status;
84
108
  /**
85
109
  * Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such
86
110
  * metadata. Any method that returns a long-running operation should document the metadata type, if any.
87
111
  */
88
- metadata?: { [P in string]: any };
112
+ metadata?:
113
+ { [P in string]: any };
89
114
  /**
90
115
  * The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending
91
116
  * with `operations/{unique_id}`.
92
117
  */
93
- name?: string;
118
+ name?:
119
+ string;
94
120
  /**
95
121
  * The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the
96
122
  * original 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
97
123
  * original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
98
124
  */
99
- response?: { [P in string]: any };
125
+ response?:
126
+ { [P in string]: any };
100
127
  }
101
128
  interface OperationMetadata {
102
129
  /** Output only. Time when the operation was created. */
103
- createTime?: string;
130
+ createTime?:
131
+ string;
104
132
  /** Output only. Time when the operation completed. */
105
- endTime?: string;
133
+ endTime?:
134
+ string;
106
135
  /** Output only. Method that initiated the operation e.g. google.cloud.vpcaccess.v1.Connectors.CreateConnector. */
107
- method?: string;
136
+ method?:
137
+ string;
108
138
  /** Output only. Name of the resource that this operation is acting on e.g. projects/my-project/locations/us-central1/connectors/v1. */
109
- target?: string;
139
+ target?:
140
+ string;
110
141
  }
111
142
  interface OperationMetadataV1Alpha1 {
112
143
  /** Output only. Time when the operation completed. */
113
- endTime?: string;
144
+ endTime?:
145
+ string;
114
146
  /** Output only. Time when the operation was created. */
115
- insertTime?: string;
147
+ insertTime?:
148
+ string;
116
149
  /** Output only. Method that initiated the operation e.g. google.cloud.vpcaccess.v1alpha1.Connectors.CreateConnector. */
117
- method?: string;
150
+ method?:
151
+ string;
118
152
  /** Output only. Name of the resource that this operation is acting on e.g. projects/my-project/locations/us-central1/connectors/v1. */
119
- target?: string;
153
+ target?:
154
+ string;
120
155
  }
121
156
  interface OperationMetadataV1Beta1 {
122
157
  /** Output only. Time when the operation was created. */
123
- createTime?: string;
158
+ createTime?:
159
+ string;
124
160
  /** Output only. Time when the operation completed. */
125
- endTime?: string;
161
+ endTime?:
162
+ string;
126
163
  /** Output only. Method that initiated the operation e.g. google.cloud.vpcaccess.v1beta1.Connectors.CreateConnector. */
127
- method?: string;
164
+ method?:
165
+ string;
128
166
  /** Output only. Name of the resource that this operation is acting on e.g. projects/my-project/locations/us-central1/connectors/v1. */
129
- target?: string;
167
+ target?:
168
+ string;
130
169
  }
131
170
  interface Status {
132
171
  /** The status code, which should be an enum value of google.rpc.Code. */
133
- code?: number;
172
+ code?:
173
+ number;
134
174
  /** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
135
- details?: Array<{ [P in string]: any }>;
175
+ details?:
176
+ Array<{ [P in string]: any }>;
136
177
  /**
137
178
  * A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the
138
179
  * client.
139
180
  */
140
- message?: string;
181
+ message?:
182
+ string;
141
183
  }
142
184
  interface Subnet {
143
185
  /**
144
186
  * Subnet name (relative, not fully qualified). E.g. if the full subnet selfLink is
145
187
  * https://compute.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetName} the correct input for this field would be {subnetName}
146
188
  */
147
- name?: string;
189
+ name?:
190
+ string;
148
191
  /** Project in which the subnet exists. If not set, this project is assumed to be the project for which the connector create request was issued. */
149
- projectId?: string;
192
+ projectId?:
193
+ string;
150
194
  }
151
195
  interface ConnectorsResource {
152
196
  /** Creates a Serverless VPC Access connector, returns an operation. */
153
197
  create(request: {
154
198
  /** V1 error format. */
155
- "$.xgafv"?: string;
199
+ "$.xgafv"?:
200
+ string;
156
201
  /** OAuth access token. */
157
- access_token?: string;
202
+ access_token?:
203
+ string;
158
204
  /** Data format for response. */
159
- alt?: string;
205
+ alt?:
206
+ string;
160
207
  /** JSONP */
161
- callback?: string;
208
+ callback?:
209
+ string;
162
210
  /** Required. The ID to use for this connector. */
163
- connectorId?: string;
211
+ connectorId?:
212
+ string;
164
213
  /** Selector specifying which fields to include in a partial response. */
165
- fields?: string;
214
+ fields?:
215
+ string;
166
216
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
167
- key?: string;
217
+ key?:
218
+ string;
168
219
  /** OAuth 2.0 token for the current user. */
169
- oauth_token?: string;
220
+ oauth_token?:
221
+ string;
170
222
  /** Required. The project and location in which the configuration should be created, specified in the format `projects/*‍/locations/*`. */
171
- parent: string;
223
+ parent:
224
+ string;
172
225
  /** Returns response with indentations and line breaks. */
173
- prettyPrint?: boolean;
226
+ prettyPrint?:
227
+ boolean;
174
228
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
175
- quotaUser?: string;
229
+ quotaUser?:
230
+ string;
176
231
  /** Upload protocol for media (e.g. "raw", "multipart"). */
177
- upload_protocol?: string;
232
+ upload_protocol?:
233
+ string;
178
234
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
179
- uploadType?: string;
235
+ uploadType?:
236
+ string;
180
237
  /** Request body */
181
- resource: Connector;
238
+ resource:
239
+ Connector;
182
240
  }): Request<Operation>;
183
241
  create(request: {
184
242
  /** V1 error format. */
185
- "$.xgafv"?: string;
243
+ "$.xgafv"?:
244
+ string;
186
245
  /** OAuth access token. */
187
- access_token?: string;
246
+ access_token?:
247
+ string;
188
248
  /** Data format for response. */
189
- alt?: string;
249
+ alt?:
250
+ string;
190
251
  /** JSONP */
191
- callback?: string;
252
+ callback?:
253
+ string;
192
254
  /** Required. The ID to use for this connector. */
193
- connectorId?: string;
255
+ connectorId?:
256
+ string;
194
257
  /** Selector specifying which fields to include in a partial response. */
195
- fields?: string;
258
+ fields?:
259
+ string;
196
260
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
197
- key?: string;
261
+ key?:
262
+ string;
198
263
  /** OAuth 2.0 token for the current user. */
199
- oauth_token?: string;
264
+ oauth_token?:
265
+ string;
200
266
  /** Required. The project and location in which the configuration should be created, specified in the format `projects/*‍/locations/*`. */
201
- parent: string;
267
+ parent:
268
+ string;
202
269
  /** Returns response with indentations and line breaks. */
203
- prettyPrint?: boolean;
270
+ prettyPrint?:
271
+ boolean;
204
272
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
205
- quotaUser?: string;
273
+ quotaUser?:
274
+ string;
206
275
  /** Upload protocol for media (e.g. "raw", "multipart"). */
207
- upload_protocol?: string;
276
+ upload_protocol?:
277
+ string;
208
278
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
209
- uploadType?: string;
279
+ uploadType?:
280
+ string;
210
281
  },
211
282
  body: Connector): Request<Operation>;
212
283
  /** Deletes a Serverless VPC Access connector. Returns NOT_FOUND if the resource does not exist. */
213
284
  delete(request?: {
214
285
  /** V1 error format. */
215
- "$.xgafv"?: string;
286
+ "$.xgafv"?:
287
+ string;
216
288
  /** OAuth access token. */
217
- access_token?: string;
289
+ access_token?:
290
+ string;
218
291
  /** Data format for response. */
219
- alt?: string;
292
+ alt?:
293
+ string;
220
294
  /** JSONP */
221
- callback?: string;
295
+ callback?:
296
+ string;
222
297
  /** Selector specifying which fields to include in a partial response. */
223
- fields?: string;
298
+ fields?:
299
+ string;
224
300
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
225
- key?: string;
301
+ key?:
302
+ string;
226
303
  /** Required. Name of a Serverless VPC Access connector to delete. */
227
- name: string;
304
+ name:
305
+ string;
228
306
  /** OAuth 2.0 token for the current user. */
229
- oauth_token?: string;
307
+ oauth_token?:
308
+ string;
230
309
  /** Returns response with indentations and line breaks. */
231
- prettyPrint?: boolean;
310
+ prettyPrint?:
311
+ boolean;
232
312
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
233
- quotaUser?: string;
313
+ quotaUser?:
314
+ string;
234
315
  /** Upload protocol for media (e.g. "raw", "multipart"). */
235
- upload_protocol?: string;
316
+ upload_protocol?:
317
+ string;
236
318
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
237
- uploadType?: string;
319
+ uploadType?:
320
+ string;
238
321
  }): Request<Operation>;
239
322
  /** Gets a Serverless VPC Access connector. Returns NOT_FOUND if the resource does not exist. */
240
323
  get(request?: {
241
324
  /** V1 error format. */
242
- "$.xgafv"?: string;
325
+ "$.xgafv"?:
326
+ string;
243
327
  /** OAuth access token. */
244
- access_token?: string;
328
+ access_token?:
329
+ string;
245
330
  /** Data format for response. */
246
- alt?: string;
331
+ alt?:
332
+ string;
247
333
  /** JSONP */
248
- callback?: string;
334
+ callback?:
335
+ string;
249
336
  /** Selector specifying which fields to include in a partial response. */
250
- fields?: string;
337
+ fields?:
338
+ string;
251
339
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
252
- key?: string;
340
+ key?:
341
+ string;
253
342
  /** Required. Name of a Serverless VPC Access connector to get. */
254
- name: string;
343
+ name:
344
+ string;
255
345
  /** OAuth 2.0 token for the current user. */
256
- oauth_token?: string;
346
+ oauth_token?:
347
+ string;
257
348
  /** Returns response with indentations and line breaks. */
258
- prettyPrint?: boolean;
349
+ prettyPrint?:
350
+ boolean;
259
351
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
260
- quotaUser?: string;
352
+ quotaUser?:
353
+ string;
261
354
  /** Upload protocol for media (e.g. "raw", "multipart"). */
262
- upload_protocol?: string;
355
+ upload_protocol?:
356
+ string;
263
357
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
264
- uploadType?: string;
358
+ uploadType?:
359
+ string;
265
360
  }): Request<Connector>;
266
361
  /** Lists Serverless VPC Access connectors. */
267
362
  list(request?: {
268
363
  /** V1 error format. */
269
- "$.xgafv"?: string;
364
+ "$.xgafv"?:
365
+ string;
270
366
  /** OAuth access token. */
271
- access_token?: string;
367
+ access_token?:
368
+ string;
272
369
  /** Data format for response. */
273
- alt?: string;
370
+ alt?:
371
+ string;
274
372
  /** JSONP */
275
- callback?: string;
373
+ callback?:
374
+ string;
276
375
  /** Selector specifying which fields to include in a partial response. */
277
- fields?: string;
376
+ fields?:
377
+ string;
278
378
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
279
- key?: string;
379
+ key?:
380
+ string;
280
381
  /** OAuth 2.0 token for the current user. */
281
- oauth_token?: string;
382
+ oauth_token?:
383
+ string;
282
384
  /** Maximum number of functions to return per call. */
283
- pageSize?: number;
385
+ pageSize?:
386
+ number;
284
387
  /** Continuation token. */
285
- pageToken?: string;
388
+ pageToken?:
389
+ string;
286
390
  /** Required. The project and location from which the routes should be listed. */
287
- parent: string;
391
+ parent:
392
+ string;
288
393
  /** Returns response with indentations and line breaks. */
289
- prettyPrint?: boolean;
394
+ prettyPrint?:
395
+ boolean;
290
396
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
291
- quotaUser?: string;
397
+ quotaUser?:
398
+ string;
292
399
  /** Upload protocol for media (e.g. "raw", "multipart"). */
293
- upload_protocol?: string;
400
+ upload_protocol?:
401
+ string;
294
402
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
295
- uploadType?: string;
403
+ uploadType?:
404
+ string;
296
405
  }): Request<ListConnectorsResponse>;
297
406
  /** Updates a Serverless VPC Access connector, returns an operation. */
298
407
  patch(request: {
299
408
  /** V1 error format. */
300
- "$.xgafv"?: string;
409
+ "$.xgafv"?:
410
+ string;
301
411
  /** OAuth access token. */
302
- access_token?: string;
412
+ access_token?:
413
+ string;
303
414
  /** Data format for response. */
304
- alt?: string;
415
+ alt?:
416
+ string;
305
417
  /** JSONP */
306
- callback?: string;
418
+ callback?:
419
+ string;
307
420
  /** Selector specifying which fields to include in a partial response. */
308
- fields?: string;
421
+ fields?:
422
+ string;
309
423
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
310
- key?: string;
424
+ key?:
425
+ string;
311
426
  /** The resource name in the format `projects/*‍/locations/*‍/connectors/*`. */
312
- name: string;
427
+ name:
428
+ string;
313
429
  /** OAuth 2.0 token for the current user. */
314
- oauth_token?: string;
430
+ oauth_token?:
431
+ string;
315
432
  /** Returns response with indentations and line breaks. */
316
- prettyPrint?: boolean;
433
+ prettyPrint?:
434
+ boolean;
317
435
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
318
- quotaUser?: string;
436
+ quotaUser?:
437
+ string;
319
438
  /** The fields to update on the entry group. If absent or empty, all modifiable fields are updated. */
320
- updateMask?: string;
439
+ updateMask?:
440
+ string;
321
441
  /** Upload protocol for media (e.g. "raw", "multipart"). */
322
- upload_protocol?: string;
442
+ upload_protocol?:
443
+ string;
323
444
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
324
- uploadType?: string;
445
+ uploadType?:
446
+ string;
325
447
  /** Request body */
326
- resource: Connector;
448
+ resource:
449
+ Connector;
327
450
  }): Request<Operation>;
328
451
  patch(request: {
329
452
  /** V1 error format. */
330
- "$.xgafv"?: string;
453
+ "$.xgafv"?:
454
+ string;
331
455
  /** OAuth access token. */
332
- access_token?: string;
456
+ access_token?:
457
+ string;
333
458
  /** Data format for response. */
334
- alt?: string;
459
+ alt?:
460
+ string;
335
461
  /** JSONP */
336
- callback?: string;
462
+ callback?:
463
+ string;
337
464
  /** Selector specifying which fields to include in a partial response. */
338
- fields?: string;
465
+ fields?:
466
+ string;
339
467
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
340
- key?: string;
468
+ key?:
469
+ string;
341
470
  /** The resource name in the format `projects/*‍/locations/*‍/connectors/*`. */
342
- name: string;
471
+ name:
472
+ string;
343
473
  /** OAuth 2.0 token for the current user. */
344
- oauth_token?: string;
474
+ oauth_token?:
475
+ string;
345
476
  /** Returns response with indentations and line breaks. */
346
- prettyPrint?: boolean;
477
+ prettyPrint?:
478
+ boolean;
347
479
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
348
- quotaUser?: string;
480
+ quotaUser?:
481
+ string;
349
482
  /** The fields to update on the entry group. If absent or empty, all modifiable fields are updated. */
350
- updateMask?: string;
483
+ updateMask?:
484
+ string;
351
485
  /** Upload protocol for media (e.g. "raw", "multipart"). */
352
- upload_protocol?: string;
486
+ upload_protocol?:
487
+ string;
353
488
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
354
- uploadType?: string;
489
+ uploadType?:
490
+ string;
355
491
  },
356
492
  body: Connector): Request<Operation>;
357
493
  }
@@ -359,106 +495,151 @@ declare namespace gapi.client {
359
495
  /** 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. */
360
496
  get(request?: {
361
497
  /** V1 error format. */
362
- "$.xgafv"?: string;
498
+ "$.xgafv"?:
499
+ string;
363
500
  /** OAuth access token. */
364
- access_token?: string;
501
+ access_token?:
502
+ string;
365
503
  /** Data format for response. */
366
- alt?: string;
504
+ alt?:
505
+ string;
367
506
  /** JSONP */
368
- callback?: string;
507
+ callback?:
508
+ string;
369
509
  /** Selector specifying which fields to include in a partial response. */
370
- fields?: string;
510
+ fields?:
511
+ string;
371
512
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
372
- key?: string;
513
+ key?:
514
+ string;
373
515
  /** The name of the operation resource. */
374
- name: string;
516
+ name:
517
+ string;
375
518
  /** OAuth 2.0 token for the current user. */
376
- oauth_token?: string;
519
+ oauth_token?:
520
+ string;
377
521
  /** Returns response with indentations and line breaks. */
378
- prettyPrint?: boolean;
522
+ prettyPrint?:
523
+ boolean;
379
524
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
380
- quotaUser?: string;
525
+ quotaUser?:
526
+ string;
381
527
  /** Upload protocol for media (e.g. "raw", "multipart"). */
382
- upload_protocol?: string;
528
+ upload_protocol?:
529
+ string;
383
530
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
384
- uploadType?: string;
531
+ uploadType?:
532
+ string;
385
533
  }): Request<Operation>;
386
534
  /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
387
535
  list(request?: {
388
536
  /** V1 error format. */
389
- "$.xgafv"?: string;
537
+ "$.xgafv"?:
538
+ string;
390
539
  /** OAuth access token. */
391
- access_token?: string;
540
+ access_token?:
541
+ string;
392
542
  /** Data format for response. */
393
- alt?: string;
543
+ alt?:
544
+ string;
394
545
  /** JSONP */
395
- callback?: string;
546
+ callback?:
547
+ string;
396
548
  /** Selector specifying which fields to include in a partial response. */
397
- fields?: string;
549
+ fields?:
550
+ string;
398
551
  /** The standard list filter. */
399
- filter?: string;
552
+ filter?:
553
+ string;
400
554
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
401
- key?: string;
555
+ key?:
556
+ string;
402
557
  /** The name of the operation's parent resource. */
403
- name: string;
558
+ name:
559
+ string;
404
560
  /** OAuth 2.0 token for the current user. */
405
- oauth_token?: string;
561
+ oauth_token?:
562
+ string;
406
563
  /** The standard list page size. */
407
- pageSize?: number;
564
+ pageSize?:
565
+ number;
408
566
  /** The standard list page token. */
409
- pageToken?: string;
567
+ pageToken?:
568
+ string;
410
569
  /** Returns response with indentations and line breaks. */
411
- prettyPrint?: boolean;
570
+ prettyPrint?:
571
+ boolean;
412
572
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
413
- quotaUser?: string;
573
+ quotaUser?:
574
+ string;
414
575
  /** Upload protocol for media (e.g. "raw", "multipart"). */
415
- upload_protocol?: string;
576
+ upload_protocol?:
577
+ string;
416
578
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
417
- uploadType?: string;
579
+ uploadType?:
580
+ string;
418
581
  }): Request<ListOperationsResponse>;
419
582
  }
420
583
  interface LocationsResource {
421
584
  /** Lists information about the supported locations for this service. */
422
585
  list(request?: {
423
586
  /** V1 error format. */
424
- "$.xgafv"?: string;
587
+ "$.xgafv"?:
588
+ string;
425
589
  /** OAuth access token. */
426
- access_token?: string;
590
+ access_token?:
591
+ string;
427
592
  /** Data format for response. */
428
- alt?: string;
593
+ alt?:
594
+ string;
429
595
  /** JSONP */
430
- callback?: string;
596
+ callback?:
597
+ string;
431
598
  /** Selector specifying which fields to include in a partial response. */
432
- fields?: string;
599
+ fields?:
600
+ string;
433
601
  /**
434
602
  * A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in
435
603
  * [AIP-160](https://google.aip.dev/160).
436
604
  */
437
- filter?: string;
605
+ filter?:
606
+ string;
438
607
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
439
- key?: string;
608
+ key?:
609
+ string;
440
610
  /** The resource that owns the locations collection, if applicable. */
441
- name: string;
611
+ name:
612
+ string;
442
613
  /** OAuth 2.0 token for the current user. */
443
- oauth_token?: string;
614
+ oauth_token?:
615
+ string;
444
616
  /** The maximum number of results to return. If not set, the service selects a default. */
445
- pageSize?: number;
617
+ pageSize?:
618
+ number;
446
619
  /** A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. */
447
- pageToken?: string;
620
+ pageToken?:
621
+ string;
448
622
  /** Returns response with indentations and line breaks. */
449
- prettyPrint?: boolean;
623
+ prettyPrint?:
624
+ boolean;
450
625
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
451
- quotaUser?: string;
626
+ quotaUser?:
627
+ string;
452
628
  /** Upload protocol for media (e.g. "raw", "multipart"). */
453
- upload_protocol?: string;
629
+ upload_protocol?:
630
+ string;
454
631
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
455
- uploadType?: string;
632
+ uploadType?:
633
+ string;
456
634
  }): Request<ListLocationsResponse>;
457
- connectors: ConnectorsResource;
458
- operations: OperationsResource;
635
+ connectors:
636
+ ConnectorsResource;
637
+ operations:
638
+ OperationsResource;
459
639
  }
460
640
  interface ProjectsResource {
461
- locations: LocationsResource;
641
+ locations:
642
+ LocationsResource;
462
643
  }
463
644
 
464
645
  const projects: ProjectsResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.vpcaccess-v1",
3
- "version": "0.0.20230418",
3
+ "version": "0.0.20230518",
4
4
  "description": "TypeScript typings for Serverless VPC Access 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: 20230418
6
+ // Revision: 20230518
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */