Class: Google::Apis::SasportalV1alpha1::SasPortalDeviceConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/sasportal_v1alpha1/classes.rb,
generated/google/apis/sasportal_v1alpha1/representations.rb,
generated/google/apis/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.



301
302
303
# File 'generated/google/apis/sasportal_v1alpha1/classes.rb', line 301

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

Instance Attribute Details

#air_interfaceGoogle::Apis::SasportalV1alpha1::SasPortalDeviceAirInterface

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



253
254
255
# File 'generated/google/apis/sasportal_v1alpha1/classes.rb', line 253

def air_interface
  @air_interface
end

#call_signString

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

Returns:

  • (String)


258
259
260
# File 'generated/google/apis/sasportal_v1alpha1/classes.rb', line 258

def call_sign
  @call_sign
end

#categoryString

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

Returns:

  • (String)


263
264
265
# File 'generated/google/apis/sasportal_v1alpha1/classes.rb', line 263

def category
  @category
end

#installation_paramsGoogle::Apis::SasportalV1alpha1::SasPortalInstallationParams

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



268
269
270
# File 'generated/google/apis/sasportal_v1alpha1/classes.rb', line 268

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)


273
274
275
# File 'generated/google/apis/sasportal_v1alpha1/classes.rb', line 273

def is_signed
  @is_signed
end

#measurement_capabilitiesArray<String>

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

Returns:

  • (Array<String>)


279
280
281
# File 'generated/google/apis/sasportal_v1alpha1/classes.rb', line 279

def measurement_capabilities
  @measurement_capabilities
end

#modelGoogle::Apis::SasportalV1alpha1::SasPortalDeviceModel

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



284
285
286
# File 'generated/google/apis/sasportal_v1alpha1/classes.rb', line 284

def model
  @model
end

#stateString

State of the configuration. Corresponds to the JSON property state

Returns:

  • (String)


289
290
291
# File 'generated/google/apis/sasportal_v1alpha1/classes.rb', line 289

def state
  @state
end

#update_timeString

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

Returns:

  • (String)


294
295
296
# File 'generated/google/apis/sasportal_v1alpha1/classes.rb', line 294

def update_time
  @update_time
end

#user_idString

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

Returns:

  • (String)


299
300
301
# File 'generated/google/apis/sasportal_v1alpha1/classes.rb', line 299

def user_id
  @user_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



306
307
308
309
310
311
312
313
314
315
316
317
# File 'generated/google/apis/sasportal_v1alpha1/classes.rb', line 306

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