0.6.0 (latest) 0.5.0 0.4.4 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the Google Cloud Ces V1 Client class Toolset.

A toolset represents a group of dynamically managed tools that can be used
by the agent.

Generated from protobuf message `google.cloud.ces.v1.Toolset`

## Namespace

Google \\ Cloud \\ Ces \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ mcp_toolset` | `McpToolset` Optional. A toolset that contains a list of tools that are offered by the MCP server. |
| `↳ open_api_toolset` | `OpenApiToolset` Optional. A toolset that contains a list of tools that are defined by an OpenAPI schema. |
| `↳ connector_toolset` | `ConnectorToolset` Optional. A toolset that generates tools from an Integration Connectors Connection. |
| `↳ name` | `string` Identifier. The unique identifier of the toolset. Format: `projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}` |
| `↳ display_name` | `string` Optional. The display name of the toolset. Must be unique within the same app. |
| `↳ description` | `string` Optional. The description of the toolset. |
| `↳ timeout` | `Google\Protobuf\Duration` Optional. The timeout for the toolset execution. If not set, the default timeout is 30 seconds for `SYNCHRONOUS` toolsets and 60 seconds for `ASYNCHRONOUS` toolsets. |
| `↳ create_time` | `Google\Protobuf\Timestamp` Output only. Timestamp when the toolset was created. |
| `↳ update_time` | `Google\Protobuf\Timestamp` Output only. Timestamp when the toolset was last updated. |
| `↳ etag` | `string` ETag used to ensure the object hasn't changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes. |
| `↳ execution_type` | `int` Optional. The execution type of the tools in the toolset. |
| `↳ tool_fake_config` | `ToolFakeConfig` Optional. Configuration for tools behavior in fake mode. |

### getMcpToolset

Optional. A toolset that contains a list of tools that are offered by the
MCP server.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `McpToolset|null` |   |

### hasMcpToolset

### setMcpToolset

Optional. A toolset that contains a list of tools that are offered by the
MCP server.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `McpToolset` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getOpenApiToolset

Optional. A toolset that contains a list of tools that are defined by an
OpenAPI schema.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `OpenApiToolset|null` |   |

### hasOpenApiToolset

### setOpenApiToolset

Optional. A toolset that contains a list of tools that are defined by an
OpenAPI schema.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `OpenApiToolset` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getConnectorToolset

Optional. A toolset that generates tools from an Integration Connectors
Connection.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `ConnectorToolset|null` |   |

### hasConnectorToolset

### setConnectorToolset

Optional. A toolset that generates tools from an Integration Connectors
Connection.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `ConnectorToolset` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getName

Identifier. The unique identifier of the toolset.

Format:
`projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setName

Identifier. The unique identifier of the toolset.

Format:
`projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDisplayName

Optional. The display name of the toolset. Must be unique within the same
app.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setDisplayName

Optional. The display name of the toolset. Must be unique within the same
app.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDescription

Optional. The description of the toolset.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setDescription

Optional. The description of the toolset.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getTimeout

Optional. The timeout for the toolset execution. If not set, the default
timeout is 30 seconds for `SYNCHRONOUS` toolsets and 60 seconds for
`ASYNCHRONOUS` toolsets.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Duration|null` |   |

### hasTimeout

### clearTimeout

### setTimeout

Optional. The timeout for the toolset execution. If not set, the default
timeout is 30 seconds for `SYNCHRONOUS` toolsets and 60 seconds for
`ASYNCHRONOUS` toolsets.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Protobuf\Duration` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getCreateTime

Output only. Timestamp when the toolset was created.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Timestamp|null` |   |

### hasCreateTime

### clearCreateTime

### setCreateTime

Output only. Timestamp when the toolset was created.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Protobuf\Timestamp` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getUpdateTime

Output only. Timestamp when the toolset was last updated.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Timestamp|null` |   |

### hasUpdateTime

### clearUpdateTime

### setUpdateTime

Output only. Timestamp when the toolset was last updated.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Protobuf\Timestamp` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getEtag

ETag used to ensure the object hasn't changed during a read-modify-write
operation. If the etag is empty, the update will overwrite any concurrent
changes.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setEtag

ETag used to ensure the object hasn't changed during a read-modify-write
operation. If the etag is empty, the update will overwrite any concurrent
changes.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getExecutionType

Optional. The execution type of the tools in the toolset.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [ExecutionType](https://docs.cloud.google.com/php/docs/reference/cloud-ces/latest/V1.ExecutionType.md.txt). |

### setExecutionType

Optional. The execution type of the tools in the toolset.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [ExecutionType](https://docs.cloud.google.com/php/docs/reference/cloud-ces/latest/V1.ExecutionType.md.txt). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getToolFakeConfig

Optional. Configuration for tools behavior in fake mode.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `ToolFakeConfig|null` |   |

### hasToolFakeConfig

### clearToolFakeConfig

### setToolFakeConfig

Optional. Configuration for tools behavior in fake mode.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `ToolFakeConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getToolsetType

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |