Skip to content

Commit 36d8685

Browse files
yoshi-automationsofisl
authored andcommitted
feat(solar): update the API
#### solar:v1 The following keys were added: - resources.buildingInsights.methods.findClosest.parameters.experiments.description - resources.buildingInsights.methods.findClosest.parameters.experiments.enum - resources.buildingInsights.methods.findClosest.parameters.experiments.enumDescriptions - resources.buildingInsights.methods.findClosest.parameters.experiments.location - resources.buildingInsights.methods.findClosest.parameters.experiments.repeated - resources.buildingInsights.methods.findClosest.parameters.experiments.type - resources.dataLayers.methods.get.parameters.experiments.description - resources.dataLayers.methods.get.parameters.experiments.enum - resources.dataLayers.methods.get.parameters.experiments.enumDescriptions - resources.dataLayers.methods.get.parameters.experiments.location - resources.dataLayers.methods.get.parameters.experiments.repeated - resources.dataLayers.methods.get.parameters.experiments.type The following keys were changed: - resources.buildingInsights.methods.findClosest.parameters.requiredQuality.enum - resources.buildingInsights.methods.findClosest.parameters.requiredQuality.enumDescriptions - resources.dataLayers.methods.get.parameters.requiredQuality.enum - resources.dataLayers.methods.get.parameters.requiredQuality.enumDescriptions - schemas.BuildingInsights.properties.imageryQuality.enum - schemas.BuildingInsights.properties.imageryQuality.enumDescriptions - schemas.DataLayers.properties.imageryQuality.enum - schemas.DataLayers.properties.imageryQuality.enumDescriptions
1 parent e673e80 commit 36d8685

File tree

2 files changed

+49
-5
lines changed

2 files changed

+49
-5
lines changed

discovery/solar-v1.json

Lines changed: 41 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,20 @@
114114
"id": "solar.buildingInsights.findClosest",
115115
"parameterOrder": [],
116116
"parameters": {
117+
"experiments": {
118+
"description": "Optional. Specifies the pre-GA features to enable.",
119+
"enum": [
120+
"EXPERIMENT_UNSPECIFIED",
121+
"EXPANDED_COVERAGE"
122+
],
123+
"enumDescriptions": [
124+
"No experiments are specified.",
125+
"Expands the geographic region available for querying solar data."
126+
],
127+
"location": "query",
128+
"repeated": true,
129+
"type": "string"
130+
},
117131
"location.latitude": {
118132
"description": "The latitude in degrees. It must be in the range [-90.0, +90.0].",
119133
"format": "double",
@@ -132,12 +146,14 @@
132146
"IMAGERY_QUALITY_UNSPECIFIED",
133147
"HIGH",
134148
"MEDIUM",
135-
"LOW"
149+
"LOW",
150+
"BASE"
136151
],
137152
"enumDescriptions": [
138153
"No quality is known.",
139154
"Solar data is derived from aerial imagery captured at low-altitude and processed at 0.1 m/pixel.",
140155
"Solar data is derived from enhanced aerial imagery captured at high-altitude and processed at 0.25 m/pixel.",
156+
"Solar data is derived from enhanced satellite imagery processed at 0.25 m/pixel.",
141157
"Solar data is derived from enhanced satellite imagery processed at 0.25 m/pixel."
142158
],
143159
"location": "query",
@@ -168,6 +184,20 @@
168184
"location": "query",
169185
"type": "boolean"
170186
},
187+
"experiments": {
188+
"description": "Optional. Specifies the pre-GA experiments to enable.",
189+
"enum": [
190+
"EXPERIMENT_UNSPECIFIED",
191+
"EXPANDED_COVERAGE"
192+
],
193+
"enumDescriptions": [
194+
"No experiments are specified.",
195+
"Expands the geographic region available for querying solar data."
196+
],
197+
"location": "query",
198+
"repeated": true,
199+
"type": "string"
200+
},
171201
"location.latitude": {
172202
"description": "The latitude in degrees. It must be in the range [-90.0, +90.0].",
173203
"format": "double",
@@ -198,12 +228,14 @@
198228
"IMAGERY_QUALITY_UNSPECIFIED",
199229
"HIGH",
200230
"MEDIUM",
201-
"LOW"
231+
"LOW",
232+
"BASE"
202233
],
203234
"enumDescriptions": [
204235
"No quality is known.",
205236
"Solar data is derived from aerial imagery captured at low-altitude and processed at 0.1 m/pixel.",
206237
"Solar data is derived from enhanced aerial imagery captured at high-altitude and processed at 0.25 m/pixel.",
238+
"Solar data is derived from enhanced satellite imagery processed at 0.25 m/pixel.",
207239
"Solar data is derived from enhanced satellite imagery processed at 0.25 m/pixel."
208240
],
209241
"location": "query",
@@ -267,7 +299,7 @@
267299
}
268300
}
269301
},
270-
"revision": "20240630",
302+
"revision": "20240820",
271303
"rootUrl": "https://solar.googleapis.com/",
272304
"schemas": {
273305
"BuildingInsights": {
@@ -300,12 +332,14 @@
300332
"IMAGERY_QUALITY_UNSPECIFIED",
301333
"HIGH",
302334
"MEDIUM",
303-
"LOW"
335+
"LOW",
336+
"BASE"
304337
],
305338
"enumDescriptions": [
306339
"No quality is known.",
307340
"Solar data is derived from aerial imagery captured at low-altitude and processed at 0.1 m/pixel.",
308341
"Solar data is derived from enhanced aerial imagery captured at high-altitude and processed at 0.25 m/pixel.",
342+
"Solar data is derived from enhanced satellite imagery processed at 0.25 m/pixel.",
309343
"Solar data is derived from enhanced satellite imagery processed at 0.25 m/pixel."
310344
],
311345
"type": "string"
@@ -394,12 +428,14 @@
394428
"IMAGERY_QUALITY_UNSPECIFIED",
395429
"HIGH",
396430
"MEDIUM",
397-
"LOW"
431+
"LOW",
432+
"BASE"
398433
],
399434
"enumDescriptions": [
400435
"No quality is known.",
401436
"Solar data is derived from aerial imagery captured at low-altitude and processed at 0.1 m/pixel.",
402437
"Solar data is derived from enhanced aerial imagery captured at high-altitude and processed at 0.25 m/pixel.",
438+
"Solar data is derived from enhanced satellite imagery processed at 0.25 m/pixel.",
403439
"Solar data is derived from enhanced satellite imagery processed at 0.25 m/pixel."
404440
],
405441
"type": "string"

src/apis/solar/v1.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -741,6 +741,10 @@ export namespace solar_v1 {
741741

742742
export interface Params$Resource$Buildinginsights$Findclosest
743743
extends StandardParameters {
744+
/**
745+
* Optional. Specifies the pre-GA features to enable.
746+
*/
747+
experiments?: string[];
744748
/**
745749
* The latitude in degrees. It must be in the range [-90.0, +90.0].
746750
*/
@@ -851,6 +855,10 @@ export namespace solar_v1 {
851855
* Optional. Whether to require exact quality of the imagery. If set to false, the `required_quality` field is interpreted as the minimum required quality, such that HIGH quality imagery may be returned when `required_quality` is set to MEDIUM. If set to true, `required_quality` is interpreted as the exact required quality and only `MEDIUM` quality imagery is returned if `required_quality` is set to `MEDIUM`.
852856
*/
853857
exactQualityRequired?: boolean;
858+
/**
859+
* Optional. Specifies the pre-GA experiments to enable.
860+
*/
861+
experiments?: string[];
854862
/**
855863
* The latitude in degrees. It must be in the range [-90.0, +90.0].
856864
*/

0 commit comments

Comments
 (0)