Skip to content

Commit f2d61ba

Browse files
committed
feat: update generated APIs
1 parent 54576e5 commit f2d61ba

File tree

4 files changed

+77
-4
lines changed

4 files changed

+77
-4
lines changed

packages_generated/key_manager/src/v1alpha1/api.gen.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export class API extends ParentAPI {
7979
})
8080

8181
/**
82-
* Create a key. Create a key in a given region specified by the `region` parameter. Keys only support symmetric encryption. You can use keys to encrypt or decrypt arbitrary payloads, or to generate data encryption keys. **Data encryption keys are not stored in Key Manager**.
82+
* Create a key. Create a key in a given region specified by the `region` parameter. You can use keys to encrypt or decrypt arbitrary payloads, to sign and verify messages or to generate data encryption keys. **Data encryption keys are not stored in Key Manager**.
8383
*
8484
* @param request - The request {@link CreateKeyRequest}
8585
* @returns A Promise of Key

packages_generated/key_manager/src/v1alpha1/types.gen.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,13 @@ export interface KeyUsage {
7575
*/
7676
symmetricEncryption?: KeyAlgorithmSymmetricEncryption
7777
/**
78+
* See the `Key.Algorithm.AsymmetricEncryption` enum for a description of values.
7879
*
7980
* One-of ('usage'): at most one of 'symmetricEncryption', 'asymmetricEncryption', 'asymmetricSigning' could be set.
8081
*/
8182
asymmetricEncryption?: KeyAlgorithmAsymmetricEncryption
8283
/**
84+
* See the `Key.Algorithm.AsymmetricSigning` enum for a description of values.
8385
*
8486
* One-of ('usage'): at most one of 'symmetricEncryption', 'asymmetricEncryption', 'asymmetricSigning' could be set.
8587
*/
@@ -106,7 +108,7 @@ export interface Key {
106108
*/
107109
name: string
108110
/**
109-
* Keys with a usage set to `symmetric_encryption` can encrypt and decrypt data using the `AES-256-GCM` key algorithm. Key Manager currently only supports `AES-256-GCM`.
111+
* See the `Key.Usage` enum for a description of possible values.
110112
*/
111113
usage?: KeyUsage
112114
/**
@@ -177,7 +179,7 @@ export type CreateKeyRequest = {
177179
*/
178180
name?: string
179181
/**
180-
* See the `Key.Algorithm.SymmetricEncryption` enum for a description of values.
182+
* See the `Key.Usage` enum for a description of possible values.
181183
*/
182184
usage?: KeyUsage
183185
/**
@@ -580,7 +582,7 @@ export interface VerifyResponse {
580582
*/
581583
keyId: string
582584
/**
583-
* Returns `true` if the signature is valid for the digest and key, `false` otherwise.
585+
* Returns `true` if the signature is valid for the digest and key, and `false` otherwise.
584586
*/
585587
valid: boolean
586588
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/**
2+
* This file is automatically generated
3+
* PLEASE DO NOT EDIT HERE
4+
*/
5+
6+
export * as S2sVpnv1alpha1 from './v1alpha1/index.gen'
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
// This file was automatically generated. DO NOT EDIT.
2+
// If you have any remark or suggestion do not hesitate to open an issue.
3+
export { API } from './api.gen'
4+
export * from './content.gen'
5+
export * from './marshalling.gen'
6+
export type {
7+
BgpSession,
8+
BgpSessionStatus,
9+
Connection,
10+
ConnectionCipher,
11+
ConnectionDhGroup,
12+
ConnectionEncryption,
13+
ConnectionInitiationPolicy,
14+
ConnectionIntegrity,
15+
ConnectionStatus,
16+
CreateConnectionRequest,
17+
CreateConnectionRequestBgpConfig,
18+
CreateConnectionRequestInitiationPolicy,
19+
CreateConnectionResponse,
20+
CreateCustomerGatewayRequest,
21+
CreateRoutingPolicyRequest,
22+
CreateVpnGatewayRequest,
23+
CreateVpnGatewayRequestPublicConfig,
24+
CustomerGateway,
25+
DeleteConnectionRequest,
26+
DeleteCustomerGatewayRequest,
27+
DeleteRoutingPolicyRequest,
28+
DeleteVpnGatewayRequest,
29+
DetachRoutingPolicyRequest,
30+
DisableRoutePropagationRequest,
31+
EnableRoutePropagationRequest,
32+
GatewayType,
33+
GetConnectionRequest,
34+
GetCustomerGatewayRequest,
35+
GetRoutingPolicyRequest,
36+
GetVpnGatewayRequest,
37+
ListConnectionsRequest,
38+
ListConnectionsRequestOrderBy,
39+
ListConnectionsResponse,
40+
ListCustomerGatewaysRequest,
41+
ListCustomerGatewaysRequestOrderBy,
42+
ListCustomerGatewaysResponse,
43+
ListRoutingPoliciesRequest,
44+
ListRoutingPoliciesRequestOrderBy,
45+
ListRoutingPoliciesResponse,
46+
ListVpnGatewaysRequest,
47+
ListVpnGatewaysRequestOrderBy,
48+
ListVpnGatewaysResponse,
49+
ListVpnGatewayTypesRequest,
50+
ListVpnGatewayTypesResponse,
51+
RenewConnectionPskRequest,
52+
RenewConnectionPskResponse,
53+
RoutingPolicy,
54+
SetRoutingPolicyRequest,
55+
TunnelStatus,
56+
UpdateConnectionRequest,
57+
UpdateCustomerGatewayRequest,
58+
UpdateRoutingPolicyRequest,
59+
UpdateVpnGatewayRequest,
60+
VpnGateway,
61+
VpnGatewayPrivateConfig,
62+
VpnGatewayPublicConfig,
63+
VpnGatewayStatus,
64+
} from './types.gen'
65+
export * as ValidationRules from './validation-rules.gen'

0 commit comments

Comments
 (0)