Cloud Filestore v1 API - Class Snapshot (2.4.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 > Snapshot

Namespace

Google.Cloud.Filestore.V1

Assembly

Google.Cloud.Filestore.V1.dll

Constructors

Snapshot()

public Snapshot()

Snapshot(Snapshot)

public Snapshot(Snapshot other)
Parameter
NameDescription
otherSnapshot

Properties

CreateTime

public Timestamp CreateTime { get; set; }

Output only. The time when the snapshot was created.

Property Value
TypeDescription
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
TypeDescription
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
TypeDescription
long

Labels

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

Resource labels to represent user provided metadata.

Property Value
TypeDescription
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
TypeDescription
string

SnapshotName

public SnapshotName SnapshotName { get; set; }

SnapshotName-typed view over the Name resource name property.

Property Value
TypeDescription
SnapshotName

State

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

Output only. The snapshot state.

Property Value
TypeDescription
SnapshotTypesState