[egulu CLI reference](../index.md) / [egulu service-goals](index.md)

# egulu service-goals update

PATCH /v1/projects/{project}/locations/{location}/serviceGoals/{serviceGoal}

```sh
egulu service-goals update <NAME> [options]
```

## API operation

[ServiceGoals_update](../../api/observability/ServiceGoals_update.md): `PATCH /v1/projects/{project}/locations/{location}/serviceGoals/{serviceGoal}` (observability module)

## Arguments

| Name | Required | Description |
|---|---|---|
| `NAME` | yes | the serviceGoal |

## Options

| Option | Takes | Required | Description |
|---|---|---|---|
| `--location` | value | yes | location |
| `--project` | value | yes | project |
| `--resource` | value | no | resource |
| `--window-days` | value | no | windowDays |

The [global options](../index.md) apply too.
