0.5.3 (latest) 0.4.4 0.3.0 0.2.1 0.1.4 Reference documentation and code samples for the Google Cloud Api Hub V1 Client class PluginActionConfig.

PluginActionConfig represents the configuration of an action supported by a
plugin.

Generated from protobuf message `google.cloud.apihub.v1.PluginActionConfig`

## Namespace

Google \\ Cloud \\ ApiHub \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ id` | `string` Required. The id of the action. |
| `↳ display_name` | `string` Required. The display name of the action. |
| `↳ description` | `string` Required. The description of the operation performed by the action. |
| `↳ trigger_mode` | `int` Required. The trigger mode supported by the action. |

### getId

Required. The id of the action.

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

### setId

Required. The id of the action.

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

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

### getDisplayName

Required. The display name of the action.

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

### setDisplayName

Required. The display name of the action.

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

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

### getDescription

Required. The description of the operation performed by the action.

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

### setDescription

Required. The description of the operation performed by the action.

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

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

### getTriggerMode

Required. The trigger mode supported by the action.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [TriggerMode](https://docs.cloud.google.com/php/docs/reference/cloud-apihub/latest/V1.PluginActionConfig.TriggerMode). |

### setTriggerMode

Required. The trigger mode supported by the action.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [TriggerMode](https://docs.cloud.google.com/php/docs/reference/cloud-apihub/latest/V1.PluginActionConfig.TriggerMode). |

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