AgentEngine
(
*
,
apiClient
:
typing
.
Optional
[
typing
.
Any
]
=
None
,
apiAsyncClient
:
typing
.
Optional
[
typing
.
Any
]
=
None
,
apiResource
:
typing
.
Optional
[
vertexai
.
_genai
.
types
.
common
.
ReasoningEngine
]
=
None
,
**
extra_data
:
typing
.
Any
)
An agent engine instance.
Methods
AgentEngine
AgentEngine
(
*
,
apiClient
:
typing
.
Optional
[
typing
.
Any
]
=
None
,
apiAsyncClient
:
typing
.
Optional
[
typing
.
Any
]
=
None
,
apiResource
:
typing
.
Optional
[
vertexai
.
_genai
.
types
.
common
.
ReasoningEngine
]
=
None
,
**
extra_data
:
typing
.
Any
)
Create a new model by parsing and validating input data from keyword arguments.
Raises [ ValidationError
][pydantic_core.ValidationError] if the input data cannot be
validated to form a valid model.
self
is explicitly positional-only to allow self
as a field name.
delete
delete
(
force
:
bool
=
False
,
config
:
typing
.
Optional
[
typing
.
Union
[
vertexai
.
_genai
.
types
.
common
.
DeleteAgentEngineConfig
,
vertexai
.
_genai
.
types
.
common
.
DeleteAgentEngineConfigDict
,
]
]
=
None
,
)
-
> None
Deletes the agent engine.
force
bool
Optional. If set to True, child resources will also be deleted. Otherwise, the request will fail with FAILED_PRECONDITION error when the Agent Engine has undeleted child resources. Defaults to False.
config
DeleteAgentEngineConfig
Optional. Additional configurations for deleting the Agent Engine.
operation_schemas
operation_schemas
()
-
> typing
.
Optional
[
list
[
typing
.
Dict
[
str
,
typing
.
Any
]]]
Returns the schemas of all registered operations for the agent.

