class Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p2beta1LatLongRect
Rectangle determined by min and max `LatLng` pairs.
Attributes
An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges. Corresponds to the JSON property `maxLatLng` @return [Google::Apis::VisionV1p2beta1::LatLng]
An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges. Corresponds to the JSON property `minLatLng` @return [Google::Apis::VisionV1p2beta1::LatLng]
Public Class Methods
# File lib/google/apis/vision_v1p2beta1/classes.rb, line 3840 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/vision_v1p2beta1/classes.rb, line 3845 def update!(**args) @max_lat_lng = args[:max_lat_lng] if args.key?(:max_lat_lng) @min_lat_lng = args[:min_lat_lng] if args.key?(:min_lat_lng) end