@maxim_mazurok/gapi.client.securitycenter-v1beta2
Advanced tools
Comparing version 0.0.20231113 to 0.0.20231128
{ | ||
"name": "@maxim_mazurok/gapi.client.securitycenter-v1beta2", | ||
"version": "0.0.20231113", | ||
"version": "0.0.20231128", | ||
"description": "TypeScript typings for Security Command Center API v1beta2", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/Maxim-Mazurok/google-api-typings-generator.git" | ||
}, | ||
"license": "MIT", | ||
"author": { | ||
"name": "Maxim Mazurok", | ||
"email": "maxim@mazurok.com", | ||
"name": "Maxim Mazurok", | ||
"url": "https://maxim.mazurok.com" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/Maxim-Mazurok/google-api-typings-generator.git" | ||
}, | ||
"types": "index.d.ts", | ||
@@ -16,0 +16,0 @@ "dependencies": { |
187
readme.md
@@ -28,6 +28,9 @@ # TypeScript typings for Security Command Center API v1beta2 | ||
```typescript | ||
gapi.client.load('https://securitycenter.googleapis.com/$discovery/rest?version=v1beta2', () => { | ||
// now we can use: | ||
// gapi.client.securitycenter | ||
}); | ||
gapi.client.load( | ||
'https://securitycenter.googleapis.com/$discovery/rest?version=v1beta2', | ||
() => { | ||
// now we can use: | ||
// gapi.client.securitycenter | ||
} | ||
); | ||
``` | ||
@@ -49,17 +52,18 @@ | ||
scope = [ | ||
// See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account. | ||
'https://www.googleapis.com/auth/cloud-platform', | ||
], | ||
immediate = true; | ||
// See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account. | ||
'https://www.googleapis.com/auth/cloud-platform', | ||
], | ||
immediate = true; | ||
// ... | ||
gapi.auth.authorize( | ||
{ client_id: client_id, scope: scope, immediate: immediate }, | ||
{client_id: client_id, scope: scope, immediate: immediate}, | ||
authResult => { | ||
if (authResult && !authResult.error) { | ||
/* handle successful authorization */ | ||
/* handle successful authorization */ | ||
} else { | ||
/* handle authorization error */ | ||
/* handle authorization error */ | ||
} | ||
}); | ||
} | ||
); | ||
``` | ||
@@ -70,7 +74,8 @@ | ||
```typescript | ||
/* | ||
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. | ||
*/ | ||
await gapi.client.securitycenter.folders.getContainerThreatDetectionSettings({ name: "name", }); | ||
await gapi.client.securitycenter.folders.getContainerThreatDetectionSettings({ | ||
name: 'name', | ||
}); | ||
@@ -80,3 +85,5 @@ /* | ||
*/ | ||
await gapi.client.securitycenter.folders.getEventThreatDetectionSettings({ name: "name", }); | ||
await gapi.client.securitycenter.folders.getEventThreatDetectionSettings({ | ||
name: 'name', | ||
}); | ||
@@ -86,3 +93,5 @@ /* | ||
*/ | ||
await gapi.client.securitycenter.folders.getRapidVulnerabilityDetectionSettings({ name: "name", }); | ||
await gapi.client.securitycenter.folders.getRapidVulnerabilityDetectionSettings( | ||
{name: 'name'} | ||
); | ||
@@ -92,3 +101,5 @@ /* | ||
*/ | ||
await gapi.client.securitycenter.folders.getSecurityCenterSettings({ name: "name", }); | ||
await gapi.client.securitycenter.folders.getSecurityCenterSettings({ | ||
name: 'name', | ||
}); | ||
@@ -98,3 +109,5 @@ /* | ||
*/ | ||
await gapi.client.securitycenter.folders.getSecurityHealthAnalyticsSettings({ name: "name", }); | ||
await gapi.client.securitycenter.folders.getSecurityHealthAnalyticsSettings({ | ||
name: 'name', | ||
}); | ||
@@ -104,3 +117,5 @@ /* | ||
*/ | ||
await gapi.client.securitycenter.folders.getVirtualMachineThreatDetectionSettings({ name: "name", }); | ||
await gapi.client.securitycenter.folders.getVirtualMachineThreatDetectionSettings( | ||
{name: 'name'} | ||
); | ||
@@ -110,3 +125,5 @@ /* | ||
*/ | ||
await gapi.client.securitycenter.folders.getWebSecurityScannerSettings({ name: "name", }); | ||
await gapi.client.securitycenter.folders.getWebSecurityScannerSettings({ | ||
name: 'name', | ||
}); | ||
@@ -116,3 +133,5 @@ /* | ||
*/ | ||
await gapi.client.securitycenter.folders.updateContainerThreatDetectionSettings({ name: "name", }); | ||
await gapi.client.securitycenter.folders.updateContainerThreatDetectionSettings( | ||
{name: 'name'} | ||
); | ||
@@ -122,3 +141,5 @@ /* | ||
*/ | ||
await gapi.client.securitycenter.folders.updateEventThreatDetectionSettings({ name: "name", }); | ||
await gapi.client.securitycenter.folders.updateEventThreatDetectionSettings({ | ||
name: 'name', | ||
}); | ||
@@ -128,3 +149,5 @@ /* | ||
*/ | ||
await gapi.client.securitycenter.folders.updateRapidVulnerabilityDetectionSettings({ name: "name", }); | ||
await gapi.client.securitycenter.folders.updateRapidVulnerabilityDetectionSettings( | ||
{name: 'name'} | ||
); | ||
@@ -134,3 +157,5 @@ /* | ||
*/ | ||
await gapi.client.securitycenter.folders.updateSecurityHealthAnalyticsSettings({ name: "name", }); | ||
await gapi.client.securitycenter.folders.updateSecurityHealthAnalyticsSettings({ | ||
name: 'name', | ||
}); | ||
@@ -140,3 +165,5 @@ /* | ||
*/ | ||
await gapi.client.securitycenter.folders.updateVirtualMachineThreatDetectionSettings({ name: "name", }); | ||
await gapi.client.securitycenter.folders.updateVirtualMachineThreatDetectionSettings( | ||
{name: 'name'} | ||
); | ||
@@ -146,3 +173,5 @@ /* | ||
*/ | ||
await gapi.client.securitycenter.folders.updateWebSecurityScannerSettings({ name: "name", }); | ||
await gapi.client.securitycenter.folders.updateWebSecurityScannerSettings({ | ||
name: 'name', | ||
}); | ||
@@ -152,3 +181,5 @@ /* | ||
*/ | ||
await gapi.client.securitycenter.organizations.getContainerThreatDetectionSettings({ name: "name", }); | ||
await gapi.client.securitycenter.organizations.getContainerThreatDetectionSettings( | ||
{name: 'name'} | ||
); | ||
@@ -158,3 +189,5 @@ /* | ||
*/ | ||
await gapi.client.securitycenter.organizations.getEventThreatDetectionSettings({ name: "name", }); | ||
await gapi.client.securitycenter.organizations.getEventThreatDetectionSettings({ | ||
name: 'name', | ||
}); | ||
@@ -164,3 +197,5 @@ /* | ||
*/ | ||
await gapi.client.securitycenter.organizations.getRapidVulnerabilityDetectionSettings({ name: "name", }); | ||
await gapi.client.securitycenter.organizations.getRapidVulnerabilityDetectionSettings( | ||
{name: 'name'} | ||
); | ||
@@ -170,3 +205,5 @@ /* | ||
*/ | ||
await gapi.client.securitycenter.organizations.getSecurityCenterSettings({ name: "name", }); | ||
await gapi.client.securitycenter.organizations.getSecurityCenterSettings({ | ||
name: 'name', | ||
}); | ||
@@ -176,3 +213,5 @@ /* | ||
*/ | ||
await gapi.client.securitycenter.organizations.getSecurityHealthAnalyticsSettings({ name: "name", }); | ||
await gapi.client.securitycenter.organizations.getSecurityHealthAnalyticsSettings( | ||
{name: 'name'} | ||
); | ||
@@ -182,3 +221,3 @@ /* | ||
*/ | ||
await gapi.client.securitycenter.organizations.getSubscription({ name: "name", }); | ||
await gapi.client.securitycenter.organizations.getSubscription({name: 'name'}); | ||
@@ -188,3 +227,5 @@ /* | ||
*/ | ||
await gapi.client.securitycenter.organizations.getVirtualMachineThreatDetectionSettings({ name: "name", }); | ||
await gapi.client.securitycenter.organizations.getVirtualMachineThreatDetectionSettings( | ||
{name: 'name'} | ||
); | ||
@@ -194,3 +235,5 @@ /* | ||
*/ | ||
await gapi.client.securitycenter.organizations.getWebSecurityScannerSettings({ name: "name", }); | ||
await gapi.client.securitycenter.organizations.getWebSecurityScannerSettings({ | ||
name: 'name', | ||
}); | ||
@@ -200,3 +243,5 @@ /* | ||
*/ | ||
await gapi.client.securitycenter.organizations.updateContainerThreatDetectionSettings({ name: "name", }); | ||
await gapi.client.securitycenter.organizations.updateContainerThreatDetectionSettings( | ||
{name: 'name'} | ||
); | ||
@@ -206,3 +251,5 @@ /* | ||
*/ | ||
await gapi.client.securitycenter.organizations.updateEventThreatDetectionSettings({ name: "name", }); | ||
await gapi.client.securitycenter.organizations.updateEventThreatDetectionSettings( | ||
{name: 'name'} | ||
); | ||
@@ -212,3 +259,5 @@ /* | ||
*/ | ||
await gapi.client.securitycenter.organizations.updateRapidVulnerabilityDetectionSettings({ name: "name", }); | ||
await gapi.client.securitycenter.organizations.updateRapidVulnerabilityDetectionSettings( | ||
{name: 'name'} | ||
); | ||
@@ -218,3 +267,5 @@ /* | ||
*/ | ||
await gapi.client.securitycenter.organizations.updateSecurityHealthAnalyticsSettings({ name: "name", }); | ||
await gapi.client.securitycenter.organizations.updateSecurityHealthAnalyticsSettings( | ||
{name: 'name'} | ||
); | ||
@@ -224,3 +275,5 @@ /* | ||
*/ | ||
await gapi.client.securitycenter.organizations.updateVirtualMachineThreatDetectionSettings({ name: "name", }); | ||
await gapi.client.securitycenter.organizations.updateVirtualMachineThreatDetectionSettings( | ||
{name: 'name'} | ||
); | ||
@@ -230,3 +283,5 @@ /* | ||
*/ | ||
await gapi.client.securitycenter.organizations.updateWebSecurityScannerSettings({ name: "name", }); | ||
await gapi.client.securitycenter.organizations.updateWebSecurityScannerSettings( | ||
{name: 'name'} | ||
); | ||
@@ -236,3 +291,5 @@ /* | ||
*/ | ||
await gapi.client.securitycenter.projects.getContainerThreatDetectionSettings({ name: "name", }); | ||
await gapi.client.securitycenter.projects.getContainerThreatDetectionSettings({ | ||
name: 'name', | ||
}); | ||
@@ -242,3 +299,5 @@ /* | ||
*/ | ||
await gapi.client.securitycenter.projects.getEventThreatDetectionSettings({ name: "name", }); | ||
await gapi.client.securitycenter.projects.getEventThreatDetectionSettings({ | ||
name: 'name', | ||
}); | ||
@@ -248,3 +307,5 @@ /* | ||
*/ | ||
await gapi.client.securitycenter.projects.getRapidVulnerabilityDetectionSettings({ name: "name", }); | ||
await gapi.client.securitycenter.projects.getRapidVulnerabilityDetectionSettings( | ||
{name: 'name'} | ||
); | ||
@@ -254,3 +315,5 @@ /* | ||
*/ | ||
await gapi.client.securitycenter.projects.getSecurityCenterSettings({ name: "name", }); | ||
await gapi.client.securitycenter.projects.getSecurityCenterSettings({ | ||
name: 'name', | ||
}); | ||
@@ -260,3 +323,5 @@ /* | ||
*/ | ||
await gapi.client.securitycenter.projects.getSecurityHealthAnalyticsSettings({ name: "name", }); | ||
await gapi.client.securitycenter.projects.getSecurityHealthAnalyticsSettings({ | ||
name: 'name', | ||
}); | ||
@@ -266,3 +331,5 @@ /* | ||
*/ | ||
await gapi.client.securitycenter.projects.getVirtualMachineThreatDetectionSettings({ name: "name", }); | ||
await gapi.client.securitycenter.projects.getVirtualMachineThreatDetectionSettings( | ||
{name: 'name'} | ||
); | ||
@@ -272,3 +339,5 @@ /* | ||
*/ | ||
await gapi.client.securitycenter.projects.getWebSecurityScannerSettings({ name: "name", }); | ||
await gapi.client.securitycenter.projects.getWebSecurityScannerSettings({ | ||
name: 'name', | ||
}); | ||
@@ -278,3 +347,5 @@ /* | ||
*/ | ||
await gapi.client.securitycenter.projects.updateContainerThreatDetectionSettings({ name: "name", }); | ||
await gapi.client.securitycenter.projects.updateContainerThreatDetectionSettings( | ||
{name: 'name'} | ||
); | ||
@@ -284,3 +355,5 @@ /* | ||
*/ | ||
await gapi.client.securitycenter.projects.updateEventThreatDetectionSettings({ name: "name", }); | ||
await gapi.client.securitycenter.projects.updateEventThreatDetectionSettings({ | ||
name: 'name', | ||
}); | ||
@@ -290,3 +363,5 @@ /* | ||
*/ | ||
await gapi.client.securitycenter.projects.updateRapidVulnerabilityDetectionSettings({ name: "name", }); | ||
await gapi.client.securitycenter.projects.updateRapidVulnerabilityDetectionSettings( | ||
{name: 'name'} | ||
); | ||
@@ -296,3 +371,5 @@ /* | ||
*/ | ||
await gapi.client.securitycenter.projects.updateSecurityHealthAnalyticsSettings({ name: "name", }); | ||
await gapi.client.securitycenter.projects.updateSecurityHealthAnalyticsSettings( | ||
{name: 'name'} | ||
); | ||
@@ -302,3 +379,5 @@ /* | ||
*/ | ||
await gapi.client.securitycenter.projects.updateVirtualMachineThreatDetectionSettings({ name: "name", }); | ||
await gapi.client.securitycenter.projects.updateVirtualMachineThreatDetectionSettings( | ||
{name: 'name'} | ||
); | ||
@@ -308,3 +387,5 @@ /* | ||
*/ | ||
await gapi.client.securitycenter.projects.updateWebSecurityScannerSettings({ name: "name", }); | ||
await gapi.client.securitycenter.projects.updateWebSecurityScannerSettings({ | ||
name: 'name', | ||
}); | ||
``` |
Sorry, the diff of this file is too big to display
350
283461
3
4080