Class: Google::Apis::DatastreamV1::SpannerChangeStreamPosition
- Inherits:
-
Object
- Object
- Google::Apis::DatastreamV1::SpannerChangeStreamPosition
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datastream_v1/classes.rb,
lib/google/apis/datastream_v1/representations.rb,
lib/google/apis/datastream_v1/representations.rb
Overview
Represents a position in a Spanner change stream from which to start replicating.
Instance Attribute Summary collapse
-
#start_time ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SpannerChangeStreamPosition
constructor
A new instance of SpannerChangeStreamPosition.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SpannerChangeStreamPosition
Returns a new instance of SpannerChangeStreamPosition.
4296 4297 4298 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4296 def initialize(**args) update!(**args) end |
Instance Attribute Details
#start_time ⇒ String
Required. The timestamp to start change stream queries from. The timestamp
must be a positive value.
Corresponds to the JSON property startTime
4294 4295 4296 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4294 def start_time @start_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4301 4302 4303 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4301 def update!(**args) @start_time = args[:start_time] if args.key?(:start_time) end |