Reference documentation and code samples for the Google Cloud Datastream V1 Client class SpannerChangeStreamPosition.
Represents a position in a Spanner change stream from which to start replicating.
Generated from protobuf message google.cloud.datastream.v1.SpannerChangeStreamPosition
Namespace
Google \ Cloud \ Datastream \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ start_time |
Google\Protobuf\Timestamp
Required. The timestamp to start change stream queries from. The timestamp must be a positive value. |
getStartTime
Required. The timestamp to start change stream queries from.
The timestamp must be a positive value.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasStartTime
clearStartTime
setStartTime
Required. The timestamp to start change stream queries from.
The timestamp must be a positive value.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|