@@ -17603,98 +17603,6 @@ class SandboxEnvironmentTemplateEgressControlConfigDict(TypedDict, total=False):
1760317603]
1760417604
1760517605
17606- class CreateSandboxEnvironmentTemplateConfig(_common.BaseModel):
17607- """Config for creating a Sandbox Template."""
17608-
17609- http_options: Optional[genai_types.HttpOptions] = Field(
17610- default=None, description="""Used to override HTTP request options."""
17611- )
17612- wait_for_completion: Optional[bool] = Field(
17613- default=True,
17614- description="""Waits for the operation to complete before returning.""",
17615- )
17616- custom_container_environment: Optional[
17617- SandboxEnvironmentTemplateCustomContainerEnvironment
17618- ] = Field(
17619- default=None,
17620- description="""The custom container environment for the sandbox template.""",
17621- )
17622- default_container_environment: Optional[
17623- SandboxEnvironmentTemplateDefaultContainerEnvironment
17624- ] = Field(
17625- default=None,
17626- description="""The default container environment for the sandbox template.""",
17627- )
17628- egress_control_config: Optional[SandboxEnvironmentTemplateEgressControlConfig] = (
17629- Field(
17630- default=None,
17631- description="""The egress control config for the sandbox template.""",
17632- )
17633- )
17634-
17635-
17636- class CreateSandboxEnvironmentTemplateConfigDict(TypedDict, total=False):
17637- """Config for creating a Sandbox Template."""
17638-
17639- http_options: Optional[genai_types.HttpOptions]
17640- """Used to override HTTP request options."""
17641-
17642- wait_for_completion: Optional[bool]
17643- """Waits for the operation to complete before returning."""
17644-
17645- custom_container_environment: Optional[
17646- SandboxEnvironmentTemplateCustomContainerEnvironmentDict
17647- ]
17648- """The custom container environment for the sandbox template."""
17649-
17650- default_container_environment: Optional[
17651- SandboxEnvironmentTemplateDefaultContainerEnvironmentDict
17652- ]
17653- """The default container environment for the sandbox template."""
17654-
17655- egress_control_config: Optional[SandboxEnvironmentTemplateEgressControlConfigDict]
17656- """The egress control config for the sandbox template."""
17657-
17658-
17659- CreateSandboxEnvironmentTemplateConfigOrDict = Union[
17660- CreateSandboxEnvironmentTemplateConfig, CreateSandboxEnvironmentTemplateConfigDict
17661- ]
17662-
17663-
17664- class _CreateSandboxEnvironmentTemplateRequestParameters(_common.BaseModel):
17665- """Parameters for creating Sandbox Environment Templates."""
17666-
17667- name: Optional[str] = Field(
17668- default=None,
17669- description="""Name of the agent runtime to create the template under.""",
17670- )
17671- display_name: Optional[str] = Field(
17672- default=None, description="""The display name of the sandbox template."""
17673- )
17674- config: Optional[CreateSandboxEnvironmentTemplateConfig] = Field(
17675- default=None, description=""""""
17676- )
17677-
17678-
17679- class _CreateSandboxEnvironmentTemplateRequestParametersDict(TypedDict, total=False):
17680- """Parameters for creating Sandbox Environment Templates."""
17681-
17682- name: Optional[str]
17683- """Name of the agent runtime to create the template under."""
17684-
17685- display_name: Optional[str]
17686- """The display name of the sandbox template."""
17687-
17688- config: Optional[CreateSandboxEnvironmentTemplateConfigDict]
17689- """"""
17690-
17691-
17692- _CreateSandboxEnvironmentTemplateRequestParametersOrDict = Union[
17693- _CreateSandboxEnvironmentTemplateRequestParameters,
17694- _CreateSandboxEnvironmentTemplateRequestParametersDict,
17695- ]
17696-
17697-
1769817606class PSCAutomationConfig(_common.BaseModel):
1769917607 """PSC config that is used to automatically create PSC endpoints in the user projects."""
1770017608
@@ -17798,6 +17706,105 @@ class PrivateServiceConnectConfigDict(TypedDict, total=False):
1779817706]
1779917707
1780017708
17709+ class CreateSandboxEnvironmentTemplateConfig(_common.BaseModel):
17710+ """Config for creating a Sandbox Template."""
17711+
17712+ http_options: Optional[genai_types.HttpOptions] = Field(
17713+ default=None, description="""Used to override HTTP request options."""
17714+ )
17715+ wait_for_completion: Optional[bool] = Field(
17716+ default=True,
17717+ description="""Waits for the operation to complete before returning.""",
17718+ )
17719+ custom_container_environment: Optional[
17720+ SandboxEnvironmentTemplateCustomContainerEnvironment
17721+ ] = Field(
17722+ default=None,
17723+ description="""The custom container environment for the sandbox template.""",
17724+ )
17725+ default_container_environment: Optional[
17726+ SandboxEnvironmentTemplateDefaultContainerEnvironment
17727+ ] = Field(
17728+ default=None,
17729+ description="""The default container environment for the sandbox template.""",
17730+ )
17731+ egress_control_config: Optional[SandboxEnvironmentTemplateEgressControlConfig] = (
17732+ Field(
17733+ default=None,
17734+ description="""The egress control config for the sandbox template.""",
17735+ )
17736+ )
17737+ ingress_control_config: Optional[PrivateServiceConnectConfig] = Field(
17738+ default=None,
17739+ description="""The ingress control config for the sandbox template.""",
17740+ )
17741+
17742+
17743+ class CreateSandboxEnvironmentTemplateConfigDict(TypedDict, total=False):
17744+ """Config for creating a Sandbox Template."""
17745+
17746+ http_options: Optional[genai_types.HttpOptions]
17747+ """Used to override HTTP request options."""
17748+
17749+ wait_for_completion: Optional[bool]
17750+ """Waits for the operation to complete before returning."""
17751+
17752+ custom_container_environment: Optional[
17753+ SandboxEnvironmentTemplateCustomContainerEnvironmentDict
17754+ ]
17755+ """The custom container environment for the sandbox template."""
17756+
17757+ default_container_environment: Optional[
17758+ SandboxEnvironmentTemplateDefaultContainerEnvironmentDict
17759+ ]
17760+ """The default container environment for the sandbox template."""
17761+
17762+ egress_control_config: Optional[SandboxEnvironmentTemplateEgressControlConfigDict]
17763+ """The egress control config for the sandbox template."""
17764+
17765+ ingress_control_config: Optional[PrivateServiceConnectConfigDict]
17766+ """The ingress control config for the sandbox template."""
17767+
17768+
17769+ CreateSandboxEnvironmentTemplateConfigOrDict = Union[
17770+ CreateSandboxEnvironmentTemplateConfig, CreateSandboxEnvironmentTemplateConfigDict
17771+ ]
17772+
17773+
17774+ class _CreateSandboxEnvironmentTemplateRequestParameters(_common.BaseModel):
17775+ """Parameters for creating Sandbox Environment Templates."""
17776+
17777+ name: Optional[str] = Field(
17778+ default=None,
17779+ description="""Name of the agent runtime to create the template under.""",
17780+ )
17781+ display_name: Optional[str] = Field(
17782+ default=None, description="""The display name of the sandbox template."""
17783+ )
17784+ config: Optional[CreateSandboxEnvironmentTemplateConfig] = Field(
17785+ default=None, description=""""""
17786+ )
17787+
17788+
17789+ class _CreateSandboxEnvironmentTemplateRequestParametersDict(TypedDict, total=False):
17790+ """Parameters for creating Sandbox Environment Templates."""
17791+
17792+ name: Optional[str]
17793+ """Name of the agent runtime to create the template under."""
17794+
17795+ display_name: Optional[str]
17796+ """The display name of the sandbox template."""
17797+
17798+ config: Optional[CreateSandboxEnvironmentTemplateConfigDict]
17799+ """"""
17800+
17801+
17802+ _CreateSandboxEnvironmentTemplateRequestParametersOrDict = Union[
17803+ _CreateSandboxEnvironmentTemplateRequestParameters,
17804+ _CreateSandboxEnvironmentTemplateRequestParametersDict,
17805+ ]
17806+
17807+
1780117808class SandboxEnvironmentTemplate(_common.BaseModel):
1780217809 """A sandbox environment template."""
1780317810
0 commit comments