@googlemaps/solar 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/protos/google/maps/solar/v1/solar_service.proto +31 -7
- package/build/protos/protos.d.ts +538 -5
- package/build/protos/protos.js +1901 -58
- package/build/protos/protos.json +217 -23
- package/build/src/v1/solar_client.d.ts +7 -3
- package/build/src/v1/solar_client.js.map +1 -1
- package/package.json +1 -1
|
@@ -39,9 +39,9 @@ service Solar {
|
|
|
39
39
|
option (google.api.oauth_scopes) =
|
|
40
40
|
"https://www.googleapis.com/auth/cloud-platform";
|
|
41
41
|
|
|
42
|
-
// Locates the closest
|
|
43
|
-
// code `NOT_FOUND` if there are no buildings within approximately
|
|
44
|
-
// query point.
|
|
42
|
+
// Locates the building whose centroid is closest to a query point. Returns an
|
|
43
|
+
// error with code `NOT_FOUND` if there are no buildings within approximately
|
|
44
|
+
// 50m of the query point.
|
|
45
45
|
rpc FindClosestBuildingInsights(FindClosestBuildingInsightsRequest)
|
|
46
46
|
returns (BuildingInsights) {
|
|
47
47
|
option (google.api.http) = {
|
|
@@ -84,6 +84,9 @@ message FindClosestBuildingInsightsRequest {
|
|
|
84
84
|
// is interpreted as the exact required quality and only `MEDIUM` quality
|
|
85
85
|
// imagery is returned if `required_quality` is set to `MEDIUM`.
|
|
86
86
|
bool exact_quality_required = 4 [(google.api.field_behavior) = OPTIONAL];
|
|
87
|
+
|
|
88
|
+
// Optional. Specifies the pre-GA features to enable.
|
|
89
|
+
repeated Experiment experiments = 5 [(google.api.field_behavior) = OPTIONAL];
|
|
87
90
|
}
|
|
88
91
|
|
|
89
92
|
// A bounding box in lat/lng coordinates.
|
|
@@ -99,7 +102,7 @@ message LatLngBox {
|
|
|
99
102
|
// Information about the location, dimensions, and solar potential of a
|
|
100
103
|
// building.
|
|
101
104
|
message BuildingInsights {
|
|
102
|
-
// The resource name for the building, of the format `
|
|
105
|
+
// The resource name for the building, of the format `buildings/{place_id}`.
|
|
103
106
|
string name = 1;
|
|
104
107
|
|
|
105
108
|
// A point near the center of the building.
|
|
@@ -562,6 +565,9 @@ message GetDataLayersRequest {
|
|
|
562
565
|
// is interpreted as the exact required quality and only `MEDIUM` quality
|
|
563
566
|
// imagery is returned if `required_quality` is set to `MEDIUM`.
|
|
564
567
|
bool exact_quality_required = 7 [(google.api.field_behavior) = OPTIONAL];
|
|
568
|
+
|
|
569
|
+
// Optional. Specifies the pre-GA experiments to enable.
|
|
570
|
+
repeated Experiment experiments = 8 [(google.api.field_behavior) = OPTIONAL];
|
|
565
571
|
}
|
|
566
572
|
|
|
567
573
|
// Information about the solar potential of a region. The actual data
|
|
@@ -682,14 +688,21 @@ enum ImageryQuality {
|
|
|
682
688
|
// No quality is known.
|
|
683
689
|
IMAGERY_QUALITY_UNSPECIFIED = 0;
|
|
684
690
|
|
|
685
|
-
//
|
|
691
|
+
// Solar data is derived from aerial imagery captured at low-altitude and
|
|
692
|
+
// processed at 0.1 m/pixel.
|
|
686
693
|
HIGH = 1;
|
|
687
694
|
|
|
688
|
-
//
|
|
695
|
+
// Solar data is derived from enhanced aerial imagery captured at
|
|
696
|
+
// high-altitude and processed at 0.25 m/pixel.
|
|
689
697
|
MEDIUM = 2;
|
|
690
698
|
|
|
691
|
-
//
|
|
699
|
+
// Solar data is derived from enhanced satellite imagery processed at 0.25
|
|
700
|
+
// m/pixel.
|
|
692
701
|
LOW = 3;
|
|
702
|
+
|
|
703
|
+
// Solar data is derived from enhanced satellite imagery processed at 0.25
|
|
704
|
+
// m/pixel.
|
|
705
|
+
BASE = 4;
|
|
693
706
|
}
|
|
694
707
|
|
|
695
708
|
// The orientation of a solar panel. This must be interpreted relative to the
|
|
@@ -706,3 +719,14 @@ enum SolarPanelOrientation {
|
|
|
706
719
|
// direction of the roof segment that it is placed on.
|
|
707
720
|
PORTRAIT = 2;
|
|
708
721
|
}
|
|
722
|
+
|
|
723
|
+
// Specifies pre-GA experiments that can be enabled in the API.
|
|
724
|
+
enum Experiment {
|
|
725
|
+
// No experiments are specified.
|
|
726
|
+
EXPERIMENT_UNSPECIFIED = 0;
|
|
727
|
+
|
|
728
|
+
// Expands the geographic region available for querying solar data. For more
|
|
729
|
+
// information, see [Expanded
|
|
730
|
+
// Coverage](https://developers.google.com/maps/documentation/solar/expanded-coverage).
|
|
731
|
+
EXPANDED_COVERAGE = 1;
|
|
732
|
+
}
|