# Class Snapshot (1.17.0)

1.17.0 (latest) 1.16.0 1.15.0 1.14.0 1.13.2 1.12.0 1.11.0 1.10.1 1.9.5 1.8.0 1.7.0 1.6.2 1.5.1 1.4.1 1.3.0 1.2.3 1.1.3 1.0.0 0.2.3 0.1.0

    Snapshot(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A Filestore snapshot.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` Output only. The resource name of the snapshot, in the format `projects/{project_id}/locations/{location_id}/instances/{instance_id}/snapshots/{snapshot_id}`. |
| `description` | `str` A description of the snapshot with 2048 characters or less. Requests with longer descriptions will be rejected. |
| `state` | `https://docs.cloud.google.com/python/docs/reference/file/latest/google.cloud.filestore_v1.types.Snapshot.State` Output only. The snapshot state. |
| `create_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The time when the snapshot was created. |
| `labels` | `MutableMapping[str, str]` Resource labels to represent user provided metadata. |
| `filesystem_used_bytes` | `int` Output only. The amount of bytes needed to allocate a full copy of the snapshot content |
| `tags` | `MutableMapping[str, str]` 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 |

## Classes

### LabelsEntry

    LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `kwargs` | `dict` Keys and values corresponding to the fields of the message. |
| `mapping` | ``Union[dict, `.Message`]`` A dictionary or message to be used to determine the values for this message. |
| `ignore_unknown_fields` | `Optional(bool)` If True, do not raise errors for unknown fields. Only applied if `mapping` is a mapping type or there are keyword parameters. |

### State

    State(value)

The snapshot state.

### TagsEntry

    TagsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `kwargs` | `dict` Keys and values corresponding to the fields of the message. |
| `mapping` | ``Union[dict, `.Message`]`` A dictionary or message to be used to determine the values for this message. |
| `ignore_unknown_fields` | `Optional(bool)` If True, do not raise errors for unknown fields. Only applied if `mapping` is a mapping type or there are keyword parameters. |