Skip to content

Commit 4d718f8

Browse files
fix(solar): update the API
#### solar:v1 The following keys were changed: - resources.buildingInsights.methods.findClosest.description
1 parent bc96269 commit 4d718f8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

discovery/solar-v1.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
"buildingInsights": {
109109
"methods": {
110110
"findClosest": {
111-
"description": "Locates the closest building to a query point. Returns an error with code `NOT_FOUND` if there are no buildings within approximately 50m of the query point.",
111+
"description": "Locates the building whose centroid is closest to a query point. Returns an error with code `NOT_FOUND` if there are no buildings within approximately 50m of the query point.",
112112
"flatPath": "v1/buildingInsights:findClosest",
113113
"httpMethod": "GET",
114114
"id": "solar.buildingInsights.findClosest",
@@ -299,7 +299,7 @@
299299
}
300300
}
301301
},
302-
"revision": "20241211",
302+
"revision": "20250302",
303303
"rootUrl": "https://solar.googleapis.com/",
304304
"schemas": {
305305
"BuildingInsights": {

src/apis/solar/v1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,7 @@ export namespace solar_v1 {
651651
}
652652

653653
/**
654-
* Locates the closest building to a query point. Returns an error with code `NOT_FOUND` if there are no buildings within approximately 50m of the query point.
654+
* Locates the building whose centroid is closest to a query point. Returns an error with code `NOT_FOUND` if there are no buildings within approximately 50m of the query point.
655655
*
656656
* @param params - Parameters for request
657657
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.

0 commit comments

Comments
 (0)