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

A tool that is created from a toolset.

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

## Namespace

Google \\ Cloud \\ Ces \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ toolset` | `string` Required. The resource name of the Toolset from which this tool is derived. Format: `projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}` |
| `↳ tool_id` | `string` Optional. The tool ID to filter the tools to retrieve the schema for. |

### getToolset

Required. The resource name of the Toolset from which this tool is derived.

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

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

### setToolset

Required. The resource name of the Toolset from which this tool is derived.

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

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

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

### getToolId

Optional. The tool ID to filter the tools to retrieve the schema for.

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

### setToolId

Optional. The tool ID to filter the tools to retrieve the schema for.

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

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