Class: Google::Apis::SpectrumV1explorer::PawsVerifyDeviceResponse

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 response 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) ⇒ 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_changeGoogle::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_validitiesArray<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

#kindString

Identifies what kind of resource this is. Value: the fixed string "spectrum# pawsVerifyDeviceResponse". Corresponds to the JSON property kind

Returns:

  • (String)


1324
1325
1326
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1324

def kind
  @kind
end

#typeString

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

Returns:

  • (String)


1330
1331
1332
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1330

def type
  @type
end

#versionString

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

Returns:

  • (String)


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