Class: Google::Apis::StreetviewpublishV1::ImuDataGapFailureDetails

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_durationString

The duration of the gap in IMU data that was found. Corresponds to the JSON property gapDuration

Returns:

  • (String)


227
228
229
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 227

def gap_duration
  @gap_duration
end

#gap_start_timeString

Relative time (from the start of the video stream) when the gap started. Corresponds to the JSON property gapStartTime

Returns:

  • (String)


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