File tree Expand file tree Collapse file tree
google/genai/_gaos/types/interactions Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4949class EnvironmentParam (TypedDict ):
5050 r"""Configuration for a custom environment."""
5151
52- environment_id : NotRequired [str ]
52+ id : NotRequired [str ]
5353 r"""Optional. The environment ID for the interaction. If specified, the request will
5454 update the existing environment instead of creating a new one.
5555 """
@@ -62,7 +62,7 @@ class EnvironmentParam(TypedDict):
6262class Environment (BaseModel ):
6363 r"""Configuration for a custom environment."""
6464
65- environment_id : Optional [str ] = None
65+ id : Optional [str ] = None
6666 r"""Optional. The environment ID for the interaction. If specified, the request will
6767 update the existing environment instead of creating a new one.
6868 """
@@ -79,7 +79,7 @@ class Environment(BaseModel):
7979
8080 @model_serializer (mode = "wrap" )
8181 def serialize_model (self , handler ):
82- optional_fields = set (["environment_id " , "network" , "sources" ])
82+ optional_fields = set (["id " , "network" , "sources" ])
8383 serialized = handler (self )
8484 m = {}
8585
You can’t perform that action at this time.
0 commit comments