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

Entity CRUD operation specification.

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

## Namespace

Google \\ Cloud \\ Ces \\ V1 \\ Action

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ entity_id` | `string` Required. ID of the entity. |
| `↳ operation` | `int` Required. Operation to perform on the entity. |

### getEntityId

Required. ID of the entity.

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

### setEntityId

Required. ID of the entity.

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

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

### getOperation

Required. Operation to perform on the entity.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [OperationType](https://docs.cloud.google.com/php/docs/reference/cloud-ces/latest/V1.Action.EntityOperation.OperationType.md.txt). |

### setOperation

Required. Operation to perform on the entity.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [OperationType](https://docs.cloud.google.com/php/docs/reference/cloud-ces/latest/V1.Action.EntityOperation.OperationType.md.txt). |

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