Class: Google::Apis::SpectrumV1explorer::PawsVerifyDeviceResponse
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::SpectrumV1explorer::PawsVerifyDeviceResponse
 
- 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 response message.
Instance Attribute Summary collapse
- 
  
    
      #database_change  ⇒ Google::Apis::SpectrumV1explorer::DbUpdateSpec 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    This message is provided by the database to notify devices of an upcoming change to the database URI. 
- 
  
    
      #device_validities  ⇒ Array<Google::Apis::SpectrumV1explorer::DeviceValidity> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A device validities list is required in the device validation response to report whether each slave device listed in a previous device validation request is valid. 
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Identifies what kind of resource this is. 
- 
  
    
      #type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...). 
- 
  
    
      #version  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The PAWS version. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ PawsVerifyDeviceResponse 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of PawsVerifyDeviceResponse. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ PawsVerifyDeviceResponse
Returns a new instance of PawsVerifyDeviceResponse
| 1338 1339 1340 | # File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1338 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#database_change ⇒ Google::Apis::SpectrumV1explorer::DbUpdateSpec
This message is provided by the database to notify devices of an upcoming
change to the database URI.
Corresponds to the JSON property databaseChange
| 1310 1311 1312 | # File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1310 def database_change @database_change end | 
#device_validities ⇒ Array<Google::Apis::SpectrumV1explorer::DeviceValidity>
A device validities list is required in the device validation response to
report whether each slave device listed in a previous device validation
request is valid. The number of entries must match the number of device
descriptors listed in the previous device validation request.
Corresponds to the JSON property deviceValidities
| 1318 1319 1320 | # File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1318 def device_validities @device_validities end | 
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "spectrum#
pawsVerifyDeviceResponse".
Corresponds to the JSON property kind
| 1324 1325 1326 | # File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1324 def kind @kind end | 
#type ⇒ String
The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...).
Required field.
Corresponds to the JSON property type
| 1330 1331 1332 | # File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1330 def type @type end | 
#version ⇒ String
The PAWS version. Must be exactly 1.0.
Required field.
Corresponds to the JSON property version
| 1336 1337 1338 | # File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1336 def version @version end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1343 1344 1345 1346 1347 1348 1349 | # File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1343 def update!(**args) @database_change = args[:database_change] if args.key?(:database_change) @device_validities = args[:device_validities] if args.key?(:device_validities) @kind = args[:kind] if args.key?(:kind) @type = args[:type] if args.key?(:type) @version = args[:version] if args.key?(:version) end |