# REST Resource: projects.locations.reportConfigs

- [Resource: ReportConfig](https://docs.cloud.google.com/migration-center/docs/reference/rest/v1/projects.locations.reportConfigs#ReportConfig)
  - [JSON representation](https://docs.cloud.google.com/migration-center/docs/reference/rest/v1/projects.locations.reportConfigs#ReportConfig.SCHEMA_REPRESENTATION)
- [GroupPreferenceSetAssignment](https://docs.cloud.google.com/migration-center/docs/reference/rest/v1/projects.locations.reportConfigs#GroupPreferenceSetAssignment)
  - [JSON representation](https://docs.cloud.google.com/migration-center/docs/reference/rest/v1/projects.locations.reportConfigs#GroupPreferenceSetAssignment.SCHEMA_REPRESENTATION)
- [Methods](https://docs.cloud.google.com/migration-center/docs/reference/rest/v1/projects.locations.reportConfigs#METHODS_SUMMARY)

## Resource: ReportConfig

The groups and associated preference sets on which we can generate reports.

| JSON representation |
|---|
| ``` { "name": string, "createTime": string, "updateTime": string, "displayName": string, "description": string, "groupPreferencesetAssignments": [ { object (`https://docs.cloud.google.com/migration-center/docs/reference/rest/v1/projects.locations.reportConfigs#GroupPreferenceSetAssignment`) } ] } ``` |

| Fields ||
|---|---|
| `name` | `string` Output only. Name of resource. |
| `createTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. The timestamp when the resource was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: `"2014-10-02T15:01:23Z"` and `"2014-10-02T15:01:23.045123456Z"`. |
| `updateTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. The timestamp when the resource was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: `"2014-10-02T15:01:23Z"` and `"2014-10-02T15:01:23.045123456Z"`. |
| `displayName` | `string` User-friendly display name. Maximum length is 63 characters. |
| `description` | `string` Free-text description. |
| `groupPreferencesetAssignments[]` | ``object (`https://docs.cloud.google.com/migration-center/docs/reference/rest/v1/projects.locations.reportConfigs#GroupPreferenceSetAssignment`)`` Required. Collection of combinations of groups and preference sets. |

## GroupPreferenceSetAssignment

Represents a combination of a group with a preference set.

| JSON representation |
|---|
| ``` { "group": string, "preferenceSet": string } ``` |

| Fields ||
|---|---|
| `group` | `string` Required. Name of the group. |
| `preferenceSet` | `string` Required. Name of the Preference Set. |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/migration-center/docs/reference/rest/v1/projects.locations.reportConfigs/create` | Creates a report configuration. |
| ### `https://docs.cloud.google.com/migration-center/docs/reference/rest/v1/projects.locations.reportConfigs/delete` | Deletes a ReportConfig. |
| ### `https://docs.cloud.google.com/migration-center/docs/reference/rest/v1/projects.locations.reportConfigs/get` | Gets details of a single ReportConfig. |
| ### `https://docs.cloud.google.com/migration-center/docs/reference/rest/v1/projects.locations.reportConfigs/list` | Lists ReportConfigs in a given project and location. |