diff --git a/packages_generated/s2s_vpn/src/v1alpha1/marshalling.gen.ts b/packages_generated/s2s_vpn/src/v1alpha1/marshalling.gen.ts index cac7ab6cb..7f9fc6a7d 100644 --- a/packages_generated/s2s_vpn/src/v1alpha1/marshalling.gen.ts +++ b/packages_generated/s2s_vpn/src/v1alpha1/marshalling.gen.ts @@ -100,6 +100,8 @@ export const unmarshalConnection = (data: unknown): Connection => { projectId: data.project_id, region: data.region, routePropagationEnabled: data.route_propagation_enabled, + secretId: data.secret_id, + secretRevision: data.secret_revision, status: data.status, tags: data.tags, tunnelStatus: data.tunnel_status, diff --git a/packages_generated/s2s_vpn/src/v1alpha1/types.gen.ts b/packages_generated/s2s_vpn/src/v1alpha1/types.gen.ts index 15955e76a..a3c9ff089 100644 --- a/packages_generated/s2s_vpn/src/v1alpha1/types.gen.ts +++ b/packages_generated/s2s_vpn/src/v1alpha1/types.gen.ts @@ -156,6 +156,14 @@ export interface Connection { * Who initiates the IPsec tunnel. */ initiationPolicy: ConnectionInitiationPolicy + /** + * ID of the secret in Secret Manager which contains the PSK. + */ + secretId: string + /** + * Version number of the secret in Secret Manager which contains the PSK. + */ + secretRevision: number /** * List of IKE v2 ciphers proposed for the IPsec tunnel. */ @@ -450,9 +458,9 @@ export interface CreateConnectionResponse { */ connection?: Connection /** - * New PSK generated for this connection. + * @deprecated Deprecated, use secret_id & secret_revision fields. */ - preSharedKey: string + preSharedKey?: string } export type CreateCustomerGatewayRequest = { @@ -940,9 +948,9 @@ export interface RenewConnectionPskResponse { */ connection?: Connection /** - * New PSK generated for this connection. + * @deprecated Deprecated, use secret_id & secret_revision fields. */ - preSharedKey: string + preSharedKey?: string } export type SetRoutingPolicyRequest = {