Class Snapshot (1.0.0-beta03)

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

Represents a snapshot of a job.

Inheritance

Object > Snapshot

Namespace

Google.Cloud.Dataflow.V1Beta3

Assembly

Google.Cloud.Dataflow.V1Beta3.dll

Constructors

Snapshot()

public Snapshot()

Snapshot(Snapshot)

public Snapshot(Snapshot other)
Parameter
NameDescription
otherSnapshot

Properties

CreationTime

public Timestamp CreationTime { get; set; }

The time this snapshot was created.

Property Value
TypeDescription
Timestamp

Description

public string Description { get; set; }

User specified description of the snapshot. Maybe empty.

Property Value
TypeDescription
String

DiskSizeBytes

public long DiskSizeBytes { get; set; }

The disk byte size of the snapshot. Only available for snapshots in READY state.

Property Value
TypeDescription
Int64

Id

public string Id { get; set; }

The unique ID of this snapshot.

Property Value
TypeDescription
String

ProjectId

public string ProjectId { get; set; }

The project this snapshot belongs to.

Property Value
TypeDescription
String

PubsubMetadata

public RepeatedField<PubsubSnapshotMetadata> PubsubMetadata { get; }

Pub/Sub snapshot metadata.

Property Value
TypeDescription
RepeatedField<PubsubSnapshotMetadata>

Region

public string Region { get; set; }

Cloud region where this snapshot lives in, e.g., "us-central1".

Property Value
TypeDescription
String

SourceJobId

public string SourceJobId { get; set; }

The job this snapshot was created from.

Property Value
TypeDescription
String

State

public SnapshotState State { get; set; }

State of the snapshot.

Property Value
TypeDescription
SnapshotState

Ttl

public Duration Ttl { get; set; }

The time after which this snapshot will be automatically deleted.

Property Value
TypeDescription
Duration