public sealed class Snapshot : IMessage<Snapshot>, IEquatable<Snapshot>, IDeepCloneable<Snapshot>, IBufferMessage, IMessage
Reference documentation and code samples for the Dataflow v1beta3 API class Snapshot.
Represents a snapshot of a job.
Namespace
Google.Cloud.Dataflow.V1Beta3Assembly
Google.Cloud.Dataflow.V1Beta3.dll
Constructors
Snapshot()
public Snapshot()
Snapshot(Snapshot)
public Snapshot(Snapshot other)
Parameter | |
---|---|
Name | Description |
other |
Snapshot |
Properties
CreationTime
public Timestamp CreationTime { get; set; }
The time this snapshot was created.
Property Value | |
---|---|
Type | Description |
Timestamp |
Description
public string Description { get; set; }
User specified description of the snapshot. Maybe empty.
Property Value | |
---|---|
Type | Description |
string |
DiskSizeBytes
public long DiskSizeBytes { get; set; }
The disk byte size of the snapshot. Only available for snapshots in READY state.
Property Value | |
---|---|
Type | Description |
long |
Id
public string Id { get; set; }
The unique ID of this snapshot.
Property Value | |
---|---|
Type | Description |
string |
ProjectId
public string ProjectId { get; set; }
The project this snapshot belongs to.
Property Value | |
---|---|
Type | Description |
string |
PubsubMetadata
public RepeatedField<PubsubSnapshotMetadata> PubsubMetadata { get; }
Pub/Sub snapshot metadata.
Property Value | |
---|---|
Type | Description |
RepeatedFieldPubsubSnapshotMetadata |
Region
public string Region { get; set; }
Cloud region where this snapshot lives in, e.g., "us-central1".
Property Value | |
---|---|
Type | Description |
string |
SourceJobId
public string SourceJobId { get; set; }
The job this snapshot was created from.
Property Value | |
---|---|
Type | Description |
string |
State
public SnapshotState State { get; set; }
State of the snapshot.
Property Value | |
---|---|
Type | Description |
SnapshotState |
Ttl
public Duration Ttl { get; set; }
The time after which this snapshot will be automatically deleted.
Property Value | |
---|---|
Type | Description |
Duration |