generated/google/apis/streetviewpublish_v1/classes.rb in google-api-client-0.24.2 vs generated/google/apis/streetviewpublish_v1/classes.rb in google-api-client-0.24.3
- old
+ new
@@ -539,10 +539,21 @@
# Raw pose measurement for an entity.
class Pose
include Google::Apis::Core::Hashable
+ # The estimated horizontal accuracy of this pose in meters with 68%
+ # confidence (one standard deviation). For example, on Android, this value is
+ # available from this method:
+ # https://developer.android.com/reference/android/location/Location#getAccuracy()
+ # .
+ # Other platforms have different methods of obtaining similar accuracy
+ # estimations.
+ # Corresponds to the JSON property `accuracyMeters`
+ # @return [Float]
+ attr_accessor :accuracy_meters
+
# Altitude of the pose in meters above WGS84 ellipsoid.
# NaN indicates an unmeasured quantity.
# Corresponds to the JSON property `altitude`
# @return [Float]
attr_accessor :altitude
@@ -587,9 +598,10 @@
update!(**args)
end
# Update properties of this object
def update!(**args)
+ @accuracy_meters = args[:accuracy_meters] if args.key?(:accuracy_meters)
@altitude = args[:altitude] if args.key?(:altitude)
@heading = args[:heading] if args.key?(:heading)
@lat_lng_pair = args[:lat_lng_pair] if args.key?(:lat_lng_pair)
@level = args[:level] if args.key?(:level)
@pitch = args[:pitch] if args.key?(:pitch)