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

PluginInstanceActionSource represents the plugin instance action source.

Generated from protobuf message `google.cloud.apihub.v1.SourceMetadata.PluginInstanceActionSource`

## Namespace

Google \\ Cloud \\ ApiHub \\ V1 \\ SourceMetadata

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ plugin_instance` | `string` Output only. The resource name of the source plugin instance. Format is `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}` |
| `↳ action_id` | `string` Output only. The id of the plugin instance action. |

### getPluginInstance

Output only. The resource name of the source plugin instance.

Format is
`projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`

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

### setPluginInstance

Output only. The resource name of the source plugin instance.

Format is
`projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`

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

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

### getActionId

Output only. The id of the plugin instance action.

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

### setActionId

Output only. The id of the plugin instance action.

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

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