class GoogleAdkPlugin(SimplePlugin): (source)
Constructor: GoogleAdkPlugin(toolset_providers)
A Temporal Worker Plugin configured for ADK.
Warning
This class is experimental and may change in future versions. Use with caution in production environments.
This plugin configures: - Pydantic Payload Converter (required for ADK objects). - Sandbox Passthrough for google.adk and google.genai modules.
At worker and replayer configuration time it also warns when the global OpenTelemetry meter or tracer provider is not replay-safe, since ADK telemetry recorded from workflow code would duplicate on replay.
| Method | __init__ |
Initializes the Temporal ADK Plugin. |
| Method | configure |
See base class. Also warns when the global OpenTelemetry meter or tracer provider is not replay-safe, since every replayed workflow would re-emit ADK telemetry. |
| Method | configure |
See base class. Also warns when the global OpenTelemetry meter or tracer provider is not replay-safe, since ADK telemetry would duplicate on replay. |
| Method | _configure |
Undocumented |
Inherited from SimplePlugin:
| Method | configure |
See base class. |
| Async Method | connect |
See base class. |
| Method | name |
See base class. |
| Async Method | run |
See base class. |
| Async Method | run |
See base class. |
| Instance Variable | activities |
Undocumented |
| Instance Variable | data |
Undocumented |
| Instance Variable | interceptors |
Undocumented |
| Instance Variable | nexus |
Undocumented |
| Instance Variable | run |
Undocumented |
| Instance Variable | workflow |
Undocumented |
| Instance Variable | workflow |
Undocumented |
| Instance Variable | workflows |
Undocumented |
| Instance Variable | _name |
Undocumented |
list[ TemporalMcpToolSetProvider | TemporalStatefulMcpToolSetProvider] | None = None):
(source)
¶
temporalio.plugin.SimplePlugin.__init__Initializes the Temporal ADK Plugin.
| Parameters | |
toolsetlist[ | Optional list of stateless
(TemporalMcpToolSetProvider) or stateful
(TemporalStatefulMcpToolSetProvider) toolset providers
for MCP integration. |
See base class. Also warns when the global OpenTelemetry meter or tracer provider is not replay-safe, since every replayed workflow would re-emit ADK telemetry.