google-apis-sasportal_v1alpha1 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ba5427da5b69a95bbe40604a8a24a5960d0d4da0137d22d97c19db2f8e0b7f0c
4
- data.tar.gz: d009de43158e84d25bcf1338a81a93b49a5d8ebc68f683431d70a08f69ab58fa
3
+ metadata.gz: c0ed9e66e594e5bef4de80293e4f7668ef5d89eb02ea9c64749ed852b1677d1f
4
+ data.tar.gz: b10900a27f4df929b1884682fc97b5c1f97a3842600c1a9efb9de7084fab7b5e
5
5
  SHA512:
6
- metadata.gz: b0b952d9a087b9327449402a08167263215e10cf48e60eb94429cc0d6374fa3656368d0176dedfb5109baf4cd85c740712f403b3990d997ed830303e95468659
7
- data.tar.gz: cf64ad5af3e4b132e36c3fbe8a9faa45538727cf7a39b3c8104d3a4fc4ba4f3d2dee532a97c6a8e894f6a8fa3ae6a2b7943707c0f2e68981d0d92e524c63b96a
6
+ metadata.gz: 84b00ea323b698e438af7ebdb81f91dfaf752e55b3d75386b4dd69bbedd4bb49c4db6f79693cc1328bcaa9d610c563b9e2621a9085fdf395f3e33e03f58fde22
7
+ data.tar.gz: edc0a712e43808db9dc6e1522cff3bf550b873f913ead09b207ce9a6c01137f5eb68590799513611abf9d37d16d891679dd918bbde5e320ba2f55ccd99bc1be3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-sasportal_v1alpha1
2
2
 
3
+ ### v0.2.0 (2021-02-04)
4
+
5
+ * Regenerated from discovery document revision 20210202
6
+ * Regenerated using generator version 0.1.2
7
+
3
8
  ### v0.1.0 (2021-01-07)
4
9
 
5
10
  * Regenerated using generator version 0.1.1
@@ -50,57 +50,18 @@ module Google
50
50
  end
51
51
  end
52
52
 
53
- # Request for BulkCreateDevice method.
54
- class SasPortalBulkCreateDeviceRequest
55
- include Google::Apis::Core::Hashable
56
-
57
- # Required. A csv with each row representing a [device]. Each row must conform
58
- # to the regulations described on CreateDeviceRequest's device field.
59
- # Corresponds to the JSON property `csv`
60
- # @return [String]
61
- attr_accessor :csv
62
-
63
- def initialize(**args)
64
- update!(**args)
65
- end
66
-
67
- # Update properties of this object
68
- def update!(**args)
69
- @csv = args[:csv] if args.key?(:csv)
70
- end
71
- end
72
-
73
- # Response for BulkCreateDevice method.
74
- class SasPortalBulkCreateDeviceResponse
75
- include Google::Apis::Core::Hashable
76
-
77
- # Required. The devices that were imported.
78
- # Corresponds to the JSON property `devices`
79
- # @return [Array<Google::Apis::SasportalV1alpha1::SasPortalDevice>]
80
- attr_accessor :devices
81
-
82
- def initialize(**args)
83
- update!(**args)
84
- end
85
-
86
- # Update properties of this object
87
- def update!(**args)
88
- @devices = args[:devices] if args.key?(:devices)
89
- end
90
- end
91
-
92
- # Request for CreateSignedDevice method.
53
+ # Request for CreateSignedDevice.
93
54
  class SasPortalCreateSignedDeviceRequest
94
55
  include Google::Apis::Core::Hashable
95
56
 
96
57
  # Required. JSON Web Token signed using a CPI private key. Payload must be the
97
- # JSON encoding of the [Device]. The user_id field must be set.
58
+ # JSON encoding of the device. The user_id field must be set.
98
59
  # Corresponds to the JSON property `encodedDevice`
99
60
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
100
61
  # @return [String]
101
62
  attr_accessor :encoded_device
102
63
 
103
- # Required. Unique installer id (cpiId) from the Certified Professional
64
+ # Required. Unique installer id (CPI ID) from the Certified Professional
104
65
  # Installers database.
105
66
  # Corresponds to the JSON property `installerId`
106
67
  # @return [String]
@@ -148,6 +109,50 @@ module Google
148
109
  end
149
110
  end
150
111
 
112
+ # The Deployment.
113
+ class SasPortalDeployment
114
+ include Google::Apis::Core::Hashable
115
+
116
+ # The allowed billing modes under this deployment.
117
+ # Corresponds to the JSON property `allowedBillingModes`
118
+ # @return [Array<String>]
119
+ attr_accessor :allowed_billing_modes
120
+
121
+ # Default billing mode for the deployment and devices under it.
122
+ # Corresponds to the JSON property `defaultBillingMode`
123
+ # @return [String]
124
+ attr_accessor :default_billing_mode
125
+
126
+ # The deployment's display name.
127
+ # Corresponds to the JSON property `displayName`
128
+ # @return [String]
129
+ attr_accessor :display_name
130
+
131
+ # Output only. Resource name.
132
+ # Corresponds to the JSON property `name`
133
+ # @return [String]
134
+ attr_accessor :name
135
+
136
+ # User ID used by the devices belonging to this deployment. Each deployment
137
+ # should be associated with one unique user ID.
138
+ # Corresponds to the JSON property `sasUserIds`
139
+ # @return [Array<String>]
140
+ attr_accessor :sas_user_ids
141
+
142
+ def initialize(**args)
143
+ update!(**args)
144
+ end
145
+
146
+ # Update properties of this object
147
+ def update!(**args)
148
+ @allowed_billing_modes = args[:allowed_billing_modes] if args.key?(:allowed_billing_modes)
149
+ @default_billing_mode = args[:default_billing_mode] if args.key?(:default_billing_mode)
150
+ @display_name = args[:display_name] if args.key?(:display_name)
151
+ @name = args[:name] if args.key?(:name)
152
+ @sas_user_ids = args[:sas_user_ids] if args.key?(:sas_user_ids)
153
+ end
154
+ end
155
+
151
156
  #
152
157
  class SasPortalDevice
153
158
  include Google::Apis::Core::Hashable
@@ -219,15 +224,15 @@ module Google
219
224
  class SasPortalDeviceAirInterface
220
225
  include Google::Apis::Core::Hashable
221
226
 
222
- # This field specifies the radio access technology that is used for the CBSD.
223
- # Conditional
227
+ # Conditional. This field specifies the radio access technology that is used for
228
+ # the CBSD.
224
229
  # Corresponds to the JSON property `radioTechnology`
225
230
  # @return [String]
226
231
  attr_accessor :radio_technology
227
232
 
228
- # This field is related to the radioTechnology field and provides the air
233
+ # Optional. This field is related to the `radioTechnology` and provides the air
229
234
  # interface specification that the CBSD is compliant with at the time of
230
- # registration. Optional
235
+ # registration.
231
236
  # Corresponds to the JSON property `supportedSpec`
232
237
  # @return [String]
233
238
  attr_accessor :supported_spec
@@ -267,7 +272,7 @@ module Google
267
272
  # @return [Google::Apis::SasportalV1alpha1::SasPortalInstallationParams]
268
273
  attr_accessor :installation_params
269
274
 
270
- # Output-only. Whether the configuration has been signed by a CPI.
275
+ # Output only. Whether the configuration has been signed by a CPI.
271
276
  # Corresponds to the JSON property `isSigned`
272
277
  # @return [Boolean]
273
278
  attr_accessor :is_signed
@@ -288,7 +293,7 @@ module Google
288
293
  # @return [String]
289
294
  attr_accessor :state
290
295
 
291
- # Output-only. The last time the device configuration was edited.
296
+ # Output only. The last time the device configuration was edited.
292
297
  # Corresponds to the JSON property `updateTime`
293
298
  # @return [String]
294
299
  attr_accessor :update_time
@@ -344,7 +349,7 @@ module Google
344
349
  attr_accessor :grant_id
345
350
 
346
351
  # Maximum Equivalent Isotropically Radiated Power (EIRP) permitted by the grant.
347
- # The maximum EIRP is in units of dBm/MHz. The value of maxEirp represents the
352
+ # The maximum EIRP is in units of dBm/MHz. The value of `maxEirp` represents the
348
353
  # average (RMS) EIRP that would be measured by the procedure defined in FCC part
349
354
  # 96.41(e)(3).
350
355
  # Corresponds to the JSON property `maxEirp`
@@ -506,8 +511,7 @@ module Google
506
511
  end
507
512
  end
508
513
 
509
- # Request for GenerateSecret method] [spectrum.sas.portal.v1alpha1.DeviceManager.
510
- # GenerateSecret].
514
+ # Request for GenerateSecret.
511
515
  class SasPortalGenerateSecretRequest
512
516
  include Google::Apis::Core::Hashable
513
517
 
@@ -520,11 +524,11 @@ module Google
520
524
  end
521
525
  end
522
526
 
523
- # Response for GenerateSecret method.
527
+ # Response for GenerateSecret.
524
528
  class SasPortalGenerateSecretResponse
525
529
  include Google::Apis::Core::Hashable
526
530
 
527
- # The secret generated by the string and used by [ValidateInstaller] method.
531
+ # The secret generated by the string and used by ValidateInstaller.
528
532
  # Corresponds to the JSON property `secret`
529
533
  # @return [String]
530
534
  attr_accessor :secret
@@ -613,9 +617,9 @@ module Google
613
617
  # @return [Fixnum]
614
618
  attr_accessor :eirp_capability
615
619
 
616
- # Device antenna height in meters. When the heightType parameter value is "AGL",
617
- # the antenna height should be given relative to ground level. When the
618
- # heightType parameter value is "AMSL", it is given with respect to WGS84 datum.
620
+ # Device antenna height in meters. When the `heightType` parameter value is "AGL"
621
+ # , the antenna height should be given relative to ground level. When the `
622
+ # heightType` parameter value is "AMSL", it is given with respect to WGS84 datum.
619
623
  # Corresponds to the JSON property `height`
620
624
  # @return [Float]
621
625
  attr_accessor :height
@@ -632,7 +636,7 @@ module Google
632
636
  # @return [Float]
633
637
  attr_accessor :horizontal_accuracy
634
638
 
635
- # Whether the device antenna is indoor or not. True: indoor. False: outdoor.
639
+ # Whether the device antenna is indoor or not. `true`: indoor. `false`: outdoor.
636
640
  # Corresponds to the JSON property `indoorDeployment`
637
641
  # @return [Boolean]
638
642
  attr_accessor :indoor_deployment
@@ -645,7 +649,7 @@ module Google
645
649
  # @return [Float]
646
650
  attr_accessor :latitude
647
651
 
648
- # Longitude of the device antenna location. in degrees relative to the WGS 84
652
+ # Longitude of the device antenna location in degrees relative to the WGS 84
649
653
  # datum. The allowed range is from -180.000000 to +180.000000. Positive values
650
654
  # represent longitudes east of the prime meridian; negative values west of the
651
655
  # prime meridian.
@@ -692,7 +696,7 @@ module Google
692
696
  # @return [Array<Google::Apis::SasportalV1alpha1::SasPortalCustomer>]
693
697
  attr_accessor :customers
694
698
 
695
- # A pagination token returned from a previous call to ListCustomers method that
699
+ # A pagination token returned from a previous call to ListCustomers that
696
700
  # indicates from where listing should continue. If the field is missing or empty,
697
701
  # it means there are no more customers.
698
702
  # Corresponds to the JSON property `nextPageToken`
@@ -710,7 +714,34 @@ module Google
710
714
  end
711
715
  end
712
716
 
713
- # Response for ListDevices method.
717
+ # Response for ListDeployments.
718
+ class SasPortalListDeploymentsResponse
719
+ include Google::Apis::Core::Hashable
720
+
721
+ # The deployments that match the request.
722
+ # Corresponds to the JSON property `deployments`
723
+ # @return [Array<Google::Apis::SasportalV1alpha1::SasPortalDeployment>]
724
+ attr_accessor :deployments
725
+
726
+ # A pagination token returned from a previous call to ListDeployments that
727
+ # indicates from where listing should continue. If the field is missing or empty,
728
+ # it means there are no more deployments.
729
+ # Corresponds to the JSON property `nextPageToken`
730
+ # @return [String]
731
+ attr_accessor :next_page_token
732
+
733
+ def initialize(**args)
734
+ update!(**args)
735
+ end
736
+
737
+ # Update properties of this object
738
+ def update!(**args)
739
+ @deployments = args[:deployments] if args.key?(:deployments)
740
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
741
+ end
742
+ end
743
+
744
+ # Response for ListDevices.
714
745
  class SasPortalListDevicesResponse
715
746
  include Google::Apis::Core::Hashable
716
747
 
@@ -719,9 +750,9 @@ module Google
719
750
  # @return [Array<Google::Apis::SasportalV1alpha1::SasPortalDevice>]
720
751
  attr_accessor :devices
721
752
 
722
- # A pagination token returned from a previous call to ListDevices method that
723
- # indicates from where listing should continue. If the field is missing or empty,
724
- # it means there is no more devices.
753
+ # A pagination token returned from a previous call to ListDevices that indicates
754
+ # from where listing should continue. If the field is missing or empty, it means
755
+ # there is no more devices.
725
756
  # Corresponds to the JSON property `nextPageToken`
726
757
  # @return [String]
727
758
  attr_accessor :next_page_token
@@ -737,13 +768,13 @@ module Google
737
768
  end
738
769
  end
739
770
 
740
- # Response for ListNodes method.
771
+ # Response for ListNodes.
741
772
  class SasPortalListNodesResponse
742
773
  include Google::Apis::Core::Hashable
743
774
 
744
- # A pagination token returned from a previous call to ListNodes method that
745
- # indicates from where listing should continue. If the field is missing or empty,
746
- # it means there is no more nodes.
775
+ # A pagination token returned from a previous call to ListNodes that indicates
776
+ # from where listing should continue. If the field is missing or empty, it means
777
+ # there is no more nodes.
747
778
  # Corresponds to the JSON property `nextPageToken`
748
779
  # @return [String]
749
780
  attr_accessor :next_page_token
@@ -764,11 +795,11 @@ module Google
764
795
  end
765
796
  end
766
797
 
767
- # Request for MoveDeployment method.
798
+ # Request for MoveDeployment.
768
799
  class SasPortalMoveDeploymentRequest
769
800
  include Google::Apis::Core::Hashable
770
801
 
771
- # Required. The name of the new parent resource Node or Customer to reparent the
802
+ # Required. The name of the new parent resource node or customer to reparent the
772
803
  # deployment under.
773
804
  # Corresponds to the JSON property `destination`
774
805
  # @return [String]
@@ -784,12 +815,12 @@ module Google
784
815
  end
785
816
  end
786
817
 
787
- # Request for MoveDevice method.
818
+ # Request for MoveDevice.
788
819
  class SasPortalMoveDeviceRequest
789
820
  include Google::Apis::Core::Hashable
790
821
 
791
- # Required. The name of the new parent resource (Node or Customer) to reparent
792
- # the device under.
822
+ # Required. The name of the new parent resource node or customer to reparent the
823
+ # device under.
793
824
  # Corresponds to the JSON property `destination`
794
825
  # @return [String]
795
826
  attr_accessor :destination
@@ -804,12 +835,12 @@ module Google
804
835
  end
805
836
  end
806
837
 
807
- # Request for MoveNode method.
838
+ # Request for MoveNode.
808
839
  class SasPortalMoveNodeRequest
809
840
  include Google::Apis::Core::Hashable
810
841
 
811
- # Required. The name of the new parent resource node or Customer) to reparent
812
- # the node under.
842
+ # Required. The name of the new parent resource node or customer to reparent the
843
+ # node under.
813
844
  # Corresponds to the JSON property `destination`
814
845
  # @return [String]
815
846
  attr_accessor :destination
@@ -921,19 +952,19 @@ module Google
921
952
  class SasPortalPolicy
922
953
  include Google::Apis::Core::Hashable
923
954
 
924
- #
955
+ # List of assignments
925
956
  # Corresponds to the JSON property `assignments`
926
957
  # @return [Array<Google::Apis::SasportalV1alpha1::SasPortalAssignment>]
927
958
  attr_accessor :assignments
928
959
 
929
- # The [etag] is used for optimistic concurrency control as a way to help prevent
960
+ # The etag is used for optimistic concurrency control as a way to help prevent
930
961
  # simultaneous updates of a policy from overwriting each other. It is strongly
931
- # suggested that systems make use of the [etag] in the read-modify-write cycle
932
- # to perform policy updates in order to avoid race conditions: An [etag] is
933
- # returned in the response to [GetPolicy], and systems are expected to put that
934
- # etag in the request to [SetPolicy] to ensure that their change will be applied
935
- # to the same version of the policy. If no [etag] is provided in the call to [
936
- # SetPolicy], then the existing policy is overwritten blindly.
962
+ # suggested that systems make use of the etag in the read-modify-write cycle to
963
+ # perform policy updates in order to avoid race conditions: An etag is returned
964
+ # in the response to GetPolicy, and systems are expected to put that etag in the
965
+ # request to SetPolicy to ensure that their change will be applied to the same
966
+ # version of the policy. If no etag is provided in the call to GetPolicy, then
967
+ # the existing policy is overwritten blindly.
937
968
  # Corresponds to the JSON property `etag`
938
969
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
939
970
  # @return [String]
@@ -976,7 +1007,7 @@ module Google
976
1007
  end
977
1008
  end
978
1009
 
979
- # Request for SignDevice method.
1010
+ # Request for SignDevice.
980
1011
  class SasPortalSignDeviceRequest
981
1012
  include Google::Apis::Core::Hashable
982
1013
 
@@ -1079,7 +1110,7 @@ module Google
1079
1110
  end
1080
1111
  end
1081
1112
 
1082
- # Request for UpdateSignedDevice method.
1113
+ # Request for UpdateSignedDevice.
1083
1114
  class SasPortalUpdateSignedDeviceRequest
1084
1115
  include Google::Apis::Core::Hashable
1085
1116
 
@@ -1107,7 +1138,7 @@ module Google
1107
1138
  end
1108
1139
  end
1109
1140
 
1110
- # Request for ValidateInstaller method.
1141
+ # Request for ValidateInstaller.
1111
1142
  class SasPortalValidateInstallerRequest
1112
1143
  include Google::Apis::Core::Hashable
1113
1144
 
@@ -1117,13 +1148,13 @@ module Google
1117
1148
  # @return [String]
1118
1149
  attr_accessor :encoded_secret
1119
1150
 
1120
- # Required. Unique installer id (cpiId) from the Certified Professional
1151
+ # Required. Unique installer id (CPI ID) from the Certified Professional
1121
1152
  # Installers database.
1122
1153
  # Corresponds to the JSON property `installerId`
1123
1154
  # @return [String]
1124
1155
  attr_accessor :installer_id
1125
1156
 
1126
- # Required. Secret returned by the GenerateSecret method.
1157
+ # Required. Secret returned by the GenerateSecret.
1127
1158
  # Corresponds to the JSON property `secret`
1128
1159
  # @return [String]
1129
1160
  attr_accessor :secret
@@ -1140,8 +1171,7 @@ module Google
1140
1171
  end
1141
1172
  end
1142
1173
 
1143
- # Response for ValidateInstaller method] [spectrum.sas.portal.v1alpha1.
1144
- # DeviceManager.ValidateInstaller].
1174
+ # Response for ValidateInstaller.
1145
1175
  class SasPortalValidateInstallerResponse
1146
1176
  include Google::Apis::Core::Hashable
1147
1177
 
@@ -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.1.0"
19
+ GEM_VERSION = "0.2.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.1"
22
+ GENERATOR_VERSION = "0.1.2"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20201019"
25
+ REVISION = "20210202"
26
26
  end
27
27
  end
28
28
  end
@@ -28,25 +28,19 @@ module Google
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
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
31
+ class SasPortalCreateSignedDeviceRequest
38
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
33
 
40
34
  include Google::Apis::Core::JsonObjectSupport
41
35
  end
42
36
 
43
- class SasPortalCreateSignedDeviceRequest
37
+ class SasPortalCustomer
44
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
39
 
46
40
  include Google::Apis::Core::JsonObjectSupport
47
41
  end
48
42
 
49
- class SasPortalCustomer
43
+ class SasPortalDeployment
50
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
45
 
52
46
  include Google::Apis::Core::JsonObjectSupport
@@ -136,6 +130,12 @@ module Google
136
130
  include Google::Apis::Core::JsonObjectSupport
137
131
  end
138
132
 
133
+ class SasPortalListDeploymentsResponse
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
139
  class SasPortalListDevicesResponse
140
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
141
 
@@ -240,32 +240,28 @@ module Google
240
240
  end
241
241
  end
242
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
243
+ class SasPortalCreateSignedDeviceRequest
251
244
  # @private
252
245
  class Representation < Google::Apis::Core::JsonRepresentation
253
- collection :devices, as: 'devices', class: Google::Apis::SasportalV1alpha1::SasPortalDevice, decorator: Google::Apis::SasportalV1alpha1::SasPortalDevice::Representation
254
-
246
+ property :encoded_device, :base64 => true, as: 'encodedDevice'
247
+ property :installer_id, as: 'installerId'
255
248
  end
256
249
  end
257
250
 
258
- class SasPortalCreateSignedDeviceRequest
251
+ class SasPortalCustomer
259
252
  # @private
260
253
  class Representation < Google::Apis::Core::JsonRepresentation
261
- property :encoded_device, :base64 => true, as: 'encodedDevice'
262
- property :installer_id, as: 'installerId'
254
+ property :display_name, as: 'displayName'
255
+ property :name, as: 'name'
256
+ collection :sas_user_ids, as: 'sasUserIds'
263
257
  end
264
258
  end
265
259
 
266
- class SasPortalCustomer
260
+ class SasPortalDeployment
267
261
  # @private
268
262
  class Representation < Google::Apis::Core::JsonRepresentation
263
+ collection :allowed_billing_modes, as: 'allowedBillingModes'
264
+ property :default_billing_mode, as: 'defaultBillingMode'
269
265
  property :display_name, as: 'displayName'
270
266
  property :name, as: 'name'
271
267
  collection :sas_user_ids, as: 'sasUserIds'
@@ -423,6 +419,15 @@ module Google
423
419
  end
424
420
  end
425
421
 
422
+ class SasPortalListDeploymentsResponse
423
+ # @private
424
+ class Representation < Google::Apis::Core::JsonRepresentation
425
+ collection :deployments, as: 'deployments', class: Google::Apis::SasportalV1alpha1::SasPortalDeployment, decorator: Google::Apis::SasportalV1alpha1::SasPortalDeployment::Representation
426
+
427
+ property :next_page_token, as: 'nextPageToken'
428
+ end
429
+ end
430
+
426
431
  class SasPortalListDevicesResponse
427
432
  # @private
428
433
  class Representation < Google::Apis::Core::JsonRepresentation