Skip to content

Commit 6d47490

Browse files
authored
feat(interlink): add display_name for pops (#2528)
1 parent bc6434c commit 6d47490

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

packages_generated/interlink/src/v1beta1/marshalling.gen.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ export const unmarshalPop = (data: unknown): Pop => {
164164
address: data.address,
165165
availableLinkBandwidthsMbps: data.available_link_bandwidths_mbps,
166166
city: data.city,
167+
displayName: data.display_name,
167168
hostingProviderName: data.hosting_provider_name,
168169
id: data.id,
169170
logoUrl: data.logo_url,

packages_generated/interlink/src/v1beta1/types.gen.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,10 @@ export interface Pop {
311311
* Available bandwidth in Mbits/s for future hosted links from available connections in this PoP.
312312
*/
313313
availableLinkBandwidthsMbps: number[]
314+
/**
315+
* Pretty name of the PoP. Includes name, hosting provider and location information (ex: Paris - TeleHouse TH2).
316+
*/
317+
displayName: string
314318
/**
315319
* Region of the PoP.
316320
*/

packages_generated/interlink/src/v1beta1/validation-rules.gen.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,9 @@ export const Pop = {
9999
city: {
100100
minLength: 1,
101101
},
102+
displayName: {
103+
minLength: 1,
104+
},
102105
hostingProviderName: {
103106
minLength: 1,
104107
},

0 commit comments

Comments
 (0)