New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@maxim_mazurok/gapi.client.networksecurity-v1

Package Overview
Dependencies
Maintainers
1
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@maxim_mazurok/gapi.client.networksecurity-v1 - npm Package Compare versions

Comparing version 0.0.20230505 to 0.0.20230511

2

package.json
{
"name": "@maxim_mazurok/gapi.client.networksecurity-v1",
"version": "0.0.20230505",
"version": "0.0.20230511",
"description": "TypeScript typings for Network Security API v1",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -6,3 +6,3 @@ /* This is stub file for gapi.client.networksecurity-v1 definition tests */

// Revision: 20230505
// Revision: 20230511

@@ -33,2 +33,116 @@ gapi.load('client', async () => {

async function run() {
/** Adds items to an address group. */
await gapi.client.networksecurity.organizations.locations.addressGroups.addItems({
addressGroup: "Test string",
}, {
items: [
"Test string"
],
requestId: "Test string",
});
/** Clones items from one address group to another. */
await gapi.client.networksecurity.organizations.locations.addressGroups.cloneItems({
addressGroup: "Test string",
}, {
requestId: "Test string",
sourceAddressGroup: "Test string",
});
/** Creates a new address group in a given project and location. */
await gapi.client.networksecurity.organizations.locations.addressGroups.create({
addressGroupId: "Test string",
parent: "Test string",
requestId: "Test string",
}, {
capacity: 42,
createTime: "Test string",
description: "Test string",
items: [
"Test string"
],
labels: {
A: "Test string"
},
name: "Test string",
selfLink: "Test string",
type: "Test string",
updateTime: "Test string",
});
/** Deletes an address group. */
await gapi.client.networksecurity.organizations.locations.addressGroups.delete({
name: "Test string",
requestId: "Test string",
});
/** Gets details of a single address group. */
await gapi.client.networksecurity.organizations.locations.addressGroups.get({
name: "Test string",
});
/** Lists address groups in a given project and location. */
await gapi.client.networksecurity.organizations.locations.addressGroups.list({
pageSize: 42,
pageToken: "Test string",
parent: "Test string",
});
/** Lists references of an address group. */
await gapi.client.networksecurity.organizations.locations.addressGroups.listReferences({
addressGroup: "Test string",
pageSize: 42,
pageToken: "Test string",
});
/** Updates parameters of an address group. */
await gapi.client.networksecurity.organizations.locations.addressGroups.patch({
name: "Test string",
requestId: "Test string",
updateMask: "Test string",
}, {
capacity: 42,
createTime: "Test string",
description: "Test string",
items: [
"Test string"
],
labels: {
A: "Test string"
},
name: "Test string",
selfLink: "Test string",
type: "Test string",
updateTime: "Test string",
});
/** Removes items from an address group. */
await gapi.client.networksecurity.organizations.locations.addressGroups.removeItems({
addressGroup: "Test string",
}, {
items: [
"Test string"
],
requestId: "Test string",
});
/**
* Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this
* method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation
* completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of
* 1, corresponding to `Code.CANCELLED`.
*/
await gapi.client.networksecurity.organizations.locations.operations.cancel({
name: "Test string",
}, {
});
/**
* Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support
* this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
*/
await gapi.client.networksecurity.organizations.locations.operations.delete({
name: "Test string",
});
/** 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. */
await gapi.client.networksecurity.organizations.locations.operations.get({
name: "Test string",
});
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
await gapi.client.networksecurity.organizations.locations.operations.list({
filter: "Test string",
name: "Test string",
pageSize: 42,
pageToken: "Test string",
});
/** Gets information about a location. */

@@ -45,2 +159,141 @@ await gapi.client.networksecurity.projects.locations.get({

});
/** Adds items to an address group. */
await gapi.client.networksecurity.projects.locations.addressGroups.addItems({
addressGroup: "Test string",
}, {
items: [
"Test string"
],
requestId: "Test string",
});
/** Clones items from one address group to another. */
await gapi.client.networksecurity.projects.locations.addressGroups.cloneItems({
addressGroup: "Test string",
}, {
requestId: "Test string",
sourceAddressGroup: "Test string",
});
/** Creates a new address group in a given project and location. */
await gapi.client.networksecurity.projects.locations.addressGroups.create({
addressGroupId: "Test string",
parent: "Test string",
requestId: "Test string",
}, {
capacity: 42,
createTime: "Test string",
description: "Test string",
items: [
"Test string"
],
labels: {
A: "Test string"
},
name: "Test string",
selfLink: "Test string",
type: "Test string",
updateTime: "Test string",
});
/** Deletes a single address group. */
await gapi.client.networksecurity.projects.locations.addressGroups.delete({
name: "Test string",
requestId: "Test string",
});
/** Gets details of a single address group. */
await gapi.client.networksecurity.projects.locations.addressGroups.get({
name: "Test string",
});
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
await gapi.client.networksecurity.projects.locations.addressGroups.getIamPolicy({
"options.requestedPolicyVersion": 42,
resource: "Test string",
});
/** Lists address groups in a given project and location. */
await gapi.client.networksecurity.projects.locations.addressGroups.list({
pageSize: 42,
pageToken: "Test string",
parent: "Test string",
});
/** Lists references of an address group. */
await gapi.client.networksecurity.projects.locations.addressGroups.listReferences({
addressGroup: "Test string",
pageSize: 42,
pageToken: "Test string",
});
/** Updates the parameters of a single address group. */
await gapi.client.networksecurity.projects.locations.addressGroups.patch({
name: "Test string",
requestId: "Test string",
updateMask: "Test string",
}, {
capacity: 42,
createTime: "Test string",
description: "Test string",
items: [
"Test string"
],
labels: {
A: "Test string"
},
name: "Test string",
selfLink: "Test string",
type: "Test string",
updateTime: "Test string",
});
/** Removes items from an address group. */
await gapi.client.networksecurity.projects.locations.addressGroups.removeItems({
addressGroup: "Test string",
}, {
items: [
"Test string"
],
requestId: "Test string",
});
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
await gapi.client.networksecurity.projects.locations.addressGroups.setIamPolicy({
resource: "Test string",
}, {
policy: {
auditConfigs: [
{
auditLogConfigs: [
{
exemptedMembers: [
"Test string"
],
logType: "Test string",
}
],
service: "Test string",
}
],
bindings: [
{
condition: {
description: "Test string",
expression: "Test string",
location: "Test string",
title: "Test string",
},
members: [
"Test string"
],
role: "Test string",
}
],
etag: "Test string",
version: 42,
},
updateMask: "Test string",
});
/**
* Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This
* operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
*/
await gapi.client.networksecurity.projects.locations.addressGroups.testIamPermissions({
resource: "Test string",
}, {
permissions: [
"Test string"
],
});
/** Creates a new AuthorizationPolicy in a given project and location. */

@@ -47,0 +300,0 @@ await gapi.client.networksecurity.projects.locations.authorizationPolicies.create({

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc