google-apis-solar_v1 0.1.0 → 0.2.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/solar_v1/gem_version.rb +2 -2
- data/lib/google/apis/solar_v1/service.rb +9 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f4798dd9c7e9b4e77b186e8adf629469df2501a54d71591172d41c2f5a2aa2df
|
|
4
|
+
data.tar.gz: 758a16e80dd18228b030866caa0e26cfdb254404b7c0a704a275a0697add6595
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6a6ca5898900e87189f120a3ba1cdc2f618cd7c1ae7f64c9b2fe1198394b5aaa22a0bbd422f4f52e12c97c706fbbfc552946114a826feced7a99e64a9b7be4ea
|
|
7
|
+
data.tar.gz: 244da807e33110c2df506a5f61356de4861a999568c3e38a8781e8bd8fae9e968e6552b116ae87f5cb4502ca2721b87ec4ee3fff1838bbdec150600f2594c45a
|
data/CHANGELOG.md
CHANGED
|
@@ -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.
|
|
19
|
+
GEM_VERSION = "0.2.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.14.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20240430"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -93,6 +93,13 @@ module Google
|
|
|
93
93
|
|
|
94
94
|
# Gets solar information for a region surrounding a location. Returns an error
|
|
95
95
|
# with code `NOT_FOUND` if the location is outside the coverage area.
|
|
96
|
+
# @param [Boolean] exact_quality_required
|
|
97
|
+
# Optional. Whether to require exact quality of the imagery. If set to false,
|
|
98
|
+
# the `required_quality` field is interpreted as the minimum required quality,
|
|
99
|
+
# such that HIGH quality imagery may be returned when `required_quality` is set
|
|
100
|
+
# to MEDIUM. If set to true, `required_quality` is interpreted as the exact
|
|
101
|
+
# required quality and only `MEDIUM` quality imagery is returned if `
|
|
102
|
+
# required_quality` is set to `MEDIUM`.
|
|
96
103
|
# @param [Float] location_latitude
|
|
97
104
|
# The latitude in degrees. It must be in the range [-90.0, +90.0].
|
|
98
105
|
# @param [Float] location_longitude
|
|
@@ -134,10 +141,11 @@ module Google
|
|
|
134
141
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
135
142
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
136
143
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
137
|
-
def get_data_layer(location_latitude: nil, location_longitude: nil, pixel_size_meters: nil, radius_meters: nil, required_quality: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
144
|
+
def get_data_layer(exact_quality_required: nil, location_latitude: nil, location_longitude: nil, pixel_size_meters: nil, radius_meters: nil, required_quality: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
138
145
|
command = make_simple_command(:get, 'v1/dataLayers:get', options)
|
|
139
146
|
command.response_representation = Google::Apis::SolarV1::DataLayers::Representation
|
|
140
147
|
command.response_class = Google::Apis::SolarV1::DataLayers
|
|
148
|
+
command.query['exactQualityRequired'] = exact_quality_required unless exact_quality_required.nil?
|
|
141
149
|
command.query['location.latitude'] = location_latitude unless location_latitude.nil?
|
|
142
150
|
command.query['location.longitude'] = location_longitude unless location_longitude.nil?
|
|
143
151
|
command.query['pixelSizeMeters'] = pixel_size_meters unless pixel_size_meters.nil?
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-solar_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-
|
|
11
|
+
date: 2024-05-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: google-apis-core
|
|
@@ -58,7 +58,7 @@ licenses:
|
|
|
58
58
|
metadata:
|
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-solar_v1/CHANGELOG.md
|
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-solar_v1/v0.
|
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-solar_v1/v0.2.0
|
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-solar_v1
|
|
63
63
|
post_install_message:
|
|
64
64
|
rdoc_options: []
|