@maxim_mazurok/gapi.client.networksecurity-v1beta1
Advanced tools
Comparing version 0.0.20230306 to 0.0.20230309
{ | ||
"name": "@maxim_mazurok/gapi.client.networksecurity-v1beta1", | ||
"version": "0.0.20230306", | ||
"version": "0.0.20230309", | ||
"description": "TypeScript typings for Network Security API v1beta1", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
120
tests.ts
@@ -6,3 +6,3 @@ /* This is stub file for gapi.client.networksecurity-v1beta1 definition tests */ | ||
// Revision: 20230306 | ||
// Revision: 20230309 | ||
@@ -585,2 +585,80 @@ gapi.load('client', async () => { | ||
}); | ||
/** Creates a new GatewaySecurityPolicy in a given project and location. */ | ||
await gapi.client.networksecurity.projects.locations.gatewaySecurityPolicies.create({ | ||
gatewaySecurityPolicyId: "Test string", | ||
parent: "Test string", | ||
}, { | ||
createTime: "Test string", | ||
description: "Test string", | ||
name: "Test string", | ||
updateTime: "Test string", | ||
}); | ||
/** Deletes a single GatewaySecurityPolicy. */ | ||
await gapi.client.networksecurity.projects.locations.gatewaySecurityPolicies.delete({ | ||
name: "Test string", | ||
}); | ||
/** Gets details of a single GatewaySecurityPolicy. */ | ||
await gapi.client.networksecurity.projects.locations.gatewaySecurityPolicies.get({ | ||
name: "Test string", | ||
}); | ||
/** Lists GatewaySecurityPolicies in a given project and location. */ | ||
await gapi.client.networksecurity.projects.locations.gatewaySecurityPolicies.list({ | ||
pageSize: 42, | ||
pageToken: "Test string", | ||
parent: "Test string", | ||
}); | ||
/** Updates the parameters of a single GatewaySecurityPolicy. */ | ||
await gapi.client.networksecurity.projects.locations.gatewaySecurityPolicies.patch({ | ||
name: "Test string", | ||
updateMask: "Test string", | ||
}, { | ||
createTime: "Test string", | ||
description: "Test string", | ||
name: "Test string", | ||
updateTime: "Test string", | ||
}); | ||
/** Creates a new GatewaySecurityPolicy in a given project and location. */ | ||
await gapi.client.networksecurity.projects.locations.gatewaySecurityPolicies.rules.create({ | ||
gatewaySecurityPolicyRuleId: "Test string", | ||
parent: "Test string", | ||
}, { | ||
applicationMatcher: "Test string", | ||
basicProfile: "Test string", | ||
createTime: "Test string", | ||
description: "Test string", | ||
enabled: true, | ||
name: "Test string", | ||
priority: 42, | ||
sessionMatcher: "Test string", | ||
updateTime: "Test string", | ||
}); | ||
/** Deletes a single GatewaySecurityPolicyRule. */ | ||
await gapi.client.networksecurity.projects.locations.gatewaySecurityPolicies.rules.delete({ | ||
name: "Test string", | ||
}); | ||
/** Gets details of a single GatewaySecurityPolicyRule. */ | ||
await gapi.client.networksecurity.projects.locations.gatewaySecurityPolicies.rules.get({ | ||
name: "Test string", | ||
}); | ||
/** Lists GatewaySecurityPolicyRules in a given project and location. */ | ||
await gapi.client.networksecurity.projects.locations.gatewaySecurityPolicies.rules.list({ | ||
pageSize: 42, | ||
pageToken: "Test string", | ||
parent: "Test string", | ||
}); | ||
/** Updates the parameters of a single GatewaySecurityPolicyRule. */ | ||
await gapi.client.networksecurity.projects.locations.gatewaySecurityPolicies.rules.patch({ | ||
name: "Test string", | ||
updateMask: "Test string", | ||
}, { | ||
applicationMatcher: "Test string", | ||
basicProfile: "Test string", | ||
createTime: "Test string", | ||
description: "Test string", | ||
enabled: true, | ||
name: "Test string", | ||
priority: 42, | ||
sessionMatcher: "Test string", | ||
updateTime: "Test string", | ||
}); | ||
/** | ||
@@ -749,3 +827,43 @@ * 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 | ||
}); | ||
/** Creates a new UrlList in a given project and location. */ | ||
await gapi.client.networksecurity.projects.locations.urlLists.create({ | ||
parent: "Test string", | ||
urlListId: "Test string", | ||
}, { | ||
createTime: "Test string", | ||
description: "Test string", | ||
name: "Test string", | ||
updateTime: "Test string", | ||
values: [ | ||
"Test string" | ||
], | ||
}); | ||
/** Deletes a single UrlList. */ | ||
await gapi.client.networksecurity.projects.locations.urlLists.delete({ | ||
name: "Test string", | ||
}); | ||
/** Gets details of a single UrlList. */ | ||
await gapi.client.networksecurity.projects.locations.urlLists.get({ | ||
name: "Test string", | ||
}); | ||
/** Lists UrlLists in a given project and location. */ | ||
await gapi.client.networksecurity.projects.locations.urlLists.list({ | ||
pageSize: 42, | ||
pageToken: "Test string", | ||
parent: "Test string", | ||
}); | ||
/** Updates the parameters of a single UrlList. */ | ||
await gapi.client.networksecurity.projects.locations.urlLists.patch({ | ||
name: "Test string", | ||
updateMask: "Test string", | ||
}, { | ||
createTime: "Test string", | ||
description: "Test string", | ||
name: "Test string", | ||
updateTime: "Test string", | ||
values: [ | ||
"Test string" | ||
], | ||
}); | ||
} | ||
}); |
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
267639
4506