# Google Cloud Migration Center V1 Client - Class GroupPreferenceSetAssignment (1.2.3)

1.2.3 (latest) 1.2.2 1.1.2 1.0.3 0.4.5 0.3.1 0.2.0 0.1.0 Reference documentation and code samples for the Google Cloud Migration Center V1 Client class GroupPreferenceSetAssignment.

Represents a combination of a group with a preference set.

Generated from protobuf message `google.cloud.migrationcenter.v1.ReportConfig.GroupPreferenceSetAssignment`

## Namespace

Google \\ Cloud \\ MigrationCenter \\ V1 \\ ReportConfig

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ group` | `string` Required. Name of the group. |
| `↳ preference_set` | `string` Required. Name of the Preference Set. |

### getGroup

Required. Name of the group.

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

### setGroup

Required. Name of the group.

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

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

### getPreferenceSet

Required. Name of the Preference Set.

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

### setPreferenceSet

Required. Name of the Preference Set.

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

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