Class: Google::Apis::SpectrumV1explorer::PawsVerifyDeviceRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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_descsArray<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

#typeString

The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...). Required field. Corresponds to the JSON property type

Returns:

  • (String)


1282
1283
1284
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1282

def type
  @type
end

#versionString

The PAWS version. Must be exactly 1.0. Required field. Corresponds to the JSON property version

Returns:

  • (String)


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