Class: Google::Apis::StreetviewpublishV1::GpsDataGapFailureDetails
- Inherits:
-
Object
- Object
- Google::Apis::StreetviewpublishV1::GpsDataGapFailureDetails
- 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
-
#gap_duration ⇒ String
The duration of the gap in GPS 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) ⇒ GpsDataGapFailureDetails
constructor
A new instance of GpsDataGapFailureDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_duration ⇒ String
The duration of the gap in GPS data that was found.
Corresponds to the JSON property gapDuration
167 168 169 |
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 167 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
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 |