Class BAPConfig (0.20.6)

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

The configuration for the BAP connector.

Attributes

Name Description
supported_connector_modes MutableSequence[google.cloud.discoveryengine_v1.types.BAPConfig.ConnectorMode]
Required. The supported connector modes for the associated BAP connection.
enabled_actions MutableSequence[str]
Optional. The actions enabled on the associated BAP connection.
toolspec_override google.cloud.discoveryengine_v1.types.BAPConfig.ToolspecOverride
Optional. Custom toolspec overrides for this connection. For Enterprise BAP connectors that support admin-curated tool definitions, this holds the (simplified) per-tool overrides. On Get, populated by the server by merging persisted overrides with live runtime tool definitions and trimming the result for UI consumption. On Update, the supplied value replaces the persisted overrides after server-side validation and merging: the base_version field MUST match the server's current base toolspec version (otherwise the request is rejected with a user-facing error directing the admin to re-download the latest tools first).

Classes

ConnectorMode

ConnectorMode(value)

Use cases supported by this BAP connector.

ToolspecOverride

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

Customer-facing view of the admin-curated toolspec for a BAP connection. Holds the (simplified) per-tool definitions surfaced to and editable by the admin in the Discovery Engine UI.

Mirrors the shape of the backend google.cloud.connectorexecution.v1.ToolspecOverride message, but is intentionally kept as a separate public type so the Discovery Engine API surface can evolve independently of the fed-API surface (AIP-215). Handlers convert between the two via helpers in //cloud/ml/discoveryengine/external_service/v1main/data_connector_service/lib:bap_custom_tool_util.