Class: Google::Apis::SpectrumV1explorer::PawsInitRequest
- Inherits:
-
Object
- Object
- Google::Apis::SpectrumV1explorer::PawsInitRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/spectrum_v1explorer/classes.rb,
generated/google/apis/spectrum_v1explorer/representations.rb,
generated/google/apis/spectrum_v1explorer/representations.rb
Overview
The initialization request message allows the master device to initiate exchange of capabilities with the database.
Instance Attribute Summary collapse
-
#device_desc ⇒ Google::Apis::SpectrumV1explorer::DeviceDescriptor
The device descriptor contains parameters that identify the specific device, such as its manufacturer serial number, regulatory-specific identifier (e.g., FCC ID), and any other device characteristics required by regulatory domains.
-
#location ⇒ Google::Apis::SpectrumV1explorer::GeoLocation
This parameter is used to specify the geolocation of the device.
-
#type ⇒ String
The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...).
-
#version ⇒ String
The PAWS version.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PawsInitRequest
constructor
A new instance of PawsInitRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ PawsInitRequest
Returns a new instance of PawsInitRequest
1006 1007 1008 |
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1006 def initialize(**args) update!(**args) end |
Instance Attribute Details
#device_desc ⇒ Google::Apis::SpectrumV1explorer::DeviceDescriptor
The device descriptor contains parameters that identify the specific device,
such as its manufacturer serial number, regulatory-specific identifier (e.g.,
FCC ID), and any other device characteristics required by regulatory domains.
Corresponds to the JSON property deviceDesc
987 988 989 |
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 987 def device_desc @device_desc end |
#location ⇒ Google::Apis::SpectrumV1explorer::GeoLocation
This parameter is used to specify the geolocation of the device.
Corresponds to the JSON property location
992 993 994 |
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 992 def location @location end |
#type ⇒ String
The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...).
Required field.
Corresponds to the JSON property type
998 999 1000 |
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 998 def type @type end |
#version ⇒ String
The PAWS version. Must be exactly 1.0.
Required field.
Corresponds to the JSON property version
1004 1005 1006 |
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1004 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1011 1012 1013 1014 1015 1016 |
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1011 def update!(**args) @device_desc = args[:device_desc] if args.key?(:device_desc) @location = args[:location] if args.key?(:location) @type = args[:type] if args.key?(:type) @version = args[:version] if args.key?(:version) end |