google-apis-sasportal_v1alpha1 0.2.0 → 0.7.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: c0ed9e66e594e5bef4de80293e4f7668ef5d89eb02ea9c64749ed852b1677d1f
4
- data.tar.gz: b10900a27f4df929b1884682fc97b5c1f97a3842600c1a9efb9de7084fab7b5e
3
+ metadata.gz: ad338c67fd745f85e7dfc90f52c5f6a95de36e707c3ff796528f512499db66bd
4
+ data.tar.gz: 1d74122e7f48cb89cdef16212a0ece494342f1202e33182531676181f06835f1
5
5
  SHA512:
6
- metadata.gz: 84b00ea323b698e438af7ebdb81f91dfaf752e55b3d75386b4dd69bbedd4bb49c4db6f79693cc1328bcaa9d610c563b9e2621a9085fdf395f3e33e03f58fde22
7
- data.tar.gz: edc0a712e43808db9dc6e1522cff3bf550b873f913ead09b207ce9a6c01137f5eb68590799513611abf9d37d16d891679dd918bbde5e320ba2f55ccd99bc1be3
6
+ metadata.gz: 3573f6204abb41401c61a0e6d465a7d08e3c0c62d3cef2dea529ea8c3b8ba3b77968cc414458765c8120c98994da8fce56714108fbad7f0b22aa25f71324d897
7
+ data.tar.gz: 976983f9b1b8d9cd5ceb0b91c354a04c710d6926d544e83893e84e349985a16baf02f09e341482ce01294e7f13cc437de574095441807a3e9d6bbf2c27f69805
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Release history for google-apis-sasportal_v1alpha1
2
2
 
3
+ ### v0.7.0 (2021-05-20)
4
+
5
+ * Unspecified changes
6
+
7
+ ### v0.6.0 (2021-04-07)
8
+
9
+ * Regenerated from discovery document revision 20210403
10
+
11
+ ### v0.5.0 (2021-03-18)
12
+
13
+ * Regenerated from discovery document revision 20210315
14
+ * Regenerated using generator version 0.2.0
15
+
16
+ ### v0.4.0 (2021-03-04)
17
+
18
+ * Unspecified changes
19
+
20
+ ### v0.3.0 (2021-02-19)
21
+
22
+ * Regenerated from discovery document revision 20210218
23
+
3
24
  ### v0.2.0 (2021-02-04)
4
25
 
5
26
  * Regenerated from discovery document revision 20210202
@@ -29,7 +29,7 @@ module Google
29
29
  # This is NOT the gem version.
30
30
  VERSION = 'V1alpha1'
31
31
 
32
- # View your email address
32
+ # See your primary Google Account email address
33
33
  AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email'
34
34
  end
35
35
  end
@@ -50,6 +50,31 @@ module Google
50
50
  end
51
51
  end
52
52
 
53
+ # The channel with score.
54
+ class SasPortalChannelWithScore
55
+ include Google::Apis::Core::Hashable
56
+
57
+ # Frequency range from `low_frequency` to `high_frequency`.
58
+ # Corresponds to the JSON property `frequencyRange`
59
+ # @return [Google::Apis::SasportalV1alpha1::SasPortalFrequencyRange]
60
+ attr_accessor :frequency_range
61
+
62
+ # The channel score, normalized to be in [0,100].
63
+ # Corresponds to the JSON property `score`
64
+ # @return [Float]
65
+ attr_accessor :score
66
+
67
+ def initialize(**args)
68
+ update!(**args)
69
+ end
70
+
71
+ # Update properties of this object
72
+ def update!(**args)
73
+ @frequency_range = args[:frequency_range] if args.key?(:frequency_range)
74
+ @score = args[:score] if args.key?(:score)
75
+ end
76
+ end
77
+
53
78
  # Request for CreateSignedDevice.
54
79
  class SasPortalCreateSignedDeviceRequest
55
80
  include Google::Apis::Core::Hashable
@@ -162,6 +187,11 @@ module Google
162
187
  # @return [Google::Apis::SasportalV1alpha1::SasPortalDeviceConfig]
163
188
  attr_accessor :active_config
164
189
 
190
+ # Output only. Current channels with scores.
191
+ # Corresponds to the JSON property `currentChannels`
192
+ # @return [Array<Google::Apis::SasportalV1alpha1::SasPortalChannelWithScore>]
193
+ attr_accessor :current_channels
194
+
165
195
  # Device data overridable by both SAS Portal and registration requests.
166
196
  # Corresponds to the JSON property `deviceMetadata`
167
197
  # @return [Google::Apis::SasportalV1alpha1::SasPortalDeviceMetadata]
@@ -177,6 +207,11 @@ module Google
177
207
  # @return [String]
178
208
  attr_accessor :fcc_id
179
209
 
210
+ # Only ranges within the allowlists are available for new grants.
211
+ # Corresponds to the JSON property `grantRangeAllowlists`
212
+ # @return [Array<Google::Apis::SasportalV1alpha1::SasPortalFrequencyRange>]
213
+ attr_accessor :grant_range_allowlists
214
+
180
215
  # Output only. Grants held by the device.
181
216
  # Corresponds to the JSON property `grants`
182
217
  # @return [Array<Google::Apis::SasportalV1alpha1::SasPortalDeviceGrant>]
@@ -209,9 +244,11 @@ module Google
209
244
  # Update properties of this object
210
245
  def update!(**args)
211
246
  @active_config = args[:active_config] if args.key?(:active_config)
247
+ @current_channels = args[:current_channels] if args.key?(:current_channels)
212
248
  @device_metadata = args[:device_metadata] if args.key?(:device_metadata)
213
249
  @display_name = args[:display_name] if args.key?(:display_name)
214
250
  @fcc_id = args[:fcc_id] if args.key?(:fcc_id)
251
+ @grant_range_allowlists = args[:grant_range_allowlists] if args.key?(:grant_range_allowlists)
215
252
  @grants = args[:grants] if args.key?(:grants)
216
253
  @name = args[:name] if args.key?(:name)
217
254
  @preloaded_config = args[:preloaded_config] if args.key?(:preloaded_config)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SasportalV1alpha1
18
18
  # Version of the google-apis-sasportal_v1alpha1 gem
19
- GEM_VERSION = "0.2.0"
19
+ GEM_VERSION = "0.7.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.2"
22
+ GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210202"
25
+ REVISION = "20210403"
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 SasPortalChannelWithScore
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
31
37
  class SasPortalCreateSignedDeviceRequest
32
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
39
 
@@ -240,6 +246,15 @@ module Google
240
246
  end
241
247
  end
242
248
 
249
+ class SasPortalChannelWithScore
250
+ # @private
251
+ class Representation < Google::Apis::Core::JsonRepresentation
252
+ property :frequency_range, as: 'frequencyRange', class: Google::Apis::SasportalV1alpha1::SasPortalFrequencyRange, decorator: Google::Apis::SasportalV1alpha1::SasPortalFrequencyRange::Representation
253
+
254
+ property :score, as: 'score'
255
+ end
256
+ end
257
+
243
258
  class SasPortalCreateSignedDeviceRequest
244
259
  # @private
245
260
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -273,10 +288,14 @@ module Google
273
288
  class Representation < Google::Apis::Core::JsonRepresentation
274
289
  property :active_config, as: 'activeConfig', class: Google::Apis::SasportalV1alpha1::SasPortalDeviceConfig, decorator: Google::Apis::SasportalV1alpha1::SasPortalDeviceConfig::Representation
275
290
 
291
+ collection :current_channels, as: 'currentChannels', class: Google::Apis::SasportalV1alpha1::SasPortalChannelWithScore, decorator: Google::Apis::SasportalV1alpha1::SasPortalChannelWithScore::Representation
292
+
276
293
  property :device_metadata, as: 'deviceMetadata', class: Google::Apis::SasportalV1alpha1::SasPortalDeviceMetadata, decorator: Google::Apis::SasportalV1alpha1::SasPortalDeviceMetadata::Representation
277
294
 
278
295
  property :display_name, as: 'displayName'
279
296
  property :fcc_id, as: 'fccId'
297
+ collection :grant_range_allowlists, as: 'grantRangeAllowlists', class: Google::Apis::SasportalV1alpha1::SasPortalFrequencyRange, decorator: Google::Apis::SasportalV1alpha1::SasPortalFrequencyRange::Representation
298
+
280
299
  collection :grants, as: 'grants', class: Google::Apis::SasportalV1alpha1::SasPortalDeviceGrant, decorator: Google::Apis::SasportalV1alpha1::SasPortalDeviceGrant::Representation
281
300
 
282
301
  property :name, as: 'name'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-sasportal_v1alpha1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.7.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: 2021-02-08 00:00:00.000000000 Z
11
+ date: 2021-05-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-sasportal_v1alpha1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-sasportal_v1alpha1/v0.2.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-sasportal_v1alpha1/v0.7.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-sasportal_v1alpha1
57
57
  post_install_message:
58
58
  rdoc_options: []
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
62
62
  requirements:
63
63
  - - ">="
64
64
  - !ruby/object:Gem::Version
65
- version: '2.4'
65
+ version: '2.5'
66
66
  required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - ">="
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.2.6
72
+ rubygems_version: 3.2.17
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for SAS Portal API V1alpha1