2.8.0 (latest) 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.2.0 1.1.0 1.0.0

    public sealed class Snapshot : IMessage<Snapshot>, IEquatable<Snapshot>, IDeepCloneable<Snapshot>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Filestore v1 API class Snapshot.

A Filestore snapshot.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> Snapshot

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[Snapshot](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Filestore.V1/latest/Google.Cloud.Filestore.V1.Snapshot.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Snapshot](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Filestore.V1/latest/Google.Cloud.Filestore.V1.Snapshot.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[Snapshot](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Filestore.V1/latest/Google.Cloud.Filestore.V1.Snapshot.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Filestore.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Filestore.V1/latest/Google.Cloud.Filestore.V1.md.txt)

## Assembly

Google.Cloud.Filestore.V1.dll

## Constructors

### Snapshot()

    public Snapshot()

### Snapshot(Snapshot)

    public Snapshot(Snapshot other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `Snapshot` |

## Properties

### CreateTime

    public Timestamp CreateTime { get; set; }

Output only. The time when the snapshot was created.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Timestamp` |   |

### Description

    public string Description { get; set; }

A description of the snapshot with 2048 characters or less.
Requests with longer descriptions will be rejected.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### FilesystemUsedBytes

    public long FilesystemUsedBytes { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `long` |   |

### Labels

    public MapField<string, string> Labels { get; }

Resource labels to represent user provided metadata.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `MapFieldstringstring` |   |

### Name

    public string Name { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### SnapshotName

    public SnapshotName SnapshotName { get; set; }

[SnapshotName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Filestore.V1/latest/Google.Cloud.Filestore.V1.SnapshotName.md.txt)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Filestore.V1/latest/Google.Cloud.Filestore.V1.Snapshot.md.txt#Google_Cloud_Filestore_V1_Snapshot_Name) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `SnapshotName` |   |

### State

    public Snapshot.Types.State State { get; set; }

Output only. The snapshot state.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `SnapshotTypesState` |   |

### Tags

    public MapField<string, string> Tags { get; }

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>

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `MapFieldstringstring` |   |