@maxim_mazurok/gapi.client.networksecurity-v1
Advanced tools
Comparing version 0.0.20230327 to 0.0.20230406
{ | ||
"name": "@maxim_mazurok/gapi.client.networksecurity-v1", | ||
"version": "0.0.20230327", | ||
"version": "0.0.20230406", | ||
"description": "TypeScript typings for Network Security API v1", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
165
tests.ts
@@ -6,3 +6,3 @@ /* This is stub file for gapi.client.networksecurity-v1 definition tests */ | ||
// Revision: 20230327 | ||
// Revision: 20230406 | ||
@@ -332,2 +332,84 @@ 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", | ||
tlsInspectionPolicy: "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", | ||
tlsInspectionPolicy: "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", | ||
tlsInspectionEnabled: true, | ||
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", | ||
tlsInspectionEnabled: true, | ||
updateTime: "Test string", | ||
}); | ||
/** | ||
@@ -383,2 +465,4 @@ * 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 | ||
], | ||
clientValidationMode: "Test string", | ||
clientValidationTrustConfig: "Test string", | ||
}, | ||
@@ -437,2 +521,4 @@ name: "Test string", | ||
], | ||
clientValidationMode: "Test string", | ||
clientValidationTrustConfig: "Test string", | ||
}, | ||
@@ -498,3 +584,80 @@ name: "Test string", | ||
}); | ||
/** Creates a new TlsInspectionPolicy in a given project and location. */ | ||
await gapi.client.networksecurity.projects.locations.tlsInspectionPolicies.create({ | ||
parent: "Test string", | ||
tlsInspectionPolicyId: "Test string", | ||
}, { | ||
caPool: "Test string", | ||
createTime: "Test string", | ||
description: "Test string", | ||
name: "Test string", | ||
updateTime: "Test string", | ||
}); | ||
/** Deletes a single TlsInspectionPolicy. */ | ||
await gapi.client.networksecurity.projects.locations.tlsInspectionPolicies.delete({ | ||
force: true, | ||
name: "Test string", | ||
}); | ||
/** Gets details of a single TlsInspectionPolicy. */ | ||
await gapi.client.networksecurity.projects.locations.tlsInspectionPolicies.get({ | ||
name: "Test string", | ||
}); | ||
/** Lists TlsInspectionPolicies in a given project and location. */ | ||
await gapi.client.networksecurity.projects.locations.tlsInspectionPolicies.list({ | ||
pageSize: 42, | ||
pageToken: "Test string", | ||
parent: "Test string", | ||
}); | ||
/** Updates the parameters of a single TlsInspectionPolicy. */ | ||
await gapi.client.networksecurity.projects.locations.tlsInspectionPolicies.patch({ | ||
name: "Test string", | ||
updateMask: "Test string", | ||
}, { | ||
caPool: "Test string", | ||
createTime: "Test string", | ||
description: "Test string", | ||
name: "Test string", | ||
updateTime: "Test string", | ||
}); | ||
/** 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
194500
3308