public sealed class Snapshot : IMessage<Snapshot>, IEquatable<Snapshot>, IDeepCloneable<Snapshot>, IBufferMessage, IMessageReference documentation and code samples for the Cloud Filestore v1 API class Snapshot.
A Filestore snapshot.
Namespace
Google.Cloud.Filestore.V1Assembly
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-typed view over the 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:
| Property Value | |
|---|---|
| Type | Description |
MapFieldstringstring |
|