snapshots
Overview
Name | snapshots |
Type | Resource |
Id | google.file.snapshots |
Fields
Name | Datatype | Description |
---|---|---|
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} . |
description | string | A description of the snapshot with 2048 characters or less. Requests with longer descriptions will be rejected. |
createTime | string | Output only. The time when the snapshot was created. |
filesystemUsedBytes | string | Output only. The amount of bytes needed to allocate a full copy of the snapshot content |
labels | object | Resource labels to represent user provided metadata. |
state | string | Output only. The snapshot state. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | instancesId, locationsId, projectsId, snapshotsId | Gets the details of a specific snapshot. |
list | SELECT | instancesId, locationsId, projectsId | Lists all snapshots in a project for either a specified location or for all locations. |
create | INSERT | instancesId, locationsId, projectsId | Creates a snapshot. |
delete | DELETE | instancesId, locationsId, projectsId, snapshotsId | Deletes a snapshot. |
_list | EXEC | instancesId, locationsId, projectsId | Lists all snapshots in a project for either a specified location or for all locations. |
patch | EXEC | instancesId, locationsId, projectsId, snapshotsId | Updates the settings of a specific snapshot. |