google-apis-sasportal_v1alpha1 0.1.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.
@@ -0,0 +1,28 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ module Google
16
+ module Apis
17
+ module SasportalV1alpha1
18
+ # Version of the google-apis-sasportal_v1alpha1 gem
19
+ GEM_VERSION = "0.1.0"
20
+
21
+ # Version of the code generator used to generate this client
22
+ GENERATOR_VERSION = "0.1.1"
23
+
24
+ # Revision of the discovery document this client was generated from
25
+ REVISION = "20201019"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,560 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module SasportalV1alpha1
24
+
25
+ class SasPortalAssignment
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class SasPortalBulkCreateDeviceRequest
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class SasPortalBulkCreateDeviceResponse
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class SasPortalCreateSignedDeviceRequest
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class SasPortalCustomer
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class SasPortalDevice
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class SasPortalDeviceAirInterface
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class SasPortalDeviceConfig
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class SasPortalDeviceGrant
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class SasPortalDeviceMetadata
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class SasPortalDeviceModel
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class SasPortalDpaMoveList
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class SasPortalEmpty
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class SasPortalFrequencyRange
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class SasPortalGenerateSecretRequest
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class SasPortalGenerateSecretResponse
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class SasPortalGetPolicyRequest
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class SasPortalInstallationParams
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class SasPortalListCustomersResponse
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class SasPortalListDevicesResponse
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class SasPortalListNodesResponse
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class SasPortalMoveDeploymentRequest
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class SasPortalMoveDeviceRequest
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class SasPortalMoveNodeRequest
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class SasPortalNode
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class SasPortalOperation
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class SasPortalPolicy
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class SasPortalSetPolicyRequest
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class SasPortalSignDeviceRequest
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class SasPortalStatus
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class SasPortalTestPermissionsRequest
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class SasPortalTestPermissionsResponse
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class SasPortalUpdateSignedDeviceRequest
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class SasPortalValidateInstallerRequest
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class SasPortalValidateInstallerResponse
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class SasPortalAssignment
236
+ # @private
237
+ class Representation < Google::Apis::Core::JsonRepresentation
238
+ collection :members, as: 'members'
239
+ property :role, as: 'role'
240
+ end
241
+ end
242
+
243
+ class SasPortalBulkCreateDeviceRequest
244
+ # @private
245
+ class Representation < Google::Apis::Core::JsonRepresentation
246
+ property :csv, as: 'csv'
247
+ end
248
+ end
249
+
250
+ class SasPortalBulkCreateDeviceResponse
251
+ # @private
252
+ class Representation < Google::Apis::Core::JsonRepresentation
253
+ collection :devices, as: 'devices', class: Google::Apis::SasportalV1alpha1::SasPortalDevice, decorator: Google::Apis::SasportalV1alpha1::SasPortalDevice::Representation
254
+
255
+ end
256
+ end
257
+
258
+ class SasPortalCreateSignedDeviceRequest
259
+ # @private
260
+ class Representation < Google::Apis::Core::JsonRepresentation
261
+ property :encoded_device, :base64 => true, as: 'encodedDevice'
262
+ property :installer_id, as: 'installerId'
263
+ end
264
+ end
265
+
266
+ class SasPortalCustomer
267
+ # @private
268
+ class Representation < Google::Apis::Core::JsonRepresentation
269
+ property :display_name, as: 'displayName'
270
+ property :name, as: 'name'
271
+ collection :sas_user_ids, as: 'sasUserIds'
272
+ end
273
+ end
274
+
275
+ class SasPortalDevice
276
+ # @private
277
+ class Representation < Google::Apis::Core::JsonRepresentation
278
+ property :active_config, as: 'activeConfig', class: Google::Apis::SasportalV1alpha1::SasPortalDeviceConfig, decorator: Google::Apis::SasportalV1alpha1::SasPortalDeviceConfig::Representation
279
+
280
+ property :device_metadata, as: 'deviceMetadata', class: Google::Apis::SasportalV1alpha1::SasPortalDeviceMetadata, decorator: Google::Apis::SasportalV1alpha1::SasPortalDeviceMetadata::Representation
281
+
282
+ property :display_name, as: 'displayName'
283
+ property :fcc_id, as: 'fccId'
284
+ collection :grants, as: 'grants', class: Google::Apis::SasportalV1alpha1::SasPortalDeviceGrant, decorator: Google::Apis::SasportalV1alpha1::SasPortalDeviceGrant::Representation
285
+
286
+ property :name, as: 'name'
287
+ property :preloaded_config, as: 'preloadedConfig', class: Google::Apis::SasportalV1alpha1::SasPortalDeviceConfig, decorator: Google::Apis::SasportalV1alpha1::SasPortalDeviceConfig::Representation
288
+
289
+ property :serial_number, as: 'serialNumber'
290
+ property :state, as: 'state'
291
+ end
292
+ end
293
+
294
+ class SasPortalDeviceAirInterface
295
+ # @private
296
+ class Representation < Google::Apis::Core::JsonRepresentation
297
+ property :radio_technology, as: 'radioTechnology'
298
+ property :supported_spec, as: 'supportedSpec'
299
+ end
300
+ end
301
+
302
+ class SasPortalDeviceConfig
303
+ # @private
304
+ class Representation < Google::Apis::Core::JsonRepresentation
305
+ property :air_interface, as: 'airInterface', class: Google::Apis::SasportalV1alpha1::SasPortalDeviceAirInterface, decorator: Google::Apis::SasportalV1alpha1::SasPortalDeviceAirInterface::Representation
306
+
307
+ property :call_sign, as: 'callSign'
308
+ property :category, as: 'category'
309
+ property :installation_params, as: 'installationParams', class: Google::Apis::SasportalV1alpha1::SasPortalInstallationParams, decorator: Google::Apis::SasportalV1alpha1::SasPortalInstallationParams::Representation
310
+
311
+ property :is_signed, as: 'isSigned'
312
+ collection :measurement_capabilities, as: 'measurementCapabilities'
313
+ property :model, as: 'model', class: Google::Apis::SasportalV1alpha1::SasPortalDeviceModel, decorator: Google::Apis::SasportalV1alpha1::SasPortalDeviceModel::Representation
314
+
315
+ property :state, as: 'state'
316
+ property :update_time, as: 'updateTime'
317
+ property :user_id, as: 'userId'
318
+ end
319
+ end
320
+
321
+ class SasPortalDeviceGrant
322
+ # @private
323
+ class Representation < Google::Apis::Core::JsonRepresentation
324
+ property :channel_type, as: 'channelType'
325
+ property :expire_time, as: 'expireTime'
326
+ property :frequency_range, as: 'frequencyRange', class: Google::Apis::SasportalV1alpha1::SasPortalFrequencyRange, decorator: Google::Apis::SasportalV1alpha1::SasPortalFrequencyRange::Representation
327
+
328
+ property :grant_id, as: 'grantId'
329
+ property :max_eirp, as: 'maxEirp'
330
+ collection :move_list, as: 'moveList', class: Google::Apis::SasportalV1alpha1::SasPortalDpaMoveList, decorator: Google::Apis::SasportalV1alpha1::SasPortalDpaMoveList::Representation
331
+
332
+ property :state, as: 'state'
333
+ collection :suspension_reason, as: 'suspensionReason'
334
+ end
335
+ end
336
+
337
+ class SasPortalDeviceMetadata
338
+ # @private
339
+ class Representation < Google::Apis::Core::JsonRepresentation
340
+ end
341
+ end
342
+
343
+ class SasPortalDeviceModel
344
+ # @private
345
+ class Representation < Google::Apis::Core::JsonRepresentation
346
+ property :firmware_version, as: 'firmwareVersion'
347
+ property :hardware_version, as: 'hardwareVersion'
348
+ property :name, as: 'name'
349
+ property :software_version, as: 'softwareVersion'
350
+ property :vendor, as: 'vendor'
351
+ end
352
+ end
353
+
354
+ class SasPortalDpaMoveList
355
+ # @private
356
+ class Representation < Google::Apis::Core::JsonRepresentation
357
+ property :dpa_id, as: 'dpaId'
358
+ property :frequency_range, as: 'frequencyRange', class: Google::Apis::SasportalV1alpha1::SasPortalFrequencyRange, decorator: Google::Apis::SasportalV1alpha1::SasPortalFrequencyRange::Representation
359
+
360
+ end
361
+ end
362
+
363
+ class SasPortalEmpty
364
+ # @private
365
+ class Representation < Google::Apis::Core::JsonRepresentation
366
+ end
367
+ end
368
+
369
+ class SasPortalFrequencyRange
370
+ # @private
371
+ class Representation < Google::Apis::Core::JsonRepresentation
372
+ property :high_frequency_mhz, as: 'highFrequencyMhz'
373
+ property :low_frequency_mhz, as: 'lowFrequencyMhz'
374
+ end
375
+ end
376
+
377
+ class SasPortalGenerateSecretRequest
378
+ # @private
379
+ class Representation < Google::Apis::Core::JsonRepresentation
380
+ end
381
+ end
382
+
383
+ class SasPortalGenerateSecretResponse
384
+ # @private
385
+ class Representation < Google::Apis::Core::JsonRepresentation
386
+ property :secret, as: 'secret'
387
+ end
388
+ end
389
+
390
+ class SasPortalGetPolicyRequest
391
+ # @private
392
+ class Representation < Google::Apis::Core::JsonRepresentation
393
+ property :resource, as: 'resource'
394
+ end
395
+ end
396
+
397
+ class SasPortalInstallationParams
398
+ # @private
399
+ class Representation < Google::Apis::Core::JsonRepresentation
400
+ property :antenna_azimuth, as: 'antennaAzimuth'
401
+ property :antenna_beamwidth, as: 'antennaBeamwidth'
402
+ property :antenna_downtilt, as: 'antennaDowntilt'
403
+ property :antenna_gain, as: 'antennaGain'
404
+ property :antenna_model, as: 'antennaModel'
405
+ property :cpe_cbsd_indication, as: 'cpeCbsdIndication'
406
+ property :eirp_capability, as: 'eirpCapability'
407
+ property :height, as: 'height'
408
+ property :height_type, as: 'heightType'
409
+ property :horizontal_accuracy, as: 'horizontalAccuracy'
410
+ property :indoor_deployment, as: 'indoorDeployment'
411
+ property :latitude, as: 'latitude'
412
+ property :longitude, as: 'longitude'
413
+ property :vertical_accuracy, as: 'verticalAccuracy'
414
+ end
415
+ end
416
+
417
+ class SasPortalListCustomersResponse
418
+ # @private
419
+ class Representation < Google::Apis::Core::JsonRepresentation
420
+ collection :customers, as: 'customers', class: Google::Apis::SasportalV1alpha1::SasPortalCustomer, decorator: Google::Apis::SasportalV1alpha1::SasPortalCustomer::Representation
421
+
422
+ property :next_page_token, as: 'nextPageToken'
423
+ end
424
+ end
425
+
426
+ class SasPortalListDevicesResponse
427
+ # @private
428
+ class Representation < Google::Apis::Core::JsonRepresentation
429
+ collection :devices, as: 'devices', class: Google::Apis::SasportalV1alpha1::SasPortalDevice, decorator: Google::Apis::SasportalV1alpha1::SasPortalDevice::Representation
430
+
431
+ property :next_page_token, as: 'nextPageToken'
432
+ end
433
+ end
434
+
435
+ class SasPortalListNodesResponse
436
+ # @private
437
+ class Representation < Google::Apis::Core::JsonRepresentation
438
+ property :next_page_token, as: 'nextPageToken'
439
+ collection :nodes, as: 'nodes', class: Google::Apis::SasportalV1alpha1::SasPortalNode, decorator: Google::Apis::SasportalV1alpha1::SasPortalNode::Representation
440
+
441
+ end
442
+ end
443
+
444
+ class SasPortalMoveDeploymentRequest
445
+ # @private
446
+ class Representation < Google::Apis::Core::JsonRepresentation
447
+ property :destination, as: 'destination'
448
+ end
449
+ end
450
+
451
+ class SasPortalMoveDeviceRequest
452
+ # @private
453
+ class Representation < Google::Apis::Core::JsonRepresentation
454
+ property :destination, as: 'destination'
455
+ end
456
+ end
457
+
458
+ class SasPortalMoveNodeRequest
459
+ # @private
460
+ class Representation < Google::Apis::Core::JsonRepresentation
461
+ property :destination, as: 'destination'
462
+ end
463
+ end
464
+
465
+ class SasPortalNode
466
+ # @private
467
+ class Representation < Google::Apis::Core::JsonRepresentation
468
+ property :display_name, as: 'displayName'
469
+ property :name, as: 'name'
470
+ collection :sas_user_ids, as: 'sasUserIds'
471
+ end
472
+ end
473
+
474
+ class SasPortalOperation
475
+ # @private
476
+ class Representation < Google::Apis::Core::JsonRepresentation
477
+ property :done, as: 'done'
478
+ property :error, as: 'error', class: Google::Apis::SasportalV1alpha1::SasPortalStatus, decorator: Google::Apis::SasportalV1alpha1::SasPortalStatus::Representation
479
+
480
+ hash :metadata, as: 'metadata'
481
+ property :name, as: 'name'
482
+ hash :response, as: 'response'
483
+ end
484
+ end
485
+
486
+ class SasPortalPolicy
487
+ # @private
488
+ class Representation < Google::Apis::Core::JsonRepresentation
489
+ collection :assignments, as: 'assignments', class: Google::Apis::SasportalV1alpha1::SasPortalAssignment, decorator: Google::Apis::SasportalV1alpha1::SasPortalAssignment::Representation
490
+
491
+ property :etag, :base64 => true, as: 'etag'
492
+ end
493
+ end
494
+
495
+ class SasPortalSetPolicyRequest
496
+ # @private
497
+ class Representation < Google::Apis::Core::JsonRepresentation
498
+ property :policy, as: 'policy', class: Google::Apis::SasportalV1alpha1::SasPortalPolicy, decorator: Google::Apis::SasportalV1alpha1::SasPortalPolicy::Representation
499
+
500
+ property :resource, as: 'resource'
501
+ end
502
+ end
503
+
504
+ class SasPortalSignDeviceRequest
505
+ # @private
506
+ class Representation < Google::Apis::Core::JsonRepresentation
507
+ property :device, as: 'device', class: Google::Apis::SasportalV1alpha1::SasPortalDevice, decorator: Google::Apis::SasportalV1alpha1::SasPortalDevice::Representation
508
+
509
+ end
510
+ end
511
+
512
+ class SasPortalStatus
513
+ # @private
514
+ class Representation < Google::Apis::Core::JsonRepresentation
515
+ property :code, as: 'code'
516
+ collection :details, as: 'details'
517
+ property :message, as: 'message'
518
+ end
519
+ end
520
+
521
+ class SasPortalTestPermissionsRequest
522
+ # @private
523
+ class Representation < Google::Apis::Core::JsonRepresentation
524
+ collection :permissions, as: 'permissions'
525
+ property :resource, as: 'resource'
526
+ end
527
+ end
528
+
529
+ class SasPortalTestPermissionsResponse
530
+ # @private
531
+ class Representation < Google::Apis::Core::JsonRepresentation
532
+ collection :permissions, as: 'permissions'
533
+ end
534
+ end
535
+
536
+ class SasPortalUpdateSignedDeviceRequest
537
+ # @private
538
+ class Representation < Google::Apis::Core::JsonRepresentation
539
+ property :encoded_device, :base64 => true, as: 'encodedDevice'
540
+ property :installer_id, as: 'installerId'
541
+ end
542
+ end
543
+
544
+ class SasPortalValidateInstallerRequest
545
+ # @private
546
+ class Representation < Google::Apis::Core::JsonRepresentation
547
+ property :encoded_secret, as: 'encodedSecret'
548
+ property :installer_id, as: 'installerId'
549
+ property :secret, as: 'secret'
550
+ end
551
+ end
552
+
553
+ class SasPortalValidateInstallerResponse
554
+ # @private
555
+ class Representation < Google::Apis::Core::JsonRepresentation
556
+ end
557
+ end
558
+ end
559
+ end
560
+ end