# Google Cloud Dms V1 Client - Class ListMappingRulesResponse (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 ListMappingRulesResponse.

Response message for 'ListMappingRulesRequest' request.

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

## Namespace

Google \\ Cloud \\ CloudDms \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ mapping_rules` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-dms/latest/V1.MappingRule>` The list of conversion workspace mapping rules. |
| `↳ next_page_token` | `string` A token which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. |

### getMappingRules

The list of conversion workspace mapping rules.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-dms/latest/V1.MappingRule>` |   |

### setMappingRules

The list of conversion workspace mapping rules.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-dms/latest/V1.MappingRule>` |

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

### getNextPageToken

A token which can be sent as `page_token` to retrieve the next page.

If this field is omitted, there are no subsequent pages.

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

### setNextPageToken

A token which can be sent as `page_token` to retrieve the next page.

If this field is omitted, there are no subsequent pages.

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

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