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

Prompt settings used by the model when processing or summarizing the
google search results.

Generated from protobuf message `google.cloud.ces.v1.GoogleSearchTool.PromptConfig`

## Namespace

Google \\ Cloud \\ Ces \\ V1 \\ GoogleSearchTool

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ text_prompt` | `string` Optional. Defines the prompt used for the system instructions when interacting with the agent in chat conversations. If not set, default prompt will be used. |
| `↳ voice_prompt` | `string` Optional. Defines the prompt used for the system instructions when interacting with the agent in voice conversations. If not set, default prompt will be used. |

### getTextPrompt

Optional. Defines the prompt used for the system instructions when
interacting with the agent in chat conversations. If not set, default
prompt will be used.

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

### setTextPrompt

Optional. Defines the prompt used for the system instructions when
interacting with the agent in chat conversations. If not set, default
prompt will be used.

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

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

### getVoicePrompt

Optional. Defines the prompt used for the system instructions when
interacting with the agent in voice conversations. If not set, default
prompt will be used.

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

### setVoicePrompt

Optional. Defines the prompt used for the system instructions when
interacting with the agent in voice conversations. If not set, default
prompt will be used.

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

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