@@ -54,6 +54,13 @@ def initialize
5454 # Locates the building whose centroid is closest to a query point. Returns an
5555 # error with code `NOT_FOUND` if there are no buildings within approximately 50m
5656 # of the query point.
57+ # @param [Boolean] exact_quality_required
58+ # Optional. Whether to require exact quality of the imagery. If set to false,
59+ # the `required_quality` field is interpreted as the minimum required quality,
60+ # such that HIGH quality imagery may be returned when `required_quality` is set
61+ # to MEDIUM. If set to true, `required_quality` is interpreted as the exact
62+ # required quality and only `MEDIUM` quality imagery is returned if `
63+ # required_quality` is set to `MEDIUM`.
5764 # @param [Array<String>, String] experiments
5865 # Optional. Specifies the pre-GA features to enable.
5966 # @param [Float] location_latitude
@@ -81,10 +88,11 @@ def initialize
8188 # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8289 # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8390 # @raise [Google::Apis::AuthorizationError] Authorization is required
84- def find_building_insight_closest ( experiments : nil , location_latitude : nil , location_longitude : nil , required_quality : nil , fields : nil , quota_user : nil , options : nil , &block )
91+ def find_building_insight_closest ( exact_quality_required : nil , experiments : nil , location_latitude : nil , location_longitude : nil , required_quality : nil , fields : nil , quota_user : nil , options : nil , &block )
8592 command = make_simple_command ( :get , 'v1/buildingInsights:findClosest' , options )
8693 command . response_representation = Google ::Apis ::SolarV1 ::BuildingInsights ::Representation
8794 command . response_class = Google ::Apis ::SolarV1 ::BuildingInsights
95+ command . query [ 'exactQualityRequired' ] = exact_quality_required unless exact_quality_required . nil?
8896 command . query [ 'experiments' ] = experiments unless experiments . nil?
8997 command . query [ 'location.latitude' ] = location_latitude unless location_latitude . nil?
9098 command . query [ 'location.longitude' ] = location_longitude unless location_longitude . nil?
0 commit comments