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

Response message for
[ToolService.RetrieveToolSchema](https://docs.cloud.google.com/php/docs/reference/cloud-ces/latest/V1.Client.ToolServiceClient.md.txt#_Google_Cloud_Ces_V1_Client_ToolServiceClient__retrieveToolSchema__).

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

## Namespace

Google \\ Cloud \\ Ces \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ tool` | `string` The name of the tool that the schema is for. Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}` |
| `↳ toolset_tool` | `ToolsetTool` The toolset tool that the schema is for. |
| `↳ input_schema` | `Schema` The schema of the tool input parameters. |
| `↳ output_schema` | `Schema` The schema of the tool output parameters. |

### getTool

The name of the tool that the schema is for.

Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}`

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

### hasTool

### setTool

The name of the tool that the schema is for.

Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}`

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

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

### getToolsetTool

The toolset tool that the schema is for.

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

### hasToolsetTool

### setToolsetTool

The toolset tool that the schema is for.

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

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

### getInputSchema

The schema of the tool input parameters.

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

### hasInputSchema

### clearInputSchema

### setInputSchema

The schema of the tool input parameters.

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

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

### getOutputSchema

The schema of the tool output parameters.

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

### hasOutputSchema

### clearOutputSchema

### setOutputSchema

The schema of the tool output parameters.

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

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

### getToolIdentifier

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