Discovery Engine V1 API - Class Google::Cloud::DiscoveryEngine::V1::BAPConfig::ToolspecOverride (v2.14.0)

Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::BAPConfig::ToolspecOverride.

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.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#base_version

def base_version() -> ::String
Returns
  • (::String) — Required. Base toolspec version against which tools were authored. On Update, MUST match the server's current stable toolspec version for the connection; mismatch is rejected with a user-facing error directing the admin to re-download the latest tools first.

#base_version=

def base_version=(value) -> ::String
Parameter
  • value (::String) — Required. Base toolspec version against which tools were authored. On Update, MUST match the server's current stable toolspec version for the connection; mismatch is rejected with a user-facing error directing the admin to re-download the latest tools first.
Returns
  • (::String) — Required. Base toolspec version against which tools were authored. On Update, MUST match the server's current stable toolspec version for the connection; mismatch is rejected with a user-facing error directing the admin to re-download the latest tools first.

#tools

def tools() -> ::Array<::Google::Protobuf::Struct>
Returns
  • (::Array<::Google::Protobuf::Struct>) — Required. Tool definitions (one Struct per tool) that the admin has customised on top of the base toolspec returned by the fed API. REQUIRED because it is the only user-editable field in the modify API; the request must carry at least one tool.

#tools=

def tools=(value) -> ::Array<::Google::Protobuf::Struct>
Parameter
  • value (::Array<::Google::Protobuf::Struct>) — Required. Tool definitions (one Struct per tool) that the admin has customised on top of the base toolspec returned by the fed API. REQUIRED because it is the only user-editable field in the modify API; the request must carry at least one tool.
Returns
  • (::Array<::Google::Protobuf::Struct>) — Required. Tool definitions (one Struct per tool) that the admin has customised on top of the base toolspec returned by the fed API. REQUIRED because it is the only user-editable field in the modify API; the request must carry at least one tool.