File tree Expand file tree Collapse file tree 2 files changed +14
-4
lines changed
packages_generated/s2s_vpn/src/v1alpha1 Expand file tree Collapse file tree 2 files changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -100,6 +100,8 @@ export const unmarshalConnection = (data: unknown): Connection => {
100100 projectId : data . project_id ,
101101 region : data . region ,
102102 routePropagationEnabled : data . route_propagation_enabled ,
103+ secretId : data . secret_id ,
104+ secretRevision : data . secret_revision ,
103105 status : data . status ,
104106 tags : data . tags ,
105107 tunnelStatus : data . tunnel_status ,
Original file line number Diff line number Diff line change @@ -156,6 +156,14 @@ export interface Connection {
156156 * Who initiates the IPsec tunnel.
157157 */
158158 initiationPolicy : ConnectionInitiationPolicy
159+ /**
160+ * ID of the secret in Secret Manager which contains the PSK.
161+ */
162+ secretId : string
163+ /**
164+ * Version number of the secret in Secret Manager which contains the PSK.
165+ */
166+ secretRevision : number
159167 /**
160168 * List of IKE v2 ciphers proposed for the IPsec tunnel.
161169 */
@@ -450,9 +458,9 @@ export interface CreateConnectionResponse {
450458 */
451459 connection ?: Connection
452460 /**
453- * New PSK generated for this connection .
461+ * @deprecated Deprecated, use secret_id & secret_revision fields .
454462 */
455- preSharedKey : string
463+ preSharedKey ? : string
456464}
457465
458466export type CreateCustomerGatewayRequest = {
@@ -940,9 +948,9 @@ export interface RenewConnectionPskResponse {
940948 */
941949 connection ?: Connection
942950 /**
943- * New PSK generated for this connection .
951+ * @deprecated Deprecated, use secret_id & secret_revision fields .
944952 */
945- preSharedKey : string
953+ preSharedKey ? : string
946954}
947955
948956export type SetRoutingPolicyRequest = {
You can’t perform that action at this time.
0 commit comments