Class: Google::Apis::SpectrumV1explorer::PawsInitRequest

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 initialization request message allows the master device to initiate exchange of capabilities with the database.

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) ⇒ 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_descGoogle::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

#locationGoogle::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

#typeString

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

Returns:

  • (String)


998
999
1000
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 998

def type
  @type
end

#versionString

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

Returns:

  • (String)


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