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

Represents a distinct capability or function that an agent can perform.

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

## Namespace

Google \\ Cloud \\ Ces \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ id` | `string` Required. A unique identifier for the agent's skill. |
| `↳ name` | `string` Required. A human-readable name for the skill. |
| `↳ description` | `string` Required. A detailed description of the skill. |
| `↳ tags` | `string[]` Required. A set of keywords describing the skill's capabilities. |
| `↳ examples` | `string[]` Example prompts or scenarios that this skill can handle. |
| `↳ input_modes` | `string[]` The set of supported input media types for this skill, overriding the agent's defaults. |
| `↳ output_modes` | `string[]` The set of supported output media types for this skill, overriding the agent's defaults. |

### getId

Required. A unique identifier for the agent's skill.

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

### setId

Required. A unique identifier for the agent's skill.

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

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

### getName

Required. A human-readable name for the skill.

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

### setName

Required. A human-readable name for the skill.

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

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

### getDescription

Required. A detailed description of the skill.

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

### setDescription

Required. A detailed description of the skill.

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

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

### getTags

Required. A set of keywords describing the skill's capabilities.

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

### setTags

Required. A set of keywords describing the skill's capabilities.

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

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

### getExamples

Example prompts or scenarios that this skill can handle.

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

### setExamples

Example prompts or scenarios that this skill can handle.

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

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

### getInputModes

The set of supported input media types for this skill, overriding the
agent's defaults.

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

### setInputModes

The set of supported input media types for this skill, overriding the
agent's defaults.

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

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

### getOutputModes

The set of supported output media types for this skill, overriding the
agent's defaults.

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

### setOutputModes

The set of supported output media types for this skill, overriding the
agent's defaults.

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

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