@maxim_mazurok/gapi.client.networksecurity-v1beta1 0.0.20230208 → 0.0.20230306

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 +26 -36
  2. package/package.json +1 -1
  3. package/tests.ts +3 -13
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://networksecurity.googleapis.com/$discovery/rest?version=v1beta1
12
- // Revision: 20230208
12
+ // Revision: 20230306
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -27,7 +27,7 @@ declare namespace gapi.client {
27
27
  items?: string[];
28
28
  /**
29
29
  * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has
30
- * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he
30
+ * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the
31
31
  * request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore
32
32
  * the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported
33
33
  * (00000000-0000-0000-0000-000000000000).
@@ -104,7 +104,7 @@ declare namespace gapi.client {
104
104
  interface CloneAddressGroupItemsRequest {
105
105
  /**
106
106
  * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has
107
- * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he
107
+ * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the
108
108
  * request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore
109
109
  * the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported
110
110
  * (00000000-0000-0000-0000-000000000000).
@@ -383,7 +383,7 @@ declare namespace gapi.client {
383
383
  items?: string[];
384
384
  /**
385
385
  * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has
386
- * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t he
386
+ * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the
387
387
  * request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore
388
388
  * the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported
389
389
  * (00000000-0000-0000-0000-000000000000).
@@ -602,8 +602,8 @@ declare namespace gapi.client {
602
602
  quotaUser?: string;
603
603
  /**
604
604
  * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has
605
- * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t
606
- * he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
605
+ * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and
606
+ * the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
607
607
  * ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not
608
608
  * supported (00000000-0000-0000-0000-000000000000).
609
609
  */
@@ -643,8 +643,8 @@ declare namespace gapi.client {
643
643
  quotaUser?: string;
644
644
  /**
645
645
  * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has
646
- * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t
647
- * he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
646
+ * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and
647
+ * the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
648
648
  * ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not
649
649
  * supported (00000000-0000-0000-0000-000000000000).
650
650
  */
@@ -679,8 +679,8 @@ declare namespace gapi.client {
679
679
  quotaUser?: string;
680
680
  /**
681
681
  * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has
682
- * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t
683
- * he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
682
+ * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and
683
+ * the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
684
684
  * ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not
685
685
  * supported (00000000-0000-0000-0000-000000000000).
686
686
  */
@@ -809,8 +809,8 @@ declare namespace gapi.client {
809
809
  quotaUser?: string;
810
810
  /**
811
811
  * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has
812
- * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t
813
- * he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
812
+ * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and
813
+ * the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
814
814
  * ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not
815
815
  * supported (00000000-0000-0000-0000-000000000000).
816
816
  */
@@ -850,8 +850,8 @@ declare namespace gapi.client {
850
850
  quotaUser?: string;
851
851
  /**
852
852
  * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has
853
- * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t
854
- * he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
853
+ * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and
854
+ * the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
855
855
  * ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not
856
856
  * supported (00000000-0000-0000-0000-000000000000).
857
857
  */
@@ -1043,12 +1043,7 @@ declare namespace gapi.client {
1043
1043
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1044
1044
  uploadType?: string;
1045
1045
  }): Request<Operation>;
1046
- /**
1047
- * Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services
1048
- * to override the binding to use different resource name schemes, such as `users/*‍/operations`. To override the binding, API services can add a binding such as
1049
- * `"/v1/{name=users/*}/operations"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must
1050
- * ensure the name binding is the parent resource, without the operations collection id.
1051
- */
1046
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
1052
1047
  list(request?: {
1053
1048
  /** V1 error format. */
1054
1049
  "$.xgafv"?: string;
@@ -1231,8 +1226,8 @@ declare namespace gapi.client {
1231
1226
  quotaUser?: string;
1232
1227
  /**
1233
1228
  * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has
1234
- * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t
1235
- * he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
1229
+ * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and
1230
+ * the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
1236
1231
  * ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not
1237
1232
  * supported (00000000-0000-0000-0000-000000000000).
1238
1233
  */
@@ -1272,8 +1267,8 @@ declare namespace gapi.client {
1272
1267
  quotaUser?: string;
1273
1268
  /**
1274
1269
  * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has
1275
- * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t
1276
- * he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
1270
+ * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and
1271
+ * the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
1277
1272
  * ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not
1278
1273
  * supported (00000000-0000-0000-0000-000000000000).
1279
1274
  */
@@ -1308,8 +1303,8 @@ declare namespace gapi.client {
1308
1303
  quotaUser?: string;
1309
1304
  /**
1310
1305
  * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has
1311
- * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t
1312
- * he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
1306
+ * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and
1307
+ * the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
1313
1308
  * ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not
1314
1309
  * supported (00000000-0000-0000-0000-000000000000).
1315
1310
  */
@@ -1476,8 +1471,8 @@ declare namespace gapi.client {
1476
1471
  quotaUser?: string;
1477
1472
  /**
1478
1473
  * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has
1479
- * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t
1480
- * he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
1474
+ * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and
1475
+ * the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
1481
1476
  * ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not
1482
1477
  * supported (00000000-0000-0000-0000-000000000000).
1483
1478
  */
@@ -1517,8 +1512,8 @@ declare namespace gapi.client {
1517
1512
  quotaUser?: string;
1518
1513
  /**
1519
1514
  * Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has
1520
- * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and t
1521
- * he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
1515
+ * already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and
1516
+ * the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will
1522
1517
  * ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not
1523
1518
  * supported (00000000-0000-0000-0000-000000000000).
1524
1519
  */
@@ -2425,12 +2420,7 @@ declare namespace gapi.client {
2425
2420
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2426
2421
  uploadType?: string;
2427
2422
  }): Request<Operation>;
2428
- /**
2429
- * Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services
2430
- * to override the binding to use different resource name schemes, such as `users/*‍/operations`. To override the binding, API services can add a binding such as
2431
- * `"/v1/{name=users/*}/operations"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must
2432
- * ensure the name binding is the parent resource, without the operations collection id.
2433
- */
2423
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
2434
2424
  list(request?: {
2435
2425
  /** V1 error format. */
2436
2426
  "$.xgafv"?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.networksecurity-v1beta1",
3
- "version": "0.0.20230208",
3
+ "version": "0.0.20230306",
4
4
  "description": "TypeScript typings for Network Security API v1beta1",
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: 20230208
6
+ // Revision: 20230306
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -136,12 +136,7 @@ gapi.load('client', async () => {
136
136
  await gapi.client.networksecurity.organizations.locations.operations.get({
137
137
  name: "Test string",
138
138
  });
139
- /**
140
- * Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to
141
- * override the binding to use different resource name schemes, such as `users/*‍/operations`. To override the binding, API services can add a binding such as
142
- * `"/v1/{name=users/*}/operations"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must
143
- * ensure the name binding is the parent resource, without the operations collection id.
144
- */
139
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
145
140
  await gapi.client.networksecurity.organizations.locations.operations.list({
146
141
  filter: "Test string",
147
142
  name: "Test string",
@@ -607,12 +602,7 @@ gapi.load('client', async () => {
607
602
  await gapi.client.networksecurity.projects.locations.operations.get({
608
603
  name: "Test string",
609
604
  });
610
- /**
611
- * Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to
612
- * override the binding to use different resource name schemes, such as `users/*‍/operations`. To override the binding, API services can add a binding such as
613
- * `"/v1/{name=users/*}/operations"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must
614
- * ensure the name binding is the parent resource, without the operations collection id.
615
- */
605
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
616
606
  await gapi.client.networksecurity.projects.locations.operations.list({
617
607
  filter: "Test string",
618
608
  name: "Test string",