Class: Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice
- Inherits:
-
Object
- Object
- Google::Apis::ProdTtSasportalV1alpha1::SasPortalDevice
- 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
Instance Attribute Summary collapse
-
#active_config ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeviceConfig
Information about the device configuration.
-
#current_channels ⇒ Array<Google::Apis::ProdTtSasportalV1alpha1::SasPortalChannelWithScore>
Output only.
-
#device_metadata ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeviceMetadata
Device data overridable by both SAS Portal and registration requests.
-
#display_name ⇒ String
Device display name.
-
#fcc_id ⇒ String
The FCC identifier of the device.
-
#grant_range_allowlists ⇒ Array<Google::Apis::ProdTtSasportalV1alpha1::SasPortalFrequencyRange>
Only ranges that are within the allowlists are available for new grants.
-
#grants ⇒ Array<Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeviceGrant>
Output only.
-
#name ⇒ String
Output only.
-
#preloaded_config ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeviceConfig
Information about the device configuration.
-
#serial_number ⇒ String
A serial number assigned to the device by the device manufacturer.
-
#state ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SasPortalDevice
constructor
A new instance of SasPortalDevice.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SasPortalDevice
Returns a new instance of SasPortalDevice.
280 281 282 |
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 280 def initialize(**args) update!(**args) end |
Instance Attribute Details
#active_config ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeviceConfig
Information about the device configuration.
Corresponds to the JSON property activeConfig
228 229 230 |
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 228 def active_config @active_config end |
#current_channels ⇒ Array<Google::Apis::ProdTtSasportalV1alpha1::SasPortalChannelWithScore>
Output only. Current channels with scores.
Corresponds to the JSON property currentChannels
233 234 235 |
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 233 def current_channels @current_channels end |
#device_metadata ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeviceMetadata
Device data overridable by both SAS Portal and registration requests.
Corresponds to the JSON property deviceMetadata
238 239 240 |
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 238 def @device_metadata end |
#display_name ⇒ String
Device display name.
Corresponds to the JSON property displayName
243 244 245 |
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 243 def display_name @display_name end |
#fcc_id ⇒ String
The FCC identifier of the device.
Corresponds to the JSON property fccId
248 249 250 |
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 248 def fcc_id @fcc_id end |
#grant_range_allowlists ⇒ Array<Google::Apis::ProdTtSasportalV1alpha1::SasPortalFrequencyRange>
Only ranges that are within the allowlists are available for new grants.
Corresponds to the JSON property grantRangeAllowlists
253 254 255 |
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 253 def grant_range_allowlists @grant_range_allowlists end |
#grants ⇒ Array<Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeviceGrant>
Output only. Grants held by the device.
Corresponds to the JSON property grants
258 259 260 |
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 258 def grants @grants end |
#name ⇒ String
Output only. The resource path name.
Corresponds to the JSON property name
263 264 265 |
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 263 def name @name end |
#preloaded_config ⇒ Google::Apis::ProdTtSasportalV1alpha1::SasPortalDeviceConfig
Information about the device configuration.
Corresponds to the JSON property preloadedConfig
268 269 270 |
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 268 def preloaded_config @preloaded_config end |
#serial_number ⇒ String
A serial number assigned to the device by the device manufacturer.
Corresponds to the JSON property serialNumber
273 274 275 |
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 273 def serial_number @serial_number end |
#state ⇒ String
Output only. Device state.
Corresponds to the JSON property state
278 279 280 |
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 278 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
285 286 287 288 289 290 291 292 293 294 295 296 297 |
# File 'lib/google/apis/prod_tt_sasportal_v1alpha1/classes.rb', line 285 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 |