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