@@ -22,6 +22,10 @@ class GetNetworkMetadataResponse200:
2222 default_topology (Union[Unset, str]): Indicates the default topology of the network used when creating a
2323 project. Values can be "star" or "tree".
2424 dpo_authorization_enabled (Union[Unset, bool]): Indicates if collective projects require authorization.
25+ e_2_ee_enforced (Union[Unset, bool]): Indicates if the instance is configured to only allow end-to-end encrypted
26+ computations.
27+ When this mode is activated, the e2e project setting cannot be toggled off anymore and only computations
28+ supporting e2e mode can be launched.
2529 network_type (Union[Unset, GetNetworkMetadataResponse200NetworkType]): Indicates the type of network. Values can
2630 be "default" or "sse".
2731 networks (Union[Unset, List['Network']]):
@@ -32,6 +36,7 @@ class GetNetworkMetadataResponse200:
3236 compound_queries_enabled : Union [Unset , bool ] = UNSET
3337 default_topology : Union [Unset , str ] = UNSET
3438 dpo_authorization_enabled : Union [Unset , bool ] = UNSET
39+ e_2_ee_enforced : Union [Unset , bool ] = UNSET
3540 network_type : Union [Unset , GetNetworkMetadataResponse200NetworkType ] = UNSET
3641 networks : Union [Unset , List ["Network" ]] = UNSET
3742 nodes : Union [Unset , List ["Node" ]] = UNSET
@@ -42,6 +47,7 @@ def to_dict(self) -> Dict[str, Any]:
4247 compound_queries_enabled = self .compound_queries_enabled
4348 default_topology = self .default_topology
4449 dpo_authorization_enabled = self .dpo_authorization_enabled
50+ e_2_ee_enforced = self .e_2_ee_enforced
4551 network_type : Union [Unset , str ] = UNSET
4652 if not isinstance (self .network_type , Unset ):
4753 network_type = self .network_type .value
@@ -75,6 +81,8 @@ def to_dict(self) -> Dict[str, Any]:
7581 field_dict ["defaultTopology" ] = default_topology
7682 if dpo_authorization_enabled is not UNSET :
7783 field_dict ["dpoAuthorizationEnabled" ] = dpo_authorization_enabled
84+ if e_2_ee_enforced is not UNSET :
85+ field_dict ["e2eeEnforced" ] = e_2_ee_enforced
7886 if network_type is not UNSET :
7987 field_dict ["networkType" ] = network_type
8088 if networks is not UNSET :
@@ -98,6 +106,8 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
98106
99107 dpo_authorization_enabled = d .pop ("dpoAuthorizationEnabled" , UNSET )
100108
109+ e_2_ee_enforced = d .pop ("e2eeEnforced" , UNSET )
110+
101111 _network_type = d .pop ("networkType" , UNSET )
102112 network_type : Union [Unset , GetNetworkMetadataResponse200NetworkType ]
103113 if isinstance (_network_type , Unset ):
@@ -125,6 +135,7 @@ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
125135 compound_queries_enabled = compound_queries_enabled ,
126136 default_topology = default_topology ,
127137 dpo_authorization_enabled = dpo_authorization_enabled ,
138+ e_2_ee_enforced = e_2_ee_enforced ,
128139 network_type = network_type ,
129140 networks = networks ,
130141 nodes = nodes ,
0 commit comments