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

The agent will immediately respond with a preconfigured response.

Generated from protobuf message `google.cloud.ces.v1.TriggerAction.RespondImmediately`

## Namespace

Google \\ Cloud \\ Ces \\ V1 \\ TriggerAction

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ responses` | `array<Response>` Required. The canned responses for the agent to choose from. The response is chosen randomly. |

### getResponses

Required. The canned responses for the agent to choose from. The response
is chosen randomly.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<Response>` |   |

### setResponses

Required. The canned responses for the agent to choose from. The response
is chosen randomly.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<Response>` |

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