google-apis-sasportal_v1alpha1 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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: de87f8039501922cda68fb9cdd0ee240f4f01210dd8bdd1c9175e0f6f997fe67
4
- data.tar.gz: 5abf36c16b50e6cb3a547c39d24a919de5afc00ce5d70bf1b6bfced5aeeba0c5
3
+ metadata.gz: af1e763b1267367b4647db264bf4ef0f888300c9d51b676f3886b6d421e2ea8e
4
+ data.tar.gz: 4621aeff7eb958c06b7afdfb445201c714dd74e65c76007cf779c3c95b00127b
5
5
  SHA512:
6
- metadata.gz: '06698dfbaf2b824f8978d96648ace7a3cd55e5175799c51e8cffaf7034b5108138904b39810f8f4e7ebd792f23f93cd40a4574d78aa370335339809840db0912'
7
- data.tar.gz: 10e571cc88c4ade453444b15025dd7ecf1adedb1d5774ec29e2a1a81960141bb546fdff0046fd6b6fcde6a347d9d9e44dc45c9848ca5941007f97fb70c3d05ce
6
+ metadata.gz: b56d2f92eee857911dd1b7278e7b43b41e7211aab8393ad44ecc5d94cc1cc9047cd9e1a0aa529baacc9b3319479dc14d1cce4fdc28b7258337b960cb8827f8e2
7
+ data.tar.gz: '086d372cce07f67cc0957a4820a2e90110f78f90af59eaa7e0aa70d03f6abff2a46e966ec2643dfa2f6b949ef3505284557a7a8e7f1c7efb3edc69490b2e037e'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-sasportal_v1alpha1
2
2
 
3
+ ### v0.5.0 (2021-03-18)
4
+
5
+ * Regenerated from discovery document revision 20210315
6
+ * Regenerated using generator version 0.2.0
7
+
3
8
  ### v0.4.0 (2021-03-04)
4
9
 
5
10
  * Unspecified changes
@@ -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]
@@ -214,6 +244,7 @@ module Google
214
244
  # Update properties of this object
215
245
  def update!(**args)
216
246
  @active_config = args[:active_config] if args.key?(:active_config)
247
+ @current_channels = args[:current_channels] if args.key?(:current_channels)
217
248
  @device_metadata = args[:device_metadata] if args.key?(:device_metadata)
218
249
  @display_name = args[:display_name] if args.key?(:display_name)
219
250
  @fcc_id = args[:fcc_id] if args.key?(:fcc_id)
@@ -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.4.0"
19
+ GEM_VERSION = "0.5.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 = "20210218"
25
+ REVISION = "20210315"
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,6 +288,8 @@ 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'
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.4.0
4
+ version: 0.5.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-03-08 00:00:00.000000000 Z
11
+ date: 2021-03-22 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.4.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-sasportal_v1alpha1/v0.5.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: []