Class: Google::Apis::StreetviewpublishV1::ImuDataGapFailureDetails
- Inherits:
-
Object
- Object
- Google::Apis::StreetviewpublishV1::ImuDataGapFailureDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/streetviewpublish_v1/classes.rb,
lib/google/apis/streetviewpublish_v1/representations.rb,
lib/google/apis/streetviewpublish_v1/representations.rb
Overview
Details related to ProcessingFailureReason#IMU_DATA_GAP. If there are multiple IMU data gaps, only the one with the largest duration is reported here.
Instance Attribute Summary collapse
-
#gap_duration ⇒ String
The duration of the gap in IMU data that was found.
-
#gap_start_time ⇒ String
Relative time (from the start of the video stream) when the gap started.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ImuDataGapFailureDetails
constructor
A new instance of ImuDataGapFailureDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ImuDataGapFailureDetails
Returns a new instance of ImuDataGapFailureDetails.
234 235 236 |
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 234 def initialize(**args) update!(**args) end |
Instance Attribute Details
#gap_duration ⇒ String
The duration of the gap in IMU data that was found.
Corresponds to the JSON property gapDuration
227 228 229 |
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 227 def gap_duration @gap_duration end |
#gap_start_time ⇒ String
Relative time (from the start of the video stream) when the gap started.
Corresponds to the JSON property gapStartTime
232 233 234 |
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 232 def gap_start_time @gap_start_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
239 240 241 242 |
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 239 def update!(**args) @gap_duration = args[:gap_duration] if args.key?(:gap_duration) @gap_start_time = args[:gap_start_time] if args.key?(:gap_start_time) end |