# Migration Center v1 API - Class ReportConfig.Types.GroupPreferenceSetAssignment (1.5.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [1.5.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/latest/Google.Cloud.MigrationCenter.V1.ReportConfig.Types.GroupPreferenceSetAssignment)
- [1.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/1.4.0/Google.Cloud.MigrationCenter.V1.ReportConfig.Types.GroupPreferenceSetAssignment)
- [1.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/1.3.0/Google.Cloud.MigrationCenter.V1.ReportConfig.Types.GroupPreferenceSetAssignment)
- [1.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/1.2.0/Google.Cloud.MigrationCenter.V1.ReportConfig.Types.GroupPreferenceSetAssignment)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/1.1.0/Google.Cloud.MigrationCenter.V1.ReportConfig.Types.GroupPreferenceSetAssignment)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/1.0.0/Google.Cloud.MigrationCenter.V1.ReportConfig.Types.GroupPreferenceSetAssignment)

    public sealed class ReportConfig.Types.GroupPreferenceSetAssignment : IMessage<ReportConfig.Types.GroupPreferenceSetAssignment>, IEquatable<ReportConfig.Types.GroupPreferenceSetAssignment>, IDeepCloneable<ReportConfig.Types.GroupPreferenceSetAssignment>, IBufferMessage, IMessage

Reference documentation and code samples for the Migration Center v1 API class ReportConfig.Types.GroupPreferenceSetAssignment.

Represents a combination of a group with a preference set.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> ReportConfig.Types.GroupPreferenceSetAssignment

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ReportConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/latest/Google.Cloud.MigrationCenter.V1.ReportConfig)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/latest/Google.Cloud.MigrationCenter.V1.ReportConfig.Types)[GroupPreferenceSetAssignment](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/latest/Google.Cloud.MigrationCenter.V1.ReportConfig.Types.GroupPreferenceSetAssignment), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ReportConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/latest/Google.Cloud.MigrationCenter.V1.ReportConfig)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/latest/Google.Cloud.MigrationCenter.V1.ReportConfig.Types)[GroupPreferenceSetAssignment](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/latest/Google.Cloud.MigrationCenter.V1.ReportConfig.Types.GroupPreferenceSetAssignment), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ReportConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/latest/Google.Cloud.MigrationCenter.V1.ReportConfig)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/latest/Google.Cloud.MigrationCenter.V1.ReportConfig.Types)[GroupPreferenceSetAssignment](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/latest/Google.Cloud.MigrationCenter.V1.ReportConfig.Types.GroupPreferenceSetAssignment), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.MigrationCenter.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/latest/Google.Cloud.MigrationCenter.V1)

## Assembly

Google.Cloud.MigrationCenter.V1.dll

## Constructors

### GroupPreferenceSetAssignment()

    public GroupPreferenceSetAssignment()

### GroupPreferenceSetAssignment(GroupPreferenceSetAssignment)

    public GroupPreferenceSetAssignment(ReportConfig.Types.GroupPreferenceSetAssignment other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/latest/Google.Cloud.MigrationCenter.V1.ReportConfighttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/latest/Google.Cloud.MigrationCenter.V1.ReportConfig.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/latest/Google.Cloud.MigrationCenter.V1.ReportConfig.Types.GroupPreferenceSetAssignment` |

## Properties

### Group

    public string Group { get; set; }

Required. Name of the group.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### GroupAsGroupName

    public GroupName GroupAsGroupName { get; set; }

[GroupName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/latest/Google.Cloud.MigrationCenter.V1.GroupName)-typed view over the [Group](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/latest/Google.Cloud.MigrationCenter.V1.ReportConfig.Types.GroupPreferenceSetAssignment#Google_Cloud_MigrationCenter_V1_ReportConfig_Types_GroupPreferenceSetAssignment_Group) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/latest/Google.Cloud.MigrationCenter.V1.GroupName` |   |

### PreferenceSet

    public string PreferenceSet { get; set; }

Required. Name of the Preference Set.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### PreferenceSetAsPreferenceSetName

    public PreferenceSetName PreferenceSetAsPreferenceSetName { get; set; }

[PreferenceSetName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/latest/Google.Cloud.MigrationCenter.V1.PreferenceSetName)-typed view over the [PreferenceSet](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/latest/Google.Cloud.MigrationCenter.V1.ReportConfig.Types.GroupPreferenceSetAssignment#Google_Cloud_MigrationCenter_V1_ReportConfig_Types_GroupPreferenceSetAssignment_PreferenceSet) resource name
property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.MigrationCenter.V1/latest/Google.Cloud.MigrationCenter.V1.PreferenceSetName` |   |