# REST Resource: changes

- [Resource: Change](https://docs.cloud.google.com/dns/docs/reference/rest/v1/changes#Change)
  - [JSON representation](https://docs.cloud.google.com/dns/docs/reference/rest/v1/changes#Change.SCHEMA_REPRESENTATION)
- [Methods](https://docs.cloud.google.com/dns/docs/reference/rest/v1/changes#METHODS_SUMMARY)

## Resource: Change

A Change represents a set of `ResourceRecordSet` additions and deletions applied atomically to a ManagedZone. ResourceRecordSets within a ManagedZone are modified by creating a new Change element in the Changes collection. In turn the Changes collection also records the past modifications to the `ResourceRecordSets` in a `ManagedZone`. The current state of the `ManagedZone` is the sum effect of applying all `Change` elements in the `Changes` collection in sequence.

| JSON representation |
|---|
| ``` { "additions": [ { object (`https://docs.cloud.google.com/dns/docs/reference/rest/v1/resourceRecordSets#ResourceRecordSet`) } ], "deletions": [ { object (`https://docs.cloud.google.com/dns/docs/reference/rest/v1/resourceRecordSets#ResourceRecordSet`) } ], "startTime": string, "id": string, "status": enum (`https://docs.cloud.google.com/dns/docs/reference/rest/v1/OperationStatus`), "isServing": boolean, "kind": string } ``` |

| Fields ||
|---|---|
| `additions[]` | ``object (`https://docs.cloud.google.com/dns/docs/reference/rest/v1/resourceRecordSets#ResourceRecordSet`)`` Which ResourceRecordSets to add? |
| `deletions[]` | ``object (`https://docs.cloud.google.com/dns/docs/reference/rest/v1/resourceRecordSets#ResourceRecordSet`)`` Which ResourceRecordSets to remove? Must match existing data exactly. |
| `startTime` | `string` The time that this operation was started by the server (output only). This is in RFC3339 text format. |
| `id` | `string` Unique identifier for the resource; defined by the server (output only). |
| `status` | ``enum (`https://docs.cloud.google.com/dns/docs/reference/rest/v1/OperationStatus`)`` Status of the operation (output only). A status of "done" means that the request to update the authoritative servers has been sent, but the servers might not be updated yet. |
| `isServing` | `boolean` If the DNS queries for the zone will be served. |
| `kind` | `string` |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/dns/docs/reference/rest/v1/changes/create` | Atomically updates the ResourceRecordSet collection. |
| ### `https://docs.cloud.google.com/dns/docs/reference/rest/v1/changes/get` | Fetches the representation of an existing Change. |
| ### `https://docs.cloud.google.com/dns/docs/reference/rest/v1/changes/list` | Enumerates Changes to a ResourceRecordSet collection. |