---
title: "CreateOrUpdateMetricsGrpDto"
slug: "common-apidatatype-cicreateorupdatemetricsgrpdto"
tags: ["Classic"]
updated: 2026-04-23T08:55:27Z
published: 2026-04-23T09:02:14Z
---

> ## 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

<p class="platform-info type-classic-vpc">Classic/VPC 환경에서 이용 가능합니다.</p>

감시 항목 그룹을 생성하거나 수정합니다.

## 구문 <a name="구문"></a>
구문은 다음과 같습니다.

```Java
private String prodKey;
private String groupName;
private String groupDesc;
private Set<MetricsGroupItem> metricsGroupItems;
private boolean temporaryGroup;
private String id;
```

## 필드 <a name="필드"></a>
필드에 대한 설명은 다음과 같습니다. 

| 필드 | 타입 | 필수 여부 | 설명 |
|-----|--------|------------|------|
| `prodKey` | String | Required | 상품의 cw_key|
| `groupName` | String | Required | 감시 항목 그룹 이름<ul><li>1~100</li></ul> |
| `groupDesc`| String | Optional | 감시 항목 그룹 설명<ul><li>300 이하</li></ul> |
| `metricsGroupItems` | Set<[MetricsGroupItem](/docs/common-apidatatype-cimetricsgroupitem)> | Required | 감시 항목 지정<ul><li>1 이상</li></ul> |
| `temporaryGroup` | Boolean | Required | 감시 항목 그룹 생성 여부<ul><li>`true` \| `false`<ul><li>`true`일 경우 감시 항목 그룹 생성 없이 Event Rule을 생성함</li></ul> |
| `id` | String | Optional | 감시 항목 그룹 ID |
