Class: Google::Apis::SpectrumV1explorer::PawsVerifyDeviceRequest
- Inherits:
-
Object
- Object
- Google::Apis::SpectrumV1explorer::PawsVerifyDeviceRequest
- 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 device validation request message.
Instance Attribute Summary collapse
-
#device_descs ⇒ Array<Google::Apis::SpectrumV1explorer::DeviceDescriptor>
A list of device descriptors, which specifies the slave devices to be validated, is required.
-
#type ⇒ String
The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...).
-
#version ⇒ String
The PAWS version.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PawsVerifyDeviceRequest
constructor
A new instance of PawsVerifyDeviceRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ PawsVerifyDeviceRequest
Returns a new instance of PawsVerifyDeviceRequest
1290 1291 1292 |
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1290 def initialize(**args) update!(**args) end |
Instance Attribute Details
#device_descs ⇒ Array<Google::Apis::SpectrumV1explorer::DeviceDescriptor>
A list of device descriptors, which specifies the slave devices to be
validated, is required.
Corresponds to the JSON property deviceDescs
1276 1277 1278 |
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1276 def device_descs @device_descs end |
#type ⇒ String
The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...).
Required field.
Corresponds to the JSON property type
1282 1283 1284 |
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1282 def type @type end |
#version ⇒ String
The PAWS version. Must be exactly 1.0.
Required field.
Corresponds to the JSON property version
1288 1289 1290 |
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1288 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1295 1296 1297 1298 1299 |
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1295 def update!(**args) @device_descs = args[:device_descs] if args.key?(:device_descs) @type = args[:type] if args.key?(:type) @version = args[:version] if args.key?(:version) end |