Class: Google::Apis::SasportalV1alpha1::SasPortalDeviceConfig
- Inherits:
-
Object
- Object
- Google::Apis::SasportalV1alpha1::SasPortalDeviceConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/sasportal_v1alpha1/classes.rb,
lib/google/apis/sasportal_v1alpha1/representations.rb,
lib/google/apis/sasportal_v1alpha1/representations.rb
Overview
Information about the device configuration.
Instance Attribute Summary collapse
-
#air_interface ⇒ Google::Apis::SasportalV1alpha1::SasPortalDeviceAirInterface
Information about the device's air interface.
-
#call_sign ⇒ String
The call sign of the device operator.
-
#category ⇒ String
FCC category of the device.
-
#installation_params ⇒ Google::Apis::SasportalV1alpha1::SasPortalInstallationParams
Information about the device installation parameters.
-
#is_signed ⇒ Boolean
(also: #is_signed?)
Output only.
-
#measurement_capabilities ⇒ Array<String>
Measurement reporting capabilities of the device.
-
#model ⇒ Google::Apis::SasportalV1alpha1::SasPortalDeviceModel
Information about the model of the device.
-
#state ⇒ String
State of the configuration.
-
#update_time ⇒ String
Output only.
-
#user_id ⇒ String
The identifier of a device user.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SasPortalDeviceConfig
constructor
A new instance of SasPortalDeviceConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SasPortalDeviceConfig
Returns a new instance of SasPortalDeviceConfig.
343 344 345 |
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 343 def initialize(**args) update!(**args) end |
Instance Attribute Details
#air_interface ⇒ Google::Apis::SasportalV1alpha1::SasPortalDeviceAirInterface
Information about the device's air interface.
Corresponds to the JSON property airInterface
295 296 297 |
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 295 def air_interface @air_interface end |
#call_sign ⇒ String
The call sign of the device operator.
Corresponds to the JSON property callSign
300 301 302 |
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 300 def call_sign @call_sign end |
#category ⇒ String
FCC category of the device.
Corresponds to the JSON property category
305 306 307 |
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 305 def category @category end |
#installation_params ⇒ Google::Apis::SasportalV1alpha1::SasPortalInstallationParams
Information about the device installation parameters.
Corresponds to the JSON property installationParams
310 311 312 |
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 310 def installation_params @installation_params end |
#is_signed ⇒ Boolean Also known as: is_signed?
Output only. Whether the configuration has been signed by a CPI.
Corresponds to the JSON property isSigned
315 316 317 |
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 315 def is_signed @is_signed end |
#measurement_capabilities ⇒ Array<String>
Measurement reporting capabilities of the device.
Corresponds to the JSON property measurementCapabilities
321 322 323 |
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 321 def measurement_capabilities @measurement_capabilities end |
#model ⇒ Google::Apis::SasportalV1alpha1::SasPortalDeviceModel
Information about the model of the device.
Corresponds to the JSON property model
326 327 328 |
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 326 def model @model end |
#state ⇒ String
State of the configuration.
Corresponds to the JSON property state
331 332 333 |
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 331 def state @state end |
#update_time ⇒ String
Output only. The last time the device configuration was edited.
Corresponds to the JSON property updateTime
336 337 338 |
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 336 def update_time @update_time end |
#user_id ⇒ String
The identifier of a device user.
Corresponds to the JSON property userId
341 342 343 |
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 341 def user_id @user_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
348 349 350 351 352 353 354 355 356 357 358 359 |
# File 'lib/google/apis/sasportal_v1alpha1/classes.rb', line 348 def update!(**args) @air_interface = args[:air_interface] if args.key?(:air_interface) @call_sign = args[:call_sign] if args.key?(:call_sign) @category = args[:category] if args.key?(:category) @installation_params = args[:installation_params] if args.key?(:installation_params) @is_signed = args[:is_signed] if args.key?(:is_signed) @measurement_capabilities = args[:measurement_capabilities] if args.key?(:measurement_capabilities) @model = args[:model] if args.key?(:model) @state = args[:state] if args.key?(:state) @update_time = args[:update_time] if args.key?(:update_time) @user_id = args[:user_id] if args.key?(:user_id) end |