# VariableSetResult

> The VariableSetResult object in the Guv API.

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `variables` * | array of [Variable](/docs/api/objects/variable/) |  |
| `redeploy_required` * | array of [ResourceRef](/docs/api/objects/resource-ref/) | Services that pick up the change on their next deployment. |
| `fix` | string or null |  |

\* always present

## Example

```json
{
  "variables": [
    {
      "name": "DATABASE_URL",
      "value": "${{ databases.main.pooled_url }}",
      "kind": "reference",
      "scope": "service",
      "service_id": "svc_01jbx2m9k7q4r8t5v6w3y0z1sv",
      "public": false,
      "build": false,
      "managed_by_manifest": true,
      "updated_by": {
        "type": "user",
        "id": "usr_01jbx2m9k7q4r8t5v6w3y0z1us",
        "display": "Stewart Webb"
      },
      "updated_at": "2026-10-23T10:00:00Z"
    }
  ],
  "redeploy_required": [
    {
      "type": "service",
      "id": "svc_01jbx2m9k7q4r8t5v6w3y0z1sv",
      "name": "web",
      "url": "/v1/projects/primecarers/services/web"
    }
  ],
  "fix": "guv deploy --service web --env production"
}
```

## Used by

- [Set plain variables (create or replace)](/docs/api/variables/#set-plain-variables-create-or-replace)
