Class: Google::Apis::DatastreamV1::BackfillJob
- Inherits:
-
Object
- Object
- Google::Apis::DatastreamV1::BackfillJob
- 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 backfill job on a specific stream object.
Instance Attribute Summary collapse
-
#errors ⇒ Array<Google::Apis::DatastreamV1::Error>
Output only.
-
#last_end_time ⇒ String
Output only.
-
#last_start_time ⇒ String
Output only.
-
#state ⇒ String
Output only.
-
#trigger ⇒ String
Backfill job's triggering reason.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BackfillJob
constructor
A new instance of BackfillJob.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BackfillJob
Returns a new instance of BackfillJob.
131 132 133 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 131 def initialize(**args) update!(**args) end |
Instance Attribute Details
#errors ⇒ Array<Google::Apis::DatastreamV1::Error>
Output only. Errors which caused the backfill job to fail.
Corresponds to the JSON property errors
109 110 111 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 109 def errors @errors end |
#last_end_time ⇒ String
Output only. Backfill job's end time.
Corresponds to the JSON property lastEndTime
114 115 116 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 114 def last_end_time @last_end_time end |
#last_start_time ⇒ String
Output only. Backfill job's start time.
Corresponds to the JSON property lastStartTime
119 120 121 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 119 def last_start_time @last_start_time end |
#state ⇒ String
Output only. Backfill job state.
Corresponds to the JSON property state
124 125 126 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 124 def state @state end |
#trigger ⇒ String
Backfill job's triggering reason.
Corresponds to the JSON property trigger
129 130 131 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 129 def trigger @trigger end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
136 137 138 139 140 141 142 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 136 def update!(**args) @errors = args[:errors] if args.key?(:errors) @last_end_time = args[:last_end_time] if args.key?(:last_end_time) @last_start_time = args[:last_start_time] if args.key?(:last_start_time) @state = args[:state] if args.key?(:state) @trigger = args[:trigger] if args.key?(:trigger) end |