@maxim_mazurok/gapi.client.networksecurity-v1beta1
Advanced tools
Comparing version 0.0.20230130 to 0.0.20230208
{ | ||
"name": "@maxim_mazurok/gapi.client.networksecurity-v1beta1", | ||
"version": "0.0.20230130", | ||
"version": "0.0.20230208", | ||
"description": "TypeScript typings for Network Security API v1beta1", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
174
tests.ts
@@ -6,3 +6,3 @@ /* This is stub file for gapi.client.networksecurity-v1beta1 definition tests */ | ||
// Revision: 20230130 | ||
// Revision: 20230208 | ||
@@ -33,2 +33,88 @@ 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", | ||
}); | ||
/** | ||
@@ -78,2 +164,47 @@ * 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 | ||
}); | ||
/** 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. */ | ||
@@ -84,2 +215,43 @@ await gapi.client.networksecurity.projects.locations.addressGroups.getIamPolicy({ | ||
}); | ||
/** 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. */ | ||
@@ -86,0 +258,0 @@ await gapi.client.networksecurity.projects.locations.addressGroups.setIamPolicy({ |
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
219072
3641