v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13174977.0 KB
projects

Updates the settings of a specific snapshot.

patch/v1/{+name}

Path parameters

namestring required

Output only. The resource name of the snapshot, in the format projects/{project_id}/locations/{location_id}/instances/{instance_id}/snapshots/{snapshot_id}.

Query parameters

updateMaskstring

Required. Mask of fields to update. At least one path must be supplied in this field.

Request body

namestring

Output only. The resource name of the snapshot, in the format projects/{project_id}/locations/{location_id}/instances/{instance_id}/snapshots/{snapshot_id}.

tagsobject

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

labelsobject

Resource labels to represent user provided metadata.

descriptionstring

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.

createTimestring google-datetime

Output only. The time when the snapshot was created.

filesystemUsedBytesstring int64

Output only. The amount of bytes needed to allocate a full copy of the snapshot content

Response

Successful response