@@ -4630,6 +4630,15 @@ class CreateAgentEngineConfig(_common.BaseModel):
46304630 labels : Optional [dict [str , str ]] = Field (
46314631 default = None , description = """The labels to be used for the Agent Engine."""
46324632 )
4633+ class_methods : Optional [list [dict [str , Any ]]] = Field (
4634+ default = None ,
4635+ description = """The class methods to be used for the Agent Engine.
4636+ If specified, they'll override the class methods that are autogenerated by
4637+ default. By default, methods are generated by inspecting the agent object
4638+ and generating a corresponding method for each method defined on the
4639+ agent class.
4640+ """ ,
4641+ )
46334642
46344643
46354644class CreateAgentEngineConfigDict (TypedDict , total = False ):
@@ -4687,6 +4696,14 @@ class CreateAgentEngineConfigDict(TypedDict, total=False):
46874696 labels : Optional [dict [str , str ]]
46884697 """The labels to be used for the Agent Engine."""
46894698
4699+ class_methods : Optional [list [dict [str , Any ]]]
4700+ """The class methods to be used for the Agent Engine.
4701+ If specified, they'll override the class methods that are autogenerated by
4702+ default. By default, methods are generated by inspecting the agent object
4703+ and generating a corresponding method for each method defined on the
4704+ agent class.
4705+ """
4706+
46904707
46914708CreateAgentEngineConfigOrDict = Union [
46924709 CreateAgentEngineConfig , CreateAgentEngineConfigDict
@@ -5244,6 +5261,15 @@ class UpdateAgentEngineConfig(_common.BaseModel):
52445261 labels : Optional [dict [str , str ]] = Field (
52455262 default = None , description = """The labels to be used for the Agent Engine."""
52465263 )
5264+ class_methods : Optional [list [dict [str , Any ]]] = Field (
5265+ default = None ,
5266+ description = """The class methods to be used for the Agent Engine.
5267+ If specified, they'll override the class methods that are autogenerated by
5268+ default. By default, methods are generated by inspecting the agent object
5269+ and generating a corresponding method for each method defined on the
5270+ agent class.
5271+ """ ,
5272+ )
52475273 update_mask : Optional [str ] = Field (
52485274 default = None ,
52495275 description = """The update mask to apply. For the `FieldMask` definition, see
@@ -5306,6 +5332,14 @@ class UpdateAgentEngineConfigDict(TypedDict, total=False):
53065332 labels : Optional [dict [str , str ]]
53075333 """The labels to be used for the Agent Engine."""
53085334
5335+ class_methods : Optional [list [dict [str , Any ]]]
5336+ """The class methods to be used for the Agent Engine.
5337+ If specified, they'll override the class methods that are autogenerated by
5338+ default. By default, methods are generated by inspecting the agent object
5339+ and generating a corresponding method for each method defined on the
5340+ agent class.
5341+ """
5342+
53095343 update_mask : Optional [str ]
53105344 """The update mask to apply. For the `FieldMask` definition, see
53115345 https://protobuf.dev/reference/protobuf/google.protobuf/#field-mask."""
@@ -11806,6 +11840,15 @@ class AgentEngineConfig(_common.BaseModel):
1180611840 agent_server_mode : Optional [AgentServerMode ] = Field (
1180711841 default = None , description = """The agent server mode to use for deployment."""
1180811842 )
11843+ class_methods : Optional [list [dict [str , Any ]]] = Field (
11844+ default = None ,
11845+ description = """The class methods to be used for the Agent Engine.
11846+ If specified, they'll override the class methods that are autogenerated by
11847+ default. By default, methods are generated by inspecting the agent object
11848+ and generating a corresponding method for each method defined on the
11849+ agent class.
11850+ """ ,
11851+ )
1180911852
1181011853
1181111854class AgentEngineConfigDict (TypedDict , total = False ):
@@ -11892,6 +11935,14 @@ class AgentEngineConfigDict(TypedDict, total=False):
1189211935 agent_server_mode : Optional [AgentServerMode ]
1189311936 """The agent server mode to use for deployment."""
1189411937
11938+ class_methods : Optional [list [dict [str , Any ]]]
11939+ """The class methods to be used for the Agent Engine.
11940+ If specified, they'll override the class methods that are autogenerated by
11941+ default. By default, methods are generated by inspecting the agent object
11942+ and generating a corresponding method for each method defined on the
11943+ agent class.
11944+ """
11945+
1189511946
1189611947AgentEngineConfigOrDict = Union [AgentEngineConfig , AgentEngineConfigDict ]
1189711948
0 commit comments