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.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ImuDataGapFailureDetails

Returns a new instance of ImuDataGapFailureDetails.



232
233
234
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 232

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)


225
226
227
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 225

def gap_duration
  @gap_duration
end

#gap_timeString

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

Returns:

  • (String)


230
231
232
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 230

def gap_time
  @gap_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



237
238
239
240
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 237

def update!(**args)
  @gap_duration = args[:gap_duration] if args.key?(:gap_duration)
  @gap_time = args[:gap_time] if args.key?(:gap_time)
end