Google Cloud Spanner v1 API - Class ChangeStreamRecord.Types.HeartbeatRecord (5.13.0-beta04)

public sealed class ChangeStreamRecord.Types.HeartbeatRecord : IMessage<ChangeStreamRecord.Types.HeartbeatRecord>, IEquatable<ChangeStreamRecord.Types.HeartbeatRecord>, IDeepCloneable<ChangeStreamRecord.Types.HeartbeatRecord>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Spanner v1 API class ChangeStreamRecord.Types.HeartbeatRecord.

A heartbeat record is returned as a progress indicator, when there are no data changes or any other partition record types in the change stream partition.

Inheritance

object > ChangeStreamRecord.Types.HeartbeatRecord

Namespace

Google.Cloud.Spanner.V1

Assembly

Google.Cloud.Spanner.V1.dll

Constructors

HeartbeatRecord()

public HeartbeatRecord()

HeartbeatRecord(HeartbeatRecord)

public HeartbeatRecord(ChangeStreamRecord.Types.HeartbeatRecord other)
Parameter
Name Description
other ChangeStreamRecordTypesHeartbeatRecord

Properties

Timestamp

public Timestamp Timestamp { get; set; }

Indicates the timestamp at which the query has returned all the records in the change stream partition with timestamp <= heartbeat timestamp. The heartbeat timestamp will not be the same as the timestamps of other record types in the same partition.

Property Value
Type Description
Timestamp