Skip to content

Commit 9803505

Browse files
feat: Automated regeneration of solar v1 client (#24776)
Auto-created at 2025-11-02 09:20:38 +0000 using the toys pull request generator.
1 parent 823334e commit 9803505

File tree

4 files changed

+18
-4
lines changed

4 files changed

+18
-4
lines changed

api_names_out.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361079,6 +361079,7 @@
361079361079
"/solar:v1/key": key
361080361080
"/solar:v1/quotaUser": quota_user
361081361081
"/solar:v1/solar.buildingInsights.findClosest": find_building_insight_closest
361082+
"/solar:v1/solar.buildingInsights.findClosest/exactQualityRequired": exact_quality_required
361082361083
"/solar:v1/solar.buildingInsights.findClosest/experiments": experiments
361083361084
"/solar:v1/solar.buildingInsights.findClosest/location.latitude": location_latitude
361084361085
"/solar:v1/solar.buildingInsights.findClosest/location.longitude": location_longitude

generated/google-apis-solar_v1/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Release history for google-apis-solar_v1
22

3+
### v0.8.0 (2025-11-02)
4+
5+
* Regenerated from discovery document revision 20251027
6+
* Regenerated using generator version 0.18.0
7+
38
### v0.7.0 (2025-05-04)
49

510
* Regenerated from discovery document revision 20250427

generated/google-apis-solar_v1/lib/google/apis/solar_v1/gem_version.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module SolarV1
1818
# Version of the google-apis-solar_v1 gem
19-
GEM_VERSION = "0.7.0"
19+
GEM_VERSION = "0.8.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.17.0"
22+
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250427"
25+
REVISION = "20251027"
2626
end
2727
end
2828
end

generated/google-apis-solar_v1/lib/google/apis/solar_v1/service.rb

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)