google-apis-solar_v1 0.10.0 → 0.11.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7284a48d254d5cf0048b61b9d1027837ce2634861f42228e848424e0a2a952fd
4
- data.tar.gz: '097b3b5d0567c27e937e42ee1f461abef894414e55e9639730656a254540dee3'
3
+ metadata.gz: a7ff42541f11a15417f386de6a546cf58249e6096c32ac3f7dbbb6f508060a41
4
+ data.tar.gz: e46ec95c57e21e3797837239c7cc1f09e24f77c6cfe117cd2685d60bda35ef42
5
5
  SHA512:
6
- metadata.gz: b7c720765dd4ea993dbc02f9376e98c2ea47df7e1e8fd78b33eaf3c07432f10c9a2e60546380e1b6694185764e53f73d0db6c90c62e7f977c0ad76bf51991ecc
7
- data.tar.gz: 4d45b06e98de59a4ea8a6d170366a898fcedc6199f551759ee2205adb39452d99608e09dd99cf44c58c7e7cce2870af215b767da12cab0fe472ffbda2527b4d3
6
+ metadata.gz: fbaaf94981d6bd87bfe4dd49b2a73d596b6974ac1265f7325e03d3af54f6a9b18b46d772855088d265da8b9ab9fcfe1c6bec43d6b7e7fbfe3d55aa67ea5a40e7
7
+ data.tar.gz: d6fb7c84d9d0c4a1551e1e7e61b26351238e756951a67b52e9fdbe99b5827a58e9176db1d86dab1b1fef7f39e31aaf984d6e43fe1e14342f19249c60874b11fe
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-solar_v1
2
2
 
3
+ ### v0.11.0 (2026-05-17)
4
+
5
+ * Regenerated from discovery document revision 20260506
6
+
3
7
  ### v0.10.0 (2026-02-15)
4
8
 
5
9
  * Regenerated from discovery document revision 20260208
@@ -46,6 +46,11 @@ module Google
46
46
  # @return [Google::Apis::SolarV1::LatLng]
47
47
  attr_accessor :center
48
48
 
49
+ # Information about solar arrays detected on the building.
50
+ # Corresponds to the JSON property `detectedArrays`
51
+ # @return [Google::Apis::SolarV1::BuildingInsightsDetectedArrays]
52
+ attr_accessor :detected_arrays
53
+
49
54
  # Represents a whole or partial calendar date, such as a birthday. The time of
50
55
  # day and time zone are either specified elsewhere or are insignificant. The
51
56
  # date is relative to the Gregorian Calendar. This can represent one of the
@@ -112,6 +117,7 @@ module Google
112
117
  @administrative_area = args[:administrative_area] if args.key?(:administrative_area)
113
118
  @bounding_box = args[:bounding_box] if args.key?(:bounding_box)
114
119
  @center = args[:center] if args.key?(:center)
120
+ @detected_arrays = args[:detected_arrays] if args.key?(:detected_arrays)
115
121
  @imagery_date = args[:imagery_date] if args.key?(:imagery_date)
116
122
  @imagery_processed_date = args[:imagery_processed_date] if args.key?(:imagery_processed_date)
117
123
  @imagery_quality = args[:imagery_quality] if args.key?(:imagery_quality)
@@ -123,6 +129,38 @@ module Google
123
129
  end
124
130
  end
125
131
 
132
+ # Information about solar arrays detected on the building.
133
+ class BuildingInsightsDetectedArrays
134
+ include Google::Apis::Core::Hashable
135
+
136
+ # Indicates the detection status of solar arrays for this building.
137
+ # Corresponds to the JSON property `detectionStatus`
138
+ # @return [String]
139
+ attr_accessor :detection_status
140
+
141
+ # Represents a whole or partial calendar date, such as a birthday. The time of
142
+ # day and time zone are either specified elsewhere or are insignificant. The
143
+ # date is relative to the Gregorian Calendar. This can represent one of the
144
+ # following: * A full date, with non-zero year, month, and day values. * A month
145
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
146
+ # with a zero month and a zero day. * A year and month, with a zero day (for
147
+ # example, a credit card expiration date). Related types: * google.type.
148
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
149
+ # Corresponds to the JSON property `latestCaptureDate`
150
+ # @return [Google::Apis::SolarV1::Date]
151
+ attr_accessor :latest_capture_date
152
+
153
+ def initialize(**args)
154
+ update!(**args)
155
+ end
156
+
157
+ # Update properties of this object
158
+ def update!(**args)
159
+ @detection_status = args[:detection_status] if args.key?(:detection_status)
160
+ @latest_capture_date = args[:latest_capture_date] if args.key?(:latest_capture_date)
161
+ end
162
+ end
163
+
126
164
  # Cost and benefit of an outright purchase of a particular configuration of
127
165
  # solar panels with a particular electricity usage.
128
166
  class CashPurchaseSavings
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SolarV1
18
18
  # Version of the google-apis-solar_v1 gem
19
- GEM_VERSION = "0.10.0"
19
+ GEM_VERSION = "0.11.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260208"
25
+ REVISION = "20260506"
26
26
  end
27
27
  end
28
28
  end
@@ -28,6 +28,12 @@ module Google
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
+ class BuildingInsightsDetectedArrays
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
31
37
  class CashPurchaseSavings
32
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
39
 
@@ -144,6 +150,8 @@ module Google
144
150
 
145
151
  property :center, as: 'center', class: Google::Apis::SolarV1::LatLng, decorator: Google::Apis::SolarV1::LatLng::Representation
146
152
 
153
+ property :detected_arrays, as: 'detectedArrays', class: Google::Apis::SolarV1::BuildingInsightsDetectedArrays, decorator: Google::Apis::SolarV1::BuildingInsightsDetectedArrays::Representation
154
+
147
155
  property :imagery_date, as: 'imageryDate', class: Google::Apis::SolarV1::Date, decorator: Google::Apis::SolarV1::Date::Representation
148
156
 
149
157
  property :imagery_processed_date, as: 'imageryProcessedDate', class: Google::Apis::SolarV1::Date, decorator: Google::Apis::SolarV1::Date::Representation
@@ -158,6 +166,15 @@ module Google
158
166
  end
159
167
  end
160
168
 
169
+ class BuildingInsightsDetectedArrays
170
+ # @private
171
+ class Representation < Google::Apis::Core::JsonRepresentation
172
+ property :detection_status, as: 'detectionStatus'
173
+ property :latest_capture_date, as: 'latestCaptureDate', class: Google::Apis::SolarV1::Date, decorator: Google::Apis::SolarV1::Date::Representation
174
+
175
+ end
176
+ end
177
+
161
178
  class CashPurchaseSavings
162
179
  # @private
163
180
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -54,6 +54,8 @@ module Google
54
54
  # Locates the building whose centroid is closest to a query point. Returns an
55
55
  # error with code `NOT_FOUND` if there are no buildings within approximately 50m
56
56
  # of the query point.
57
+ # @param [Array<String>, String] additional_insights
58
+ # Optional. A list of additional_insights to be included in the response.
57
59
  # @param [Boolean] exact_quality_required
58
60
  # Optional. Whether to require exact quality of the imagery. If set to false,
59
61
  # the `required_quality` field is interpreted as the minimum required quality,
@@ -92,10 +94,11 @@ module Google
92
94
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
93
95
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
94
96
  # @raise [Google::Apis::AuthorizationError] Authorization is required
95
- 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)
97
+ def find_building_insight_closest(additional_insights: nil, exact_quality_required: nil, experiments: nil, location_latitude: nil, location_longitude: nil, required_quality: nil, fields: nil, quota_user: nil, options: nil, &block)
96
98
  command = make_simple_command(:get, 'v1/buildingInsights:findClosest', options)
97
99
  command.response_representation = Google::Apis::SolarV1::BuildingInsights::Representation
98
100
  command.response_class = Google::Apis::SolarV1::BuildingInsights
101
+ command.query['additionalInsights'] = additional_insights unless additional_insights.nil?
99
102
  command.query['exactQualityRequired'] = exact_quality_required unless exact_quality_required.nil?
100
103
  command.query['experiments'] = experiments unless experiments.nil?
101
104
  command.query['location.latitude'] = location_latitude unless location_latitude.nil?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-solar_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-solar_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-solar_v1/v0.10.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-solar_v1/v0.11.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-solar_v1
62
62
  rdoc_options: []
63
63
  require_paths: