@maxim_mazurok/gapi.client.networksecurity-v1beta1
Advanced tools
Comparing version 0.0.20230713 to 0.0.20230719
{ | ||
"name": "@maxim_mazurok/gapi.client.networksecurity-v1beta1", | ||
"version": "0.0.20230713", | ||
"version": "0.0.20230719", | ||
"description": "TypeScript typings for Network Security API v1beta1", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
122
tests.ts
@@ -6,3 +6,3 @@ /* This is stub file for gapi.client.networksecurity-v1beta1 definition tests */ | ||
// Revision: 20230713 | ||
// Revision: 20230719 | ||
@@ -200,2 +200,122 @@ gapi.load('client', async () => { | ||
}); | ||
/** Creates a new SecurityProfileGroup in a given organization and location. */ | ||
await gapi.client.networksecurity.organizations.locations.securityProfileGroups.create({ | ||
parent: "Test string", | ||
securityProfileGroupId: "Test string", | ||
}, { | ||
createTime: "Test string", | ||
description: "Test string", | ||
etag: "Test string", | ||
labels: { | ||
A: "Test string" | ||
}, | ||
name: "Test string", | ||
threatPreventionProfile: "Test string", | ||
updateTime: "Test string", | ||
}); | ||
/** Deletes a single SecurityProfileGroup. */ | ||
await gapi.client.networksecurity.organizations.locations.securityProfileGroups.delete({ | ||
etag: "Test string", | ||
name: "Test string", | ||
}); | ||
/** Gets details of a single SecurityProfileGroup. */ | ||
await gapi.client.networksecurity.organizations.locations.securityProfileGroups.get({ | ||
name: "Test string", | ||
}); | ||
/** Lists SecurityProfileGroups in a given organization and location. */ | ||
await gapi.client.networksecurity.organizations.locations.securityProfileGroups.list({ | ||
pageSize: 42, | ||
pageToken: "Test string", | ||
parent: "Test string", | ||
}); | ||
/** Updates the parameters of a single SecurityProfileGroup. */ | ||
await gapi.client.networksecurity.organizations.locations.securityProfileGroups.patch({ | ||
name: "Test string", | ||
updateMask: "Test string", | ||
}, { | ||
createTime: "Test string", | ||
description: "Test string", | ||
etag: "Test string", | ||
labels: { | ||
A: "Test string" | ||
}, | ||
name: "Test string", | ||
threatPreventionProfile: "Test string", | ||
updateTime: "Test string", | ||
}); | ||
/** Creates a new SecurityProfile in a given organization and location. */ | ||
await gapi.client.networksecurity.organizations.locations.securityProfiles.create({ | ||
parent: "Test string", | ||
securityProfileId: "Test string", | ||
}, { | ||
createTime: "Test string", | ||
description: "Test string", | ||
etag: "Test string", | ||
labels: { | ||
A: "Test string" | ||
}, | ||
name: "Test string", | ||
threatPreventionProfile: { | ||
severityOverrides: [ | ||
{ | ||
action: "Test string", | ||
severity: "Test string", | ||
} | ||
], | ||
threatOverrides: [ | ||
{ | ||
action: "Test string", | ||
threatId: "Test string", | ||
type: "Test string", | ||
} | ||
], | ||
}, | ||
type: "Test string", | ||
updateTime: "Test string", | ||
}); | ||
/** Deletes a single SecurityProfile. */ | ||
await gapi.client.networksecurity.organizations.locations.securityProfiles.delete({ | ||
etag: "Test string", | ||
name: "Test string", | ||
}); | ||
/** Gets details of a single SecurityProfile. */ | ||
await gapi.client.networksecurity.organizations.locations.securityProfiles.get({ | ||
name: "Test string", | ||
}); | ||
/** Lists SecurityProfiles in a given organization and location. */ | ||
await gapi.client.networksecurity.organizations.locations.securityProfiles.list({ | ||
pageSize: 42, | ||
pageToken: "Test string", | ||
parent: "Test string", | ||
}); | ||
/** Updates the parameters of a single SecurityProfile. */ | ||
await gapi.client.networksecurity.organizations.locations.securityProfiles.patch({ | ||
name: "Test string", | ||
updateMask: "Test string", | ||
}, { | ||
createTime: "Test string", | ||
description: "Test string", | ||
etag: "Test string", | ||
labels: { | ||
A: "Test string" | ||
}, | ||
name: "Test string", | ||
threatPreventionProfile: { | ||
severityOverrides: [ | ||
{ | ||
action: "Test string", | ||
severity: "Test string", | ||
} | ||
], | ||
threatOverrides: [ | ||
{ | ||
action: "Test string", | ||
threatId: "Test string", | ||
type: "Test string", | ||
} | ||
], | ||
}, | ||
type: "Test string", | ||
updateTime: "Test string", | ||
}); | ||
/** Gets information about a location. */ | ||
@@ -202,0 +322,0 @@ await gapi.client.networksecurity.projects.locations.get({ |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
406458
8133