@maxim_mazurok/gapi.client.securitycenter-v1beta2 0.0.20250116 → 0.0.20250128

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 +22 -22
  2. package/package.json +1 -1
  3. package/readme.md +23 -23
package/index.d.ts CHANGED
@@ -9,14 +9,14 @@
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://securitycenter.googleapis.com/$discovery/rest?version=v1beta2
12
- // Revision: 20250116
12
+ // Revision: 20250128
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
16
16
  declare namespace gapi.client {
17
17
  /** Load Security Command Center API v1beta2 */
18
18
  function load(
19
- urlOrObject: 'https://securitycenter.googleapis.com/$discovery/rest?version=v1beta2'
19
+ urlOrObject: 'https://securitycenter.googleapis.com/$discovery/rest?version=v1beta2',
20
20
  ): Promise<void>;
21
21
  /** @deprecated Please load APIs with discovery documents. */
22
22
  function load(name: 'securitycenter', version: 'v1beta2'): Promise<void>;
@@ -24,7 +24,7 @@ declare namespace gapi.client {
24
24
  function load(
25
25
  name: 'securitycenter',
26
26
  version: 'v1beta2',
27
- callback: () => any
27
+ callback: () => any,
28
28
  ): void;
29
29
 
30
30
  namespace securitycenter {
@@ -2817,7 +2817,7 @@ declare namespace gapi.client {
2817
2817
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2818
2818
  uploadType?: string;
2819
2819
  },
2820
- body: ContainerThreatDetectionSettings
2820
+ body: ContainerThreatDetectionSettings,
2821
2821
  ): Request<ContainerThreatDetectionSettings>;
2822
2822
  /** Update the EventThreatDetectionSettings resource. */
2823
2823
  updateEventThreatDetectionSettings(request: {
@@ -2879,7 +2879,7 @@ declare namespace gapi.client {
2879
2879
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2880
2880
  uploadType?: string;
2881
2881
  },
2882
- body: EventThreatDetectionSettings
2882
+ body: EventThreatDetectionSettings,
2883
2883
  ): Request<EventThreatDetectionSettings>;
2884
2884
  /** Update the RapidVulnerabilityDetectionSettings resource. */
2885
2885
  updateRapidVulnerabilityDetectionSettings(request: {
@@ -2941,7 +2941,7 @@ declare namespace gapi.client {
2941
2941
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2942
2942
  uploadType?: string;
2943
2943
  },
2944
- body: RapidVulnerabilityDetectionSettings
2944
+ body: RapidVulnerabilityDetectionSettings,
2945
2945
  ): Request<RapidVulnerabilityDetectionSettings>;
2946
2946
  /** Update the SecurityHealthAnalyticsSettings resource. */
2947
2947
  updateSecurityHealthAnalyticsSettings(request: {
@@ -3003,7 +3003,7 @@ declare namespace gapi.client {
3003
3003
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3004
3004
  uploadType?: string;
3005
3005
  },
3006
- body: SecurityHealthAnalyticsSettings
3006
+ body: SecurityHealthAnalyticsSettings,
3007
3007
  ): Request<SecurityHealthAnalyticsSettings>;
3008
3008
  /** Update the VirtualMachineThreatDetectionSettings resource. */
3009
3009
  updateVirtualMachineThreatDetectionSettings(request: {
@@ -3065,7 +3065,7 @@ declare namespace gapi.client {
3065
3065
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3066
3066
  uploadType?: string;
3067
3067
  },
3068
- body: VirtualMachineThreatDetectionSettings
3068
+ body: VirtualMachineThreatDetectionSettings,
3069
3069
  ): Request<VirtualMachineThreatDetectionSettings>;
3070
3070
  /** Update the WebSecurityScannerSettings resource. */
3071
3071
  updateWebSecurityScannerSettings(request: {
@@ -3127,7 +3127,7 @@ declare namespace gapi.client {
3127
3127
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3128
3128
  uploadType?: string;
3129
3129
  },
3130
- body: WebSecurityScannerSettings
3130
+ body: WebSecurityScannerSettings,
3131
3131
  ): Request<WebSecurityScannerSettings>;
3132
3132
  containerThreatDetectionSettings: ContainerThreatDetectionSettingsResource;
3133
3133
  eventThreatDetectionSettings: EventThreatDetectionSettingsResource;
@@ -3597,7 +3597,7 @@ declare namespace gapi.client {
3597
3597
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3598
3598
  uploadType?: string;
3599
3599
  },
3600
- body: ContainerThreatDetectionSettings
3600
+ body: ContainerThreatDetectionSettings,
3601
3601
  ): Request<ContainerThreatDetectionSettings>;
3602
3602
  /** Update the EventThreatDetectionSettings resource. */
3603
3603
  updateEventThreatDetectionSettings(request: {
@@ -3659,7 +3659,7 @@ declare namespace gapi.client {
3659
3659
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3660
3660
  uploadType?: string;
3661
3661
  },
3662
- body: EventThreatDetectionSettings
3662
+ body: EventThreatDetectionSettings,
3663
3663
  ): Request<EventThreatDetectionSettings>;
3664
3664
  /** Update the RapidVulnerabilityDetectionSettings resource. */
3665
3665
  updateRapidVulnerabilityDetectionSettings(request: {
@@ -3721,7 +3721,7 @@ declare namespace gapi.client {
3721
3721
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3722
3722
  uploadType?: string;
3723
3723
  },
3724
- body: RapidVulnerabilityDetectionSettings
3724
+ body: RapidVulnerabilityDetectionSettings,
3725
3725
  ): Request<RapidVulnerabilityDetectionSettings>;
3726
3726
  /** Update the SecurityHealthAnalyticsSettings resource. */
3727
3727
  updateSecurityHealthAnalyticsSettings(request: {
@@ -3783,7 +3783,7 @@ declare namespace gapi.client {
3783
3783
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3784
3784
  uploadType?: string;
3785
3785
  },
3786
- body: SecurityHealthAnalyticsSettings
3786
+ body: SecurityHealthAnalyticsSettings,
3787
3787
  ): Request<SecurityHealthAnalyticsSettings>;
3788
3788
  /** Update the VirtualMachineThreatDetectionSettings resource. */
3789
3789
  updateVirtualMachineThreatDetectionSettings(request: {
@@ -3845,7 +3845,7 @@ declare namespace gapi.client {
3845
3845
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3846
3846
  uploadType?: string;
3847
3847
  },
3848
- body: VirtualMachineThreatDetectionSettings
3848
+ body: VirtualMachineThreatDetectionSettings,
3849
3849
  ): Request<VirtualMachineThreatDetectionSettings>;
3850
3850
  /** Update the WebSecurityScannerSettings resource. */
3851
3851
  updateWebSecurityScannerSettings(request: {
@@ -3907,7 +3907,7 @@ declare namespace gapi.client {
3907
3907
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
3908
3908
  uploadType?: string;
3909
3909
  },
3910
- body: WebSecurityScannerSettings
3910
+ body: WebSecurityScannerSettings,
3911
3911
  ): Request<WebSecurityScannerSettings>;
3912
3912
  containerThreatDetectionSettings: ContainerThreatDetectionSettingsResource;
3913
3913
  eventThreatDetectionSettings: EventThreatDetectionSettingsResource;
@@ -4097,7 +4097,7 @@ declare namespace gapi.client {
4097
4097
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4098
4098
  uploadType?: string;
4099
4099
  },
4100
- body: ContainerThreatDetectionSettings
4100
+ body: ContainerThreatDetectionSettings,
4101
4101
  ): Request<ContainerThreatDetectionSettings>;
4102
4102
  containerThreatDetectionSettings: ContainerThreatDetectionSettingsResource;
4103
4103
  }
@@ -4476,7 +4476,7 @@ declare namespace gapi.client {
4476
4476
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4477
4477
  uploadType?: string;
4478
4478
  },
4479
- body: ContainerThreatDetectionSettings
4479
+ body: ContainerThreatDetectionSettings,
4480
4480
  ): Request<ContainerThreatDetectionSettings>;
4481
4481
  /** Update the EventThreatDetectionSettings resource. */
4482
4482
  updateEventThreatDetectionSettings(request: {
@@ -4538,7 +4538,7 @@ declare namespace gapi.client {
4538
4538
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4539
4539
  uploadType?: string;
4540
4540
  },
4541
- body: EventThreatDetectionSettings
4541
+ body: EventThreatDetectionSettings,
4542
4542
  ): Request<EventThreatDetectionSettings>;
4543
4543
  /** Update the RapidVulnerabilityDetectionSettings resource. */
4544
4544
  updateRapidVulnerabilityDetectionSettings(request: {
@@ -4600,7 +4600,7 @@ declare namespace gapi.client {
4600
4600
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4601
4601
  uploadType?: string;
4602
4602
  },
4603
- body: RapidVulnerabilityDetectionSettings
4603
+ body: RapidVulnerabilityDetectionSettings,
4604
4604
  ): Request<RapidVulnerabilityDetectionSettings>;
4605
4605
  /** Update the SecurityHealthAnalyticsSettings resource. */
4606
4606
  updateSecurityHealthAnalyticsSettings(request: {
@@ -4662,7 +4662,7 @@ declare namespace gapi.client {
4662
4662
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4663
4663
  uploadType?: string;
4664
4664
  },
4665
- body: SecurityHealthAnalyticsSettings
4665
+ body: SecurityHealthAnalyticsSettings,
4666
4666
  ): Request<SecurityHealthAnalyticsSettings>;
4667
4667
  /** Update the VirtualMachineThreatDetectionSettings resource. */
4668
4668
  updateVirtualMachineThreatDetectionSettings(request: {
@@ -4724,7 +4724,7 @@ declare namespace gapi.client {
4724
4724
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4725
4725
  uploadType?: string;
4726
4726
  },
4727
- body: VirtualMachineThreatDetectionSettings
4727
+ body: VirtualMachineThreatDetectionSettings,
4728
4728
  ): Request<VirtualMachineThreatDetectionSettings>;
4729
4729
  /** Update the WebSecurityScannerSettings resource. */
4730
4730
  updateWebSecurityScannerSettings(request: {
@@ -4786,7 +4786,7 @@ declare namespace gapi.client {
4786
4786
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4787
4787
  uploadType?: string;
4788
4788
  },
4789
- body: WebSecurityScannerSettings
4789
+ body: WebSecurityScannerSettings,
4790
4790
  ): Request<WebSecurityScannerSettings>;
4791
4791
  containerThreatDetectionSettings: ContainerThreatDetectionSettingsResource;
4792
4792
  eventThreatDetectionSettings: EventThreatDetectionSettingsResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.securitycenter-v1beta2",
3
- "version": "0.0.20250116",
3
+ "version": "0.0.20250128",
4
4
  "description": "TypeScript typings for Security Command Center API v1beta2",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -30,7 +30,7 @@ gapi.client.load(
30
30
  () => {
31
31
  // now we can use:
32
32
  // gapi.client.securitycenter
33
- }
33
+ },
34
34
  );
35
35
  ```
36
36
 
@@ -62,7 +62,7 @@ gapi.auth.authorize(
62
62
  } else {
63
63
  /* handle authorization error */
64
64
  }
65
- }
65
+ },
66
66
  );
67
67
  ```
68
68
 
@@ -87,7 +87,7 @@ await gapi.client.securitycenter.folders.getEventThreatDetectionSettings({
87
87
  Get the RapidVulnerabilityDetectionSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetRapidVulnerabilityDetectionSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateRapidVulnerabilityDetectionSettings for this purpose.
88
88
  */
89
89
  await gapi.client.securitycenter.folders.getRapidVulnerabilityDetectionSettings(
90
- {name: 'name'}
90
+ {name: 'name'},
91
91
  );
92
92
 
93
93
  /*
@@ -108,7 +108,7 @@ await gapi.client.securitycenter.folders.getSecurityHealthAnalyticsSettings({
108
108
  Get the VirtualMachineThreatDetectionSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetVirtualMachineThreatDetectionSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateVirtualMachineThreatDetectionSettings for this purpose.
109
109
  */
110
110
  await gapi.client.securitycenter.folders.getVirtualMachineThreatDetectionSettings(
111
- {name: 'name'}
111
+ {name: 'name'},
112
112
  );
113
113
 
114
114
  /*
@@ -122,7 +122,7 @@ await gapi.client.securitycenter.folders.getWebSecurityScannerSettings({
122
122
  Update the ContainerThreatDetectionSettings resource.
123
123
  */
124
124
  await gapi.client.securitycenter.folders.updateContainerThreatDetectionSettings(
125
- {name: 'name'}
125
+ {name: 'name'},
126
126
  );
127
127
 
128
128
  /*
@@ -136,7 +136,7 @@ await gapi.client.securitycenter.folders.updateEventThreatDetectionSettings({
136
136
  Update the RapidVulnerabilityDetectionSettings resource.
137
137
  */
138
138
  await gapi.client.securitycenter.folders.updateRapidVulnerabilityDetectionSettings(
139
- {name: 'name'}
139
+ {name: 'name'},
140
140
  );
141
141
 
142
142
  /*
@@ -150,7 +150,7 @@ await gapi.client.securitycenter.folders.updateSecurityHealthAnalyticsSettings({
150
150
  Update the VirtualMachineThreatDetectionSettings resource.
151
151
  */
152
152
  await gapi.client.securitycenter.folders.updateVirtualMachineThreatDetectionSettings(
153
- {name: 'name'}
153
+ {name: 'name'},
154
154
  );
155
155
 
156
156
  /*
@@ -164,7 +164,7 @@ await gapi.client.securitycenter.folders.updateWebSecurityScannerSettings({
164
164
  Get the ContainerThreatDetectionSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetContainerThreatDetectionSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateContainerThreatDetectionSettings for this purpose.
165
165
  */
166
166
  await gapi.client.securitycenter.organizations.getContainerThreatDetectionSettings(
167
- {name: 'name'}
167
+ {name: 'name'},
168
168
  );
169
169
 
170
170
  /*
@@ -178,7 +178,7 @@ await gapi.client.securitycenter.organizations.getEventThreatDetectionSettings({
178
178
  Get the RapidVulnerabilityDetectionSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetRapidVulnerabilityDetectionSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateRapidVulnerabilityDetectionSettings for this purpose.
179
179
  */
180
180
  await gapi.client.securitycenter.organizations.getRapidVulnerabilityDetectionSettings(
181
- {name: 'name'}
181
+ {name: 'name'},
182
182
  );
183
183
 
184
184
  /*
@@ -192,7 +192,7 @@ await gapi.client.securitycenter.organizations.getSecurityCenterSettings({
192
192
  Get the SecurityHealthAnalyticsSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetSecurityHealthAnalyticsSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateSecurityHealthAnalyticsSettings for this purpose.
193
193
  */
194
194
  await gapi.client.securitycenter.organizations.getSecurityHealthAnalyticsSettings(
195
- {name: 'name'}
195
+ {name: 'name'},
196
196
  );
197
197
 
198
198
  /*
@@ -204,7 +204,7 @@ await gapi.client.securitycenter.organizations.getSubscription({name: 'name'});
204
204
  Get the VirtualMachineThreatDetectionSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetVirtualMachineThreatDetectionSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateVirtualMachineThreatDetectionSettings for this purpose.
205
205
  */
206
206
  await gapi.client.securitycenter.organizations.getVirtualMachineThreatDetectionSettings(
207
- {name: 'name'}
207
+ {name: 'name'},
208
208
  );
209
209
 
210
210
  /*
@@ -218,42 +218,42 @@ await gapi.client.securitycenter.organizations.getWebSecurityScannerSettings({
218
218
  Update the ContainerThreatDetectionSettings resource.
219
219
  */
220
220
  await gapi.client.securitycenter.organizations.updateContainerThreatDetectionSettings(
221
- {name: 'name'}
221
+ {name: 'name'},
222
222
  );
223
223
 
224
224
  /*
225
225
  Update the EventThreatDetectionSettings resource.
226
226
  */
227
227
  await gapi.client.securitycenter.organizations.updateEventThreatDetectionSettings(
228
- {name: 'name'}
228
+ {name: 'name'},
229
229
  );
230
230
 
231
231
  /*
232
232
  Update the RapidVulnerabilityDetectionSettings resource.
233
233
  */
234
234
  await gapi.client.securitycenter.organizations.updateRapidVulnerabilityDetectionSettings(
235
- {name: 'name'}
235
+ {name: 'name'},
236
236
  );
237
237
 
238
238
  /*
239
239
  Update the SecurityHealthAnalyticsSettings resource.
240
240
  */
241
241
  await gapi.client.securitycenter.organizations.updateSecurityHealthAnalyticsSettings(
242
- {name: 'name'}
242
+ {name: 'name'},
243
243
  );
244
244
 
245
245
  /*
246
246
  Update the VirtualMachineThreatDetectionSettings resource.
247
247
  */
248
248
  await gapi.client.securitycenter.organizations.updateVirtualMachineThreatDetectionSettings(
249
- {name: 'name'}
249
+ {name: 'name'},
250
250
  );
251
251
 
252
252
  /*
253
253
  Update the WebSecurityScannerSettings resource.
254
254
  */
255
255
  await gapi.client.securitycenter.organizations.updateWebSecurityScannerSettings(
256
- {name: 'name'}
256
+ {name: 'name'},
257
257
  );
258
258
 
259
259
  /*
@@ -274,7 +274,7 @@ await gapi.client.securitycenter.projects.getEventThreatDetectionSettings({
274
274
  Get the RapidVulnerabilityDetectionSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetRapidVulnerabilityDetectionSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateRapidVulnerabilityDetectionSettings for this purpose.
275
275
  */
276
276
  await gapi.client.securitycenter.projects.getRapidVulnerabilityDetectionSettings(
277
- {name: 'name'}
277
+ {name: 'name'},
278
278
  );
279
279
 
280
280
  /*
@@ -295,7 +295,7 @@ await gapi.client.securitycenter.projects.getSecurityHealthAnalyticsSettings({
295
295
  Get the VirtualMachineThreatDetectionSettings resource. In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, GetVirtualMachineThreatDetectionSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use CalculateVirtualMachineThreatDetectionSettings for this purpose.
296
296
  */
297
297
  await gapi.client.securitycenter.projects.getVirtualMachineThreatDetectionSettings(
298
- {name: 'name'}
298
+ {name: 'name'},
299
299
  );
300
300
 
301
301
  /*
@@ -309,7 +309,7 @@ await gapi.client.securitycenter.projects.getWebSecurityScannerSettings({
309
309
  Update the ContainerThreatDetectionSettings resource.
310
310
  */
311
311
  await gapi.client.securitycenter.projects.updateContainerThreatDetectionSettings(
312
- {name: 'name'}
312
+ {name: 'name'},
313
313
  );
314
314
 
315
315
  /*
@@ -323,21 +323,21 @@ await gapi.client.securitycenter.projects.updateEventThreatDetectionSettings({
323
323
  Update the RapidVulnerabilityDetectionSettings resource.
324
324
  */
325
325
  await gapi.client.securitycenter.projects.updateRapidVulnerabilityDetectionSettings(
326
- {name: 'name'}
326
+ {name: 'name'},
327
327
  );
328
328
 
329
329
  /*
330
330
  Update the SecurityHealthAnalyticsSettings resource.
331
331
  */
332
332
  await gapi.client.securitycenter.projects.updateSecurityHealthAnalyticsSettings(
333
- {name: 'name'}
333
+ {name: 'name'},
334
334
  );
335
335
 
336
336
  /*
337
337
  Update the VirtualMachineThreatDetectionSettings resource.
338
338
  */
339
339
  await gapi.client.securitycenter.projects.updateVirtualMachineThreatDetectionSettings(
340
- {name: 'name'}
340
+ {name: 'name'},
341
341
  );
342
342
 
343
343
  /*