Class: Google::Apis::StreetviewpublishV1::GpsDataGapFailureDetails

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#GPS_DATA_GAP. If there are multiple GPS data gaps, only the one with the largest duration is reported here.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GpsDataGapFailureDetails

Returns a new instance of GpsDataGapFailureDetails.



174
175
176
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 174

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#gap_durationString

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

Returns:

  • (String)


167
168
169
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 167

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)


172
173
174
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 172

def gap_start_time
  @gap_start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



179
180
181
182
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 179

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