Class RemoteA2aConfig (0.7.4)

RemoteA2aConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Shared configuration for connecting to a remote A2A <https://github.com/a2aproject/A2A>__ agent.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
agent_card google.cloud.ces_v1beta.types.AgentCard
Optional. The full agent card defined inline. This field is a member of oneof_ agent_spec.
agent_registry str
Optional. Reference to the agent in the Agent Registry. Format: projects/{project}/locations/{location}/agents/{agent} This field is a member of oneof_ agent_spec.
api_authentication google.cloud.ces_v1beta.types.ApiAuthentication
Optional. Authentication configuration for calling the remote agent. Optional if the registry reference already handles authentication.
input_variable_mapping MutableMapping[str, str]
Optional. Mapping of input variable names of remote agent to GECX variable names.
output_variable_mapping MutableMapping[str, str]
Optional. Mapping of output variable names of remote agent to GECX variable names.
streaming_enabled bool
Optional. Whether streaming is enabled for the remote agent.
context_id str
Optional. If not empty, interactions with the remote A2A agent will use this context ID. This context_id field can refer to a session variable like $context.variables.order_agent_session_id.

Classes

InputVariableMappingEntry

InputVariableMappingEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
Name Description
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.

OutputVariableMappingEntry

OutputVariableMappingEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
Name Description
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.