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.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GpsDataGapFailureDetails

Returns a new instance of GpsDataGapFailureDetails.



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

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)


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

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)


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

def gap_time
  @gap_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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