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

The configuration of resources created for a given plugin instance action.

Generated from protobuf message `google.cloud.apihub.v1.PluginInstanceAction.ResourceConfig`

## Namespace

Google \\ Cloud \\ ApiHub \\ V1 \\ PluginInstanceAction

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ action_type` | `int` Output only. The type of the action. |
| `↳ pubsub_topic` | `string` Output only. The pubsub topic to publish the data to. Format is projects/{project}/topics/{topic} |

### getActionType

Output only. The type of the action.

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

### setActionType

Output only. The type of the action.

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

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

### getPubsubTopic

Output only. The pubsub topic to publish the data to. Format is
projects/{project}/topics/{topic}

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

### setPubsubTopic

Output only. The pubsub topic to publish the data to. Format is
projects/{project}/topics/{topic}

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

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