---
title: "PATCH /v1/{+name}"
method: PATCH
path: "/v1/{+name}"
tags: ["projects"]
---

# PATCH /v1/{+name}

`PATCH /v1/{+name}`

Updates the settings of a specific snapshot.

## Path parameters

- `name` string, required

## Query parameters

- `updateMask` string

## Request body

- Snapshot — A Filestore snapshot.
  - `name` string — Output only. The resource name of the snapshot, in the format `projects/{project_id}/locations/{location_id}/instances/{instance_id}/snapshots/{snapshot_id}`.
  - `tags` object — Optional. Input only. Immutable. Tag key-value pairs bound to this resource. Each key must be a namespaced name and each value a short name. Example: "123456789012/environment" : "production", "123456789013/costCenter" : "marketing" See the documentation for more information: - Namespaced name: https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#retrieving_tag_key - Short name: https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing#retrieving_tag_value
  - `labels` object — Resource labels to represent user provided metadata.
  - `description` string — A description of the snapshot with 2048 characters or less. Requests with longer descriptions will be rejected.
  - `state` 'STATE_UNSPECIFIED' | 'CREATING' | 'READY' | 'DELETING' — Output only. The snapshot state.
  - `createTime` string, google-datetime — Output only. The time when the snapshot was created.
  - `filesystemUsedBytes` string, int64 — Output only. The amount of bytes needed to allocate a full copy of the snapshot content

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/file.md) · [All operations](https://skmtc.dev/google/apis/file/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/file/revisions/f3d16365a416/schema)
