Google Cloud Discovery Engine V1 Client - Class BAPConfig (1.17.0)

Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class BAPConfig.

The configuration for the BAP connector.

Generated from protobuf message google.cloud.discoveryengine.v1.BAPConfig

Namespace

Google \ Cloud \ DiscoveryEngine \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ supported_connector_modes int[]

Required. The supported connector modes for the associated BAP connection.

↳ enabled_actions string[]

Optional. The actions enabled on the associated BAP connection.

↳ toolspec_override 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).

getSupportedConnectorModes

Required. The supported connector modes for the associated BAP connection.

Returns
Type Description
Google\Protobuf\RepeatedField<int>

setSupportedConnectorModes

Required. The supported connector modes for the associated BAP connection.

Parameter
Name Description
var int[]
Returns
Type Description
$this

getEnabledActions

Optional. The actions enabled on the associated BAP connection.

Returns
Type Description
Google\Protobuf\RepeatedField<string>

setEnabledActions

Optional. The actions enabled on the associated BAP connection.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getToolspecOverride

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).

Returns
Type Description
BAPConfig\ToolspecOverride|null

hasToolspecOverride

clearToolspecOverride

setToolspecOverride

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).

Parameter
Name Description
var BAPConfig\ToolspecOverride
Returns
Type Description
$this