Class: Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeviceConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb,
lib/google/apis/prod_tt_sasportal_v1alpha1/representations.rb,
lib/google/apis/prod_tt_sasportal_v1alpha1/representations.rb

Overview

Information about the device configuration.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SasPortalDeviceConfig

Returns a new instance of SasPortalDeviceConfig.



364
365
366
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 364

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#air_interfaceGoogle::Apis::ProdTtSasportalV1alpha1::SasPortalDeviceAirInterface

Information about the device's air interface. Corresponds to the JSON property airInterface



316
317
318
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 316

def air_interface
  @air_interface
end

#call_signString

The call sign of the device operator. Corresponds to the JSON property callSign

Returns:

  • (String)


321
322
323
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 321

def call_sign
  @call_sign
end

#categoryString

FCC category of the device. Corresponds to the JSON property category

Returns:

  • (String)


326
327
328
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 326

def category
  @category
end

#installation_paramsGoogle::Apis::ProdTtSasportalV1alpha1::SasPortalInstallationParams

Information about the device installation parameters. Corresponds to the JSON property installationParams



331
332
333
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 331

def installation_params
  @installation_params
end

#is_signedBoolean Also known as: is_signed?

Output only. Whether the configuration has been signed by a CPI. Corresponds to the JSON property isSigned

Returns:

  • (Boolean)


336
337
338
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 336

def is_signed
  @is_signed
end

#measurement_capabilitiesArray<String>

Measurement reporting capabilities of the device. Corresponds to the JSON property measurementCapabilities

Returns:

  • (Array<String>)


342
343
344
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 342

def measurement_capabilities
  @measurement_capabilities
end

#modelGoogle::Apis::ProdTtSasportalV1alpha1::SasPortalDeviceModel

Information about the model of the device. Corresponds to the JSON property model



347
348
349
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 347

def model
  @model
end

#stateString

State of the configuration. Corresponds to the JSON property state

Returns:

  • (String)


352
353
354
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 352

def state
  @state
end

#update_timeString

Output only. The last time the device configuration was edited. Corresponds to the JSON property updateTime

Returns:

  • (String)


357
358
359
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 357

def update_time
  @update_time
end

#user_idString

The identifier of a device user. Corresponds to the JSON property userId

Returns:

  • (String)


362
363
364
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 362

def user_id
  @user_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



369
370
371
372
373
374
375
376
377
378
379
380
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 369

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