class Google::Apis::SasportalV1alpha1::SasPortalDevice

Attributes

active_config[RW]

Information about the device configuration. Corresponds to the JSON property `activeConfig` @return [Google::Apis::SasportalV1alpha1::SasPortalDeviceConfig]

current_channels[RW]

Output only. Current channels with scores. Corresponds to the JSON property `currentChannels` @return [Array<Google::Apis::SasportalV1alpha1::SasPortalChannelWithScore>]

device_metadata[RW]

Device data overridable by both SAS Portal and registration requests. Corresponds to the JSON property `deviceMetadata` @return [Google::Apis::SasportalV1alpha1::SasPortalDeviceMetadata]

display_name[RW]

Device display name. Corresponds to the JSON property `displayName` @return [String]

fcc_id[RW]

The FCC identifier of the device. Corresponds to the JSON property `fccId` @return [String]

grant_range_allowlists[RW]

Only ranges within the allowlists are available for new grants. Corresponds to the JSON property `grantRangeAllowlists` @return [Array<Google::Apis::SasportalV1alpha1::SasPortalFrequencyRange>]

grants[RW]

Output only. Grants held by the device. Corresponds to the JSON property `grants` @return [Array<Google::Apis::SasportalV1alpha1::SasPortalDeviceGrant>]

name[RW]

Output only. The resource path name. Corresponds to the JSON property `name` @return [String]

preloaded_config[RW]

Information about the device configuration. Corresponds to the JSON property `preloadedConfig` @return [Google::Apis::SasportalV1alpha1::SasPortalDeviceConfig]

serial_number[RW]

A serial number assigned to the device by the device manufacturer. Corresponds to the JSON property `serialNumber` @return [String]

state[RW]

Output only. Device state. Corresponds to the JSON property `state` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/sasportal_v1alpha1/classes.rb, line 246
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/sasportal_v1alpha1/classes.rb, line 251
def update!(**args)
  @active_config = args[:active_config] if args.key?(:active_config)
  @current_channels = args[:current_channels] if args.key?(:current_channels)
  @device_metadata = args[:device_metadata] if args.key?(:device_metadata)
  @display_name = args[:display_name] if args.key?(:display_name)
  @fcc_id = args[:fcc_id] if args.key?(:fcc_id)
  @grant_range_allowlists = args[:grant_range_allowlists] if args.key?(:grant_range_allowlists)
  @grants = args[:grants] if args.key?(:grants)
  @name = args[:name] if args.key?(:name)
  @preloaded_config = args[:preloaded_config] if args.key?(:preloaded_config)
  @serial_number = args[:serial_number] if args.key?(:serial_number)
  @state = args[:state] if args.key?(:state)
end