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

A snapshot of the app.

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

## Namespace

Google \\ Cloud \\ Ces \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ app` | `App` Optional. The basic settings for the app. |
| `↳ agents` | `array<Agent>` Optional. List of agents in the app. |
| `↳ tools` | `array<Tool>` Optional. List of tools in the app. |
| `↳ examples` | `array<Example>` Optional. List of examples in the app. |
| `↳ guardrails` | `array<Guardrail>` Optional. List of guardrails in the app. |
| `↳ toolsets` | `array<Toolset>` Optional. List of toolsets in the app. |

### getApp

Optional. The basic settings for the app.

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

### hasApp

### clearApp

### setApp

Optional. The basic settings for the app.

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

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

### getAgents

Optional. List of agents in the app.

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

### setAgents

Optional. List of agents in the app.

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

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

### getTools

Optional. List of tools in the app.

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

### setTools

Optional. List of tools in the app.

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

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

### getExamples

Optional. List of examples in the app.

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

### setExamples

Optional. List of examples in the app.

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

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

### getGuardrails

Optional. List of guardrails in the app.

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

### setGuardrails

Optional. List of guardrails in the app.

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

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

### getToolsets

Optional. List of toolsets in the app.

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

### setToolsets

Optional. List of toolsets in the app.

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

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