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.
Instance Attribute Summary collapse
-
#gap_duration ⇒ String
The duration of the gap in GPS data that was found.
-
#gap_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.
173 174 175 |
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 173 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
166 167 168 |
# File 'lib/google/apis/streetviewpublish_v1/classes.rb', line 166 def gap_duration @gap_duration end |
#gap_time ⇒ String
Relative time (from the start of the video stream) when the gap started.
Corresponds to the JSON property gapTime
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 |