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

Configuration of an Action for the tool to use.

Note: This can be either an Action or an Operation. See
<https://cloud.google.com/integration-connectors/docs/entities-operation-action>
for details.

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

## Namespace

Google \\ Cloud \\ Ces \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ connection_action_id` | `string` ID of a Connection action for the tool to use. |
| `↳ entity_operation` | `Action\EntityOperation` Entity operation configuration for the tool to use. |
| `↳ input_fields` | `string[]` Optional. Entity fields to use as inputs for the operation. If no fields are specified, all fields of the Entity will be used. |
| `↳ output_fields` | `string[]` Optional. Entity fields to return from the operation. If no fields are specified, all fields of the Entity will be returned. |

### getConnectionActionId

ID of a Connection action for the tool to use.

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

### hasConnectionActionId

### setConnectionActionId

ID of a Connection action for the tool to use.

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

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

### getEntityOperation

Entity operation configuration for the tool to use.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Action\EntityOperation|null` |   |

### hasEntityOperation

### setEntityOperation

Entity operation configuration for the tool to use.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Action\EntityOperation` |

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

### getInputFields

Optional. Entity fields to use as inputs for the operation.

If no fields are specified, all fields of the Entity will be used.

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

### setInputFields

Optional. Entity fields to use as inputs for the operation.

If no fields are specified, all fields of the Entity will be used.

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

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

### getOutputFields

Optional. Entity fields to return from the operation.

If no fields are specified, all fields of the Entity will be returned.

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

### setOutputFields

Optional. Entity fields to return from the operation.

If no fields are specified, all fields of the Entity will be returned.

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

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

### getActionSpec

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