# Google Cloud Dialogflow Cx V3 Client - Class OpenApiTool (0.11.1)

0.11.1 (latest) 0.11.0 0.10.2 0.9.2 0.8.1 0.7.2 0.6.0 0.5.2 0.4.1 0.3.4 0.2.1 0.1.1 Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class OpenApiTool.

An OpenAPI tool is a way to provide the Tool specifications in the Open API
schema format.

Generated from protobuf message `google.cloud.dialogflow.cx.v3.Tool.OpenApiTool`

## Namespace

Google \\ Cloud \\ Dialogflow \\ Cx \\ V3 \\ Tool

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ text_schema` | `string` Required. The OpenAPI schema specified as a text. |
| `↳ authentication` | `https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.Tool.Authentication` Optional. Authentication information required by the API. |
| `↳ tls_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.Tool.TLSConfig` Optional. TLS configuration for the HTTPS verification. |
| `↳ service_directory_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.Tool.ServiceDirectoryConfig` Optional. Service Directory configuration. |

### getTextSchema

Required. The OpenAPI schema specified as a text.

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

### hasTextSchema

### setTextSchema

Required. The OpenAPI schema specified as a text.

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

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

### getAuthentication

Optional. Authentication information required by the API.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.Tool.Authentication|null` |   |

### hasAuthentication

### clearAuthentication

### setAuthentication

Optional. Authentication information required by the API.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.Tool.Authentication` |

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

### getTlsConfig

Optional. TLS configuration for the HTTPS verification.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.Tool.TLSConfig|null` |   |

### hasTlsConfig

### clearTlsConfig

### setTlsConfig

Optional. TLS configuration for the HTTPS verification.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.Tool.TLSConfig` |

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

### getServiceDirectoryConfig

Optional. Service Directory configuration.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.Tool.ServiceDirectoryConfig|null` |   |

### hasServiceDirectoryConfig

### clearServiceDirectoryConfig

### setServiceDirectoryConfig

Optional. Service Directory configuration.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.Tool.ServiceDirectoryConfig` |

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

### getSchema

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