|
18 | 18 | ) |
19 | 19 | from ..._base_client import make_request_options |
20 | 20 | from ...types.organizations import policy_update_params, policy_retrieve_params |
| 21 | +from ...types.organizations.veto_exec_policy_param import VetoExecPolicyParam |
21 | 22 | from ...types.organizations.policy_retrieve_response import PolicyRetrieveResponse |
22 | | -from ...types.organizations.executable_deny_list_param import ExecutableDenyListParam |
23 | 23 |
|
24 | 24 | __all__ = ["PoliciesResource", "AsyncPoliciesResource"] |
25 | 25 |
|
@@ -105,7 +105,7 @@ def update( |
105 | 105 | default_environment_image: Optional[str] | Omit = omit, |
106 | 106 | delete_archived_environments_after: Optional[str] | Omit = omit, |
107 | 107 | editor_version_restrictions: Dict[str, policy_update_params.EditorVersionRestrictions] | Omit = omit, |
108 | | - executable_deny_list: Optional[ExecutableDenyListParam] | Omit = omit, |
| 108 | + executable_deny_list: Optional[VetoExecPolicyParam] | Omit = omit, |
109 | 109 | maximum_environment_lifetime: Optional[str] | Omit = omit, |
110 | 110 | maximum_environments_per_user: Optional[str] | Omit = omit, |
111 | 111 | maximum_environment_timeout: Optional[str] | Omit = omit, |
@@ -182,8 +182,7 @@ def update( |
182 | 182 | editor_version_restrictions: editor_version_restrictions restricts which editor versions can be used. Maps |
183 | 183 | editor ID to version policy with allowed major versions. |
184 | 184 |
|
185 | | - executable_deny_list: executable_deny_list contains executables that are blocked from execution in |
186 | | - environments. |
| 185 | + executable_deny_list: executable_deny_list contains the veto exec policy for environments. |
187 | 186 |
|
188 | 187 | maximum_environment_lifetime: maximum_environment_lifetime controls for how long environments are allowed to |
189 | 188 | be reused. 0 means no maximum lifetime. Maximum duration is 180 days (15552000 |
@@ -341,7 +340,7 @@ async def update( |
341 | 340 | default_environment_image: Optional[str] | Omit = omit, |
342 | 341 | delete_archived_environments_after: Optional[str] | Omit = omit, |
343 | 342 | editor_version_restrictions: Dict[str, policy_update_params.EditorVersionRestrictions] | Omit = omit, |
344 | | - executable_deny_list: Optional[ExecutableDenyListParam] | Omit = omit, |
| 343 | + executable_deny_list: Optional[VetoExecPolicyParam] | Omit = omit, |
345 | 344 | maximum_environment_lifetime: Optional[str] | Omit = omit, |
346 | 345 | maximum_environments_per_user: Optional[str] | Omit = omit, |
347 | 346 | maximum_environment_timeout: Optional[str] | Omit = omit, |
@@ -418,8 +417,7 @@ async def update( |
418 | 417 | editor_version_restrictions: editor_version_restrictions restricts which editor versions can be used. Maps |
419 | 418 | editor ID to version policy with allowed major versions. |
420 | 419 |
|
421 | | - executable_deny_list: executable_deny_list contains executables that are blocked from execution in |
422 | | - environments. |
| 420 | + executable_deny_list: executable_deny_list contains the veto exec policy for environments. |
423 | 421 |
|
424 | 422 | maximum_environment_lifetime: maximum_environment_lifetime controls for how long environments are allowed to |
425 | 423 | be reused. 0 means no maximum lifetime. Maximum duration is 180 days (15552000 |
|
0 commit comments