File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
packages/clients/src/api/webhosting/v1alpha1 Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -78,6 +78,7 @@ export const unmarshalHosting = (data: unknown): Hosting => {
7878 platformHostname : data . platform_hostname ,
7979 platformNumber : data . platform_number ,
8080 projectId : data . project_id ,
81+ protected : data . protected ,
8182 region : data . region ,
8283 status : data . status ,
8384 tags : data . tags ,
@@ -269,5 +270,6 @@ export const marshalUpdateHostingRequest = (
269270 email : request . email ,
270271 offer_id : request . offerId ,
271272 option_ids : request . optionIds ,
273+ protected : request . protected ,
272274 tags : request . tags ,
273275} )
Original file line number Diff line number Diff line change @@ -157,6 +157,8 @@ export interface Hosting {
157157 ipv4 : string
158158 /** IPv6 address of the hosting's host server. */
159159 ipv6 : string
160+ /** Whether the hosting is protected or not. */
161+ protected : boolean
160162 /** Region where the Web Hosting plan is hosted. */
161163 region : Region
162164}
@@ -392,4 +394,6 @@ export type UpdateHostingRequest = {
392394 optionIds ?: string [ ]
393395 /** ID of the new offer for the Web Hosting plan. */
394396 offerId ?: string
397+ /** Whether the hosting is protected or not. */
398+ protected ?: boolean
395399}
You can’t perform that action at this time.
0 commit comments