--- title: "CreateOrUpdateMetricsGrpDto" slug: "common-vapidatatype-cicreateorupdatemetricsgrpdto" tags: ["Classic"] updated: 2026-09-17T09:15:42Z published: 2026-09-17T09:15:42Z canonical: "api.ncloud-docs.com/common-vapidatatype-cicreateorupdatemetricsgrpdto" --- > ## Documentation Index > Fetch the complete documentation index at: https://api.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # CreateOrUpdateMetricsGrpDto Classic/VPC 환경에서 이용 가능합니다. 감시 항목 그룹을 생성하거나 수정합니다. ## 구문 구문은 다음과 같습니다. ``` private String prodKey; private String prodType; private String groupName; private String groupDesc; private Set metricsGroupItems; private boolean temporaryGroup; private String id; ``` ## 필드 필드에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `prodKey` | String | Required | 상품의 cw_key | | `prodType` | String | - | 상품 유형 - Ncloud 상품의 경우 `system` - Custom Schema의 경우 `custom` | | `groupName` | String | Required | 감시 항목 그룹 이름 - 1~100 | | `groupDesc` | String | Optional | 감시 항목 그룹 설명 - 300 이하 | | `metricsGroupItems` | Set<[MetricsGroupItem](/docs/common-apidatatype-cimetricsgroupitem)> | Required | 감시 항목 지정 - 1 이상 | | `temporaryGroup` | Boolean | Required | 감시 항목 그룹 생성 여부 - `true` \| `false` - `true`일 경우 감시 항목 그룹 생성 없이 Event Rule을 생성함 | | `id` | String | Optional | 감시 항목 그룹 ID |