diff --git a/packages_generated/interlink/src/v1beta1/marshalling.gen.ts b/packages_generated/interlink/src/v1beta1/marshalling.gen.ts index 643d7e02a..104a59a3d 100644 --- a/packages_generated/interlink/src/v1beta1/marshalling.gen.ts +++ b/packages_generated/interlink/src/v1beta1/marshalling.gen.ts @@ -296,6 +296,7 @@ export const marshalCreateLinkRequest = ( pop_id: request.popId, project_id: request.projectId ?? defaults.defaultProjectId, tags: request.tags, + vlan: request.vlan, ...resolveOneOf([ { param: 'connection_id', value: request.connectionId }, { param: 'partner_id', value: request.partnerId }, diff --git a/packages_generated/interlink/src/v1beta1/types.gen.ts b/packages_generated/interlink/src/v1beta1/types.gen.ts index 9363b42de..babcbfc60 100644 --- a/packages_generated/interlink/src/v1beta1/types.gen.ts +++ b/packages_generated/interlink/src/v1beta1/types.gen.ts @@ -434,6 +434,10 @@ export type CreateLinkRequest = { * For self-hosted links we need the peer AS Number to establish BGP session. If not given, a default one will be assigned. */ peerAsn?: number + /** + * For self-hosted links only, it is possible to choose the VLAN ID. If the VLAN is not available (ie already taken or out of range), an error is returned. + */ + vlan?: number } export type CreateRoutingPolicyRequest = {