# Google Cloud Dms V1 Client - Class EntityMappingLogEntry (2.1.3)

2.1.3 (latest) 2.1.2 2.0.6 1.5.5 1.4.2 1.3.0 1.2.1 1.1.0 1.0.5 Reference documentation and code samples for the Google Cloud Dms V1 Client class EntityMappingLogEntry.

A single record of a rule which was used for a mapping.

Generated from protobuf message `google.cloud.clouddms.v1.EntityMappingLogEntry`

## Namespace

Google \\ Cloud \\ CloudDms \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ rule_id` | `string` Which rule caused this log entry. |
| `↳ rule_revision_id` | `string` Rule revision ID. |
| `↳ mapping_comment` | `string` Comment. |

### getRuleId

Which rule caused this log entry.

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

### setRuleId

Which rule caused this log entry.

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

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

### getRuleRevisionId

Rule revision ID.

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

### setRuleRevisionId

Rule revision ID.

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

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

### getMappingComment

Comment.

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

### setMappingComment

Comment.

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

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